Hello friends, Please, it's my first time using the PDF model for an employment contract. Could someone assist me in displaying a field based on a condition?
For example, I have an enumeration list containing: Expenses included and Expenses not included, and two fields named 'expenses' and 'no_expenses'. In my template, I want to display only the field that I have selected in the list. For instance, if I select Expenses, then print the 'expenses' field in the template.
I haven't quite understood the documentation, and there doesn't seem to be an example. Thank you.
For example, I have an enumeration list containing: Expenses included and Expenses not included, and two fields named 'expenses' and 'no_expenses'. In my template, I want to display only the field that I have selected in the list. For instance, if I select Expenses, then print the 'expenses' field in the template.
I haven't quite understood the documentation, and there doesn't seem to be an example. Thank you.
Comment