You can use the date_payment_due variable to include the payment due date in the Order Template.
Here is an example of how you can modify the default Order Template to show the payment due date:
Default Code
{% if is_quote %}
<li><label>Date</label><span>{{ order.date_quoted | date: "%d/%b/%Y"}}</span></li>
<li><label>Valid Until</label><span>{{ order.date_quote_valid_until | date: "%d/%b/%Y"}}</span></li>
{% else %}
<li><label>Date</label><span>{{ order.date_ordered | date: "%d/%b/%Y"}}</span></li>
% if order.order_invoice_dates_differ? %}
<li><label>Invoiced</label><span>{{ order.date_invoiced | date: "%d/%b/%Y"}}</span></li>
{% endif %}
Custom Code
Add the code in red to the default code shown above as follows:
{% if is_quote %}
<li><label>Date</label><span>{{ order.date_quoted | date: "%d/%b/%Y"}}</span></li>
<li><label>Valid Until</label><span>{{ order.date_quote_valid_until | date: "%d/%b/%Y"}}</span></li>
{% else %}
<li><label>Date</label><span>{{ order.date_ordered | date: "%d/%b/%Y"}}</span></li>
<li><label>Payment Due</label><span>{{ order.date_payment_due | date: "%d/%b/%Y"}}</span></li>
% if order.order_invoice_dates_differ? %}
<li><label>Invoiced</label><span>{{ order.date_invoiced | date: "%d/%b/%Y"}}</span></li>
{% endif %}
Result
Still have questions? In your DecoNetwork Admin, use the Universal Search box in the top bar to find more related help guides. Need more help? Click the icon next to the search box to open the help menu and submit a support ticket. Our Client Services team is ready to assist!
Comments
0 comments
Please sign in to leave a comment.