You can use the following variables to show the current date and time at the moment an order or worksheet is created in the Order and Worksheet Templates.
- "now" | date: "%d/%b/%Y %H:%M": shows the current date and time of the DecoNetwork server.
- tz_now | date: "%d/%b/%Y %H:%M": shows the local date and time for you (the licensee).
Here is an example of how you can modify the default Order Template to show the current server or local date instead of the order date. Replace the default code in red below with the desired variable above.
Default Code
{% else %}
<li><label>Date</label><span>{{ order.date_ordered | date: "%d/%b/%Y" }}</span></li>
{% if order.date_due %}
<li><label>Date Ship By</label><span>{{ order.date_due | date: "%d/%b/%Y" }}</span></li>
{% endif %}
{% 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.