mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixed problem with line wrapping
This commit is contained in:
parent
09838a1b19
commit
b040b5e242
@ -31565,7 +31565,7 @@ function GetPdf(invoice, javascript){
|
||||
footerLeft: 420,
|
||||
tablePadding: 12,
|
||||
tableTop: 250,
|
||||
descriptionLeft: 162,
|
||||
descriptionLeft: 150,
|
||||
unitCostRight: 410,
|
||||
qtyRight: 480,
|
||||
taxRight: 480,
|
||||
@ -32752,7 +32752,7 @@ function displayInvoiceItems(doc, invoice, layout) {
|
||||
SetPdfColor('Black', doc);
|
||||
doc.setFontType('normal');
|
||||
|
||||
var splitDescription = doc.splitTextToSize(notes, 180);
|
||||
var splitDescription = doc.splitTextToSize(notes, 190);
|
||||
doc.text(layout.descriptionLeft, y+2, splitDescription);
|
||||
doc.text(costX, y+2, cost);
|
||||
if (!hideQuantity) {
|
||||
|
@ -42,7 +42,7 @@ function GetPdf(invoice, javascript){
|
||||
footerLeft: 420,
|
||||
tablePadding: 12,
|
||||
tableTop: 250,
|
||||
descriptionLeft: 162,
|
||||
descriptionLeft: 150,
|
||||
unitCostRight: 410,
|
||||
qtyRight: 480,
|
||||
taxRight: 480,
|
||||
@ -1229,7 +1229,7 @@ function displayInvoiceItems(doc, invoice, layout) {
|
||||
SetPdfColor('Black', doc);
|
||||
doc.setFontType('normal');
|
||||
|
||||
var splitDescription = doc.splitTextToSize(notes, 180);
|
||||
var splitDescription = doc.splitTextToSize(notes, 190);
|
||||
doc.text(layout.descriptionLeft, y+2, splitDescription);
|
||||
doc.text(costX, y+2, cost);
|
||||
if (!hideQuantity) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user