You can use the order.job_name variable to include the title of an order in the Order Template, Worksheet Template and Worksheet for DecoLinked Outsourcers Template.
You specify the order/quote title using the Title field at the top of the order/quote form when you create or edit an order/order.
Here is an example of how you can modify the default Order Template to include the order title:
Default Code
{% if is_quote %}
<li><h2><label>Quote #</label><span>{{order.quote_number}}</span></h2></li>
{% elsif order.is_invoiced? %}
<li><h2><label>INVOICE #</label><span>{{order.order_number}}</span></h2></li>
{% else %}
<li><h2><label>Order #</label><span>{{order.order_number}}</span></h2></li>
{% endif %}
Custom Code
Add the code in red after the default code shown above as follows:
{% if is_quote %}
<li><h2><label>Quote #</label><span>{{order.quote_number}}</span></h2></li>
{% elsif order.is_invoiced? %}
<li><h2><label>INVOICE #</label><span>{{order.order_number}}</span></h2></li>
{% else %}
<li><h2><label>Order #</label><span>{{order.order_number}}</span></h2></li>
{% endif %}
<li><label>Order Title</label><span>{{order.job_name}}</span></li>
Comments
0 comments
Please sign in to leave a comment.