You can use the following variables to include the production team member names in the Order Template.
- order.has_production_team_members?
- order.production_team_members
Here is an example of how you can modify the default Worksheet Template to include the names for all production team members assigned to the order:
Default Code
<div class="details">
<h1>
{% if from.account.company %}{{ from.account.company }}{% endif %}
{% if from.fc_settings.company_identification_number %}<br />{{ from.fc_settings.company_identification_number }}{% endif %}
{% if from.fc_settings.has_address? %}
<span>
{{ from.fc_settings.address }} {{ from.fc_settings.city }}, {{ from.fc_settings.state }} {{ from.fc_settings.zip }}<br />
{{ from.fc_settings.country_name }}
</span>
{% endif %}
<a href="http://{{ site.primary_domain }}">http://{{ site.primary_domain }}</a>
</h1>
</div>
Custom Code
Add the code in red to the default code shown above as follows:
<div class="details">
<h1>
{% if from.account.company %}{{ from.account.company }}{% endif %}
{% if from.fc_settings.company_identification_number %}<br />{{ from.fc_settings.company_identification_number }}{% endif %}
{% if from.fc_settings.has_address? %}
<span>
{{ from.fc_settings.address }} {{ from.fc_settings.city }}, {{ from.fc_settings.state }} {{ from.fc_settings.zip }}<br />
{{ from.fc_settings.country_name }}
</span>
{% endif %}
<a href="http://{{ site.primary_domain }}">http://{{ site.primary_domain }}</a><br />
{% if order.has_production_team_members? %}
<label>Assigned To:</label><span>{{ order.production_team_members }}</span>
{% else %}
<span>No Production Team Members assigned to this Order</span>
{% endif %}
</h1>
</div>
Comments
0 comments
Please sign in to leave a comment.