{% import '_macros.html' as m %} {{ m.header(d) }} {{ m.title_block(d) }} {{ m.meta_grid([ {'label':'Issued','value':d.date}, {'label':'Scheduled','value':d.scheduled}, {'label':'Technician','value':d.technician}, {'label':'Priority','value':d.priority}, ]) }}
{% if d.customer %}{{ m.party('Customer', d.customer) }}{% endif %} {% if d.site %}{{ m.party('Service Location', d.site) }}{% endif %}
{% if d.status %}

{{ d.status }}

{% endif %} {% if d.work_items %}

Work to be Performed

    {% for it in d.work_items %}
  1. {{ it }}
  2. {% endfor %}
{% endif %} {% for s in d.sections %}{{ m.section(s) }}{% endfor %} {% if d.parts %}

Parts & Materials

{% for p in d.parts %}{% endfor %}
QtyItemNotes
{{ p.qty }}{{ p.item }}{{ p.notes or '' }}
{% endif %} {{ m.note(d.note) }} {{ m.signatures(d.signatures or [ {'role':'Technician','who':d.technician or ''}, {'role':'Customer Acceptance','who':(d.customer.name if d.customer else '')}, ]) }}