How to add days to any date template in Kolleno?
In the templates, there is a smart field to add any number of days/months to any date.
Example:
To add 2 days to the date when the invoice is due:
{{ invoices.0.date_due}} + | + add_days:'2' = {{ invoices.0.date_due|add_days:'2' }}
To add 2 months to a date when the invoice is
{{ invoices.0.month_due}} + | + add_days:'2' = {{ invoices.0.month_due|add_months:'2' }}
See example below:
Invoice Date Due: {{ invoices.0.date_due }} = Dec. 19, 2022
2 Days after invoice date due: {{ invoices.0.date_due|add_days:'2' }} = Dec. 21, 2022
Template:
Preview: