mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 05:34:30 -04:00
report fixes
background
This commit is contained in:
parent
da30d94bce
commit
d4b9ad8f72
@ -959,13 +959,13 @@ y2=GlobalY;
|
|||||||
tableTop=GlobalY;//redefine this to dynamic value
|
tableTop=GlobalY;//redefine this to dynamic value
|
||||||
|
|
||||||
doc.setFontSize(10);
|
doc.setFontSize(10);
|
||||||
|
doc.setFontType("bold");
|
||||||
doc.text(tableLeft, tableTop, 'Item');
|
doc.text(tableLeft, tableTop, 'Item');
|
||||||
doc.text(descriptionLeft, tableTop, 'Description');
|
doc.text(descriptionLeft, tableTop, 'Description');
|
||||||
doc.text(costX, tableTop, 'Unit Cost');
|
doc.text(costX, tableTop, 'Unit Cost');
|
||||||
doc.text(qtyX, tableTop, 'Quantity');
|
doc.text(qtyX, tableTop, 'Quantity');
|
||||||
doc.text(totalX, tableTop, 'Line Total');
|
doc.text(totalX, tableTop, 'Line Total');
|
||||||
|
doc.setFontType("normal");
|
||||||
if (hasTaxes)
|
if (hasTaxes)
|
||||||
{
|
{
|
||||||
doc.text(taxX, tableTop, 'Tax');
|
doc.text(taxX, tableTop, 'Tax');
|
||||||
@ -1048,8 +1048,8 @@ y2=GlobalY;
|
|||||||
|
|
||||||
if ((i%2)===0){
|
if ((i%2)===0){
|
||||||
doc.setLineWidth(0.5);
|
doc.setLineWidth(0.5);
|
||||||
doc.setDrawColor(230,230,230);
|
doc.setDrawColor(251,251,251);
|
||||||
doc.setFillColor(230,230,230);
|
doc.setFillColor(251,251,251);
|
||||||
|
|
||||||
var x1 = tableLeft-tablePadding ;
|
var x1 = tableLeft-tablePadding ;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user