The templates for PDF print and e-mail forms are stored in the form editor under the menu item System - Documents
General
The placeholders, visible in the database view, are output using the Smarty syntax. Comprehensive documentation on Smarty can be found here:
https://www.smarty.net/docs/en/
Variables (placeholders)
All variables are listed in the database view with a content preview and can be used as required in the template.
Travelmanager Smarty functions
Overview of individual functions in Travelmanager
DblToC : Output numeric value for currency, e.g.: {2.03|DblToC} outputs 2.03
CToDbl : Convert formatted value to number, e.g.: {"2.03"|DblToC} returns 2.03
TimeDisplay : Converts a number into a readable time, e.g.: {930|TimeDisplay} returns 09:30
cutTextTimetableOutput : Cuts the test at a certain length, {"ABCDEF"|cutTextTimetableOutput:2} returns AB..
Encrypted QR code with the transaction number as code: {$reservation_id|generateQRCode:$transaction_no}
Printing tickets / receipts
To print a ticket and a receipt simultaneously with 2 different printers for a ticket sale, proceed as follows:
Template for ticket and receipt created
Under System parameters - Printer, set the templates accordingly
Under System parameters - Point of sale, set the printers for the respective point of sale