You can use the job.comments variables to show the job description in the artwork approval form.
Here is an example of how you can modify the default Artwork Approval Template to show the job description for each job.
Default Code
{% if artwork.has_jobs? %}
<div class="artwork_jobs" style="display:block;page-break-inside:avoid;{% unless artwork.is_general_job? %}page-break-before: always;{% endunless %}">
<h2>Artwork Jobs</h2>
{% for job in artwork.jobs %}
<div class="in_artwork" style="display:block;page-break-inside:avoid;">
<div class="artwork_image" style="text-align: center;">
<h3>Job #{{ job.number }}: {{ job.name }} </h3>
<div class="image">
<img style="{% if job.wide? %}width{% else %}height{% endif %}:580px" src="{{ job.big_image_url }}" alt="[]" />
</div>
</div>
<div class="artwork_detail">
<h3>Details</h3>
<ul>
<li><label>Process</label><span>{{ job.process_name }}</span></li>
<li><label>Dimensions</label><span>{{ job.product_dimensions }}</span></li>
{% if job.show_digitization? %}
<li><label>Est. Stitch Count</label><span>{{ job.get_digitization_stitch_count }}</span></li>
<li>
<label>Thread Colors</label>
{{ job.get_digitization_thread_chart_colors }}
</li>
{% endif %}
</ul>
</div>
</div>
{% endfor %}
</div>
{% endif %}
Custom Code
Add the code in red to the default code shown above as follows:
{% if artwork.has_jobs? %}
<div class="artwork_jobs" style="display:block;page-break-inside:avoid;{% unless artwork.is_general_job? %}page-break-before: always;{% endunless %}">
<h2>Artwork Jobs</h2>
{% for job in artwork.jobs %}
<div class="in_artwork" style="display:block;page-break-inside:avoid;">
<div class="artwork_image" style="text-align: center;">
<h3>Job #{{ job.number }}: {{ job.name }} </h3>
<div class="image">
<img style="{% if job.wide? %}width{% else %}height{% endif %}:580px" src="{{ job.big_image_url }}" alt="[]" />
</div>
</div>
<div class="artwork_detail">
<h3>Details</h3>
<ul>
<li><label>Process</label><span>{{ job.process_name }}</span></li>
<li><label>Dimensions</label><span>{{ job.product_dimensions }}</span></li>
{% if job.show_digitization? %}
<li><label>Est. Stitch Count</label><span>{{ job.get_digitization_stitch_count }}</span></li>
<li>
<label>Thread Colors</label>
{{ job.get_digitization_thread_chart_colors }}
</li>
{% endif %}
<li><label>Description</label><span>{{ job.comments }}</span></li>
</ul>
</div>
</div>
{% endfor %}
</div>
{% endif %}
Result
Still have questions? Use the Search Tool at the top of the page to find more related guides. Need help? Click the icon to submit a support ticket – our Client Services team is ready to assist!
Comments
0 comments
Please sign in to leave a comment.