Probesys / lotemplate

LOTemplate is document generator used to create documents programatically (ODT, DOCX, PDF) from a template (DOCX or ODT) and a json file.
GNU Affero General Public License v3.0
23 stars 1 forks source link

add if statement #5

Closed philippe-levan closed 1 year ago

philippe-levan commented 1 year ago

This PR add an if/endif syntax to templates. It allows to display or not a part of the document according to the value of a text var.

It is related to the issue https://github.com/Probesys/lotemplate/issues/4

Changes

Checklist

philippe-levan commented 1 year ago

ok, I'll create another PR to your if-statement branch with the fix (detect errors during scan)