1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

report 3-3

This commit is contained in:
alltheworld 2014-03-02 03:38:44 +02:00
parent 3aef6a2490
commit f545a92b8a

View File

@ -1720,7 +1720,7 @@ function GetReportTemplate2 (invoice,checkMath)
doc.text(TmpMsgX, x, Msg);
SetPdfColor('LightBlue',doc);
//SetPdfColor('LightBlue',doc);
AmountText = formatMoney(balance , currencyId);
headerLeft=headerRight+400;
var AmountX = headerLeft - (doc.getStringUnitWidth(AmountText) * doc.internal.getFontSize());
@ -1866,12 +1866,12 @@ function Report3AddFooter (invoice,doc)
if (invoice.imageLogo3)
{
pageHeight=820;
var left = 250;//headerRight ;
// var left = 25;//250;//headerRight ;
y=pageHeight-invoice.imageLogoHeight3;
var headerRight=370;
//var headerRight=370;
var left = headerRight - invoice.imageLogoWidth3;
doc.addImage(invoice.imageLogo3, 'JPEG', left, y, invoice.imageLogoWidth3, invoice.imageLogoHeight3);
//var left = headerRight - invoice.imageLogoWidth3;
doc.addImage(invoice.imageLogo3, 'JPEG', 40, y, invoice.imageLogoWidth3, invoice.imageLogoHeight3);
}