I have a few questions about designing the output documents.
I have just tried to “design” my own invoice pdfs but I am a bit struggling with the syntax which seems to be slightly different from the syntax I see on the pdfmake.org website. Playing around in their “playground” works fine but adjusting my custom layout in InvoiceNinja leads to errors all the time…
Is there a more InvoiceNinja-related tutorial anywhere?
Another question is how to get the “items table” redesigned. It seems to me that it is a single variable that outputs the whole table. I would like to have an “article name” and “article description” in one single column where the name is bold, like that (hopefully this displays like I want):
Article/Description Quantity Single price price My work in words 3 hrs 75 bugs 225 bugs
Detailed description of what I have done,
can contain more than one line.
(this should be a table…)
I would like to have a “Master”-Logo on the first page and a version of the logo on the following pages. Is it possible to place different items depending on page numbers? Where do I have to put a second image file (the main logo comes from the InvoiceNinja settings).
And last but not least: Is there a reference of available variables i can use in the layouts?
It could be an issue with quotes, all field names and properties need to be surrounded in double quotes in the app. I think single/no quotes works in the playground.
Ah, I now it works. It there were some “[{()}]” missing… Sorry!
But there is still another question: Can I add varibles to the default text entries for conditions? I would like to write “Please pay 123.45 € until 11. Nov 2017.”