mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
report fixes
lines
This commit is contained in:
parent
9af257a278
commit
50e8f45dff
@ -1061,6 +1061,15 @@ y2=GlobalY;
|
||||
|
||||
|
||||
doc.rect(x1, y1, w2, h2, 'FD');
|
||||
|
||||
doc.setDrawColor(220,220,220);
|
||||
doc.line(x1, y1, x1+w2, y1); // horizontal line
|
||||
|
||||
doc.line(x1, y1+h2, x1+w2, y1+h2); // horizontal line
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
x=GlobalY;
|
||||
|
||||
@ -1160,7 +1169,6 @@ y2=GlobalY;
|
||||
x += doc.internal.getFontSize()*2;
|
||||
|
||||
|
||||
//alert(invoice.discount!='');
|
||||
|
||||
if (invoice.discount>0 )
|
||||
{
|
||||
@ -1170,7 +1178,7 @@ y2=GlobalY;
|
||||
|
||||
|
||||
discount=invoice.discount/100;
|
||||
//alert (discount);
|
||||
|
||||
d=total*discount;
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user