mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
report 3-3
This commit is contained in:
parent
3aef6a2490
commit
f545a92b8a
@ -1720,7 +1720,7 @@ function GetReportTemplate2 (invoice,checkMath)
|
|||||||
doc.text(TmpMsgX, x, Msg);
|
doc.text(TmpMsgX, x, Msg);
|
||||||
|
|
||||||
|
|
||||||
SetPdfColor('LightBlue',doc);
|
//SetPdfColor('LightBlue',doc);
|
||||||
AmountText = formatMoney(balance , currencyId);
|
AmountText = formatMoney(balance , currencyId);
|
||||||
headerLeft=headerRight+400;
|
headerLeft=headerRight+400;
|
||||||
var AmountX = headerLeft - (doc.getStringUnitWidth(AmountText) * doc.internal.getFontSize());
|
var AmountX = headerLeft - (doc.getStringUnitWidth(AmountText) * doc.internal.getFontSize());
|
||||||
@ -1866,12 +1866,12 @@ function Report3AddFooter (invoice,doc)
|
|||||||
if (invoice.imageLogo3)
|
if (invoice.imageLogo3)
|
||||||
{
|
{
|
||||||
pageHeight=820;
|
pageHeight=820;
|
||||||
var left = 250;//headerRight ;
|
// var left = 25;//250;//headerRight ;
|
||||||
y=pageHeight-invoice.imageLogoHeight3;
|
y=pageHeight-invoice.imageLogoHeight3;
|
||||||
var headerRight=370;
|
//var headerRight=370;
|
||||||
|
|
||||||
var left = headerRight - invoice.imageLogoWidth3;
|
//var left = headerRight - invoice.imageLogoWidth3;
|
||||||
doc.addImage(invoice.imageLogo3, 'JPEG', left, y, invoice.imageLogoWidth3, invoice.imageLogoHeight3);
|
doc.addImage(invoice.imageLogo3, 'JPEG', 40, y, invoice.imageLogoWidth3, invoice.imageLogoHeight3);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user