In various places in farmerswife where you find the PRINT button you can also access different HTML templates, which are stored within the farmerswife server > html_templates > exports. With this how to you’ll be able to print on an HTML template directly from a Class Booking and Class Booking Note (Booking Note) window when a default print template is set. The HTML template requires print window invoking.
- Modify the desired HTML Template by adding the print call to the unload <body> tag event:
- Select the modified template in the Toolbox > Settings window > Bookings Defaults > “Print HTML Template” setting.
- Once the template has been defined, a Print icon will appear on the Class Booking and Class Booking Note
- When clicking in the Print icon, the Class Booking will be saved and the HTML Report Template will be invoked.
At the end of the process farmerswife will present the Class Booking window again. The values have been stored in database. (equivalent to pressing ‘Apply’ or OK (save & close)).