How can you change the $entityTypeUC to be titlecase? Currently it comes out as uppercase? Not a big issue, but ideal if I can.
I tend to use the word ‘Estimate’ rather than ‘Quote’, is there any way I can add/changes this? I’m already using the two custom invoice fields (for Invoice Title, and Ordered By additional fields).
Its a same there’s a limited subset of styling via PDFMake as I took some time to look for ‘Titlecase’ setting, but there doesn’t appear to be one.
On my invoice design there’s a different footer on the first page (the second/third pages are the terms, with only the page number and invoice ref in the footer).
I was just fiddling with the first page of my custom design, adding a text item with a top margin to push it to the bottom, and I now realise that the position of that ‘fotter’ item will change depending on the variable height of the items table above.
Is there any way to position an item from the bottom, as I presume you have done with the $invoiceFooter text?
I guess an invoice setting “Footer only on First Page” would be one way to solve it in the longer term - just in case you’re working on the next version.
I have found this setting:
“absolutePosition”: {“x”: 16, “y”: 18},
Where the numbers are coords of the document in inches. Just playing with this…
That may have worked.
To anyone else reading this, the absolute position appears to be in mm (not inches) from the top left. You may need yo adjust the global margin settings for the document to get the item to go to the very bottom of the page.
‘Estimate’ has replaced ‘Quote’ in the email title and template sucessfully using the suggested approach. However, the attached PDF is named “Quote_ABC123” (ABC123 = quote number). Is there any way of specifying the file name convention so I could replace ‘Quote’ with ‘Estimate’?
This worked (see below), in terms of renaming the sent PDF. The download PDF option within the CMS still says ‘Quote’ in the filename. I suspect this is a separate function however, as I can see the ‘_’ is has changed to '-'in that filename.