New Member
Posts: 2
Registered: ‎10-20-2015

Variable scope

Can I reference variables that I see in the Statement template, accountStatement.initialBalance for example, in the Invoice template?

Highlighted
Ubiquiti Employee
Posts: 3,923
Registered: ‎12-10-2015
Kudos: 1380
Solutions: 299

Re: Variable scope

No, you can use only the variables which are mentioned and associated with the given template. However, you can apply many filters, modifications or calculations on top of the available variables, for example, check out this guide https://ucrm-demo.ubnt.com/help/invoice-templates or this post https://community.ubnt.com/t5/UCRM/Overdue-information-on-invoice-template/m-p/2609689#M12998