Fixed problem with line wrapping
This commit is contained in:
parent
09838a1b19
commit
b040b5e242
2 changed files with 4 additions and 4 deletions
|
|
@ -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…
Add table
Reference in a new issue