{% import '_macros.html' as m %} {{ m.header(d) }} {{ m.title_block(d) }} {{ m.meta_grid([ {'label':'Date','value':d.date}, {'label':'Prepared By','value':d.prepared_by}, {'label':'Valid Until','value':d.valid_until}, {'label':'Version','value':d.version}, ]) }}
{% if d.customer %}{{ m.party('Client', d.customer) }}{% endif %} {{ m.party('Provider', d.provider) }}
{% if d.overview %}
Project Overview
{% for para in (d.overview if d.overview is iterable and d.overview is not string else [d.overview]) %}
{{ para }}
{% endfor %}
{% endif %} {% if d.scope_items %}
Scope of Work
{% for it in d.scope_items %}
{{ it }}
{% endfor %}
{% endif %} {% if d.deliverables %}
Deliverables
{% for it in d.deliverables %}
{{ it }}
{% endfor %}
{% endif %} {% if d.timeline %}
Timeline
Phase / Milestone
Target
{% for t in d.timeline %}
{{ t.phase }}
{{ t.target }}
{% endfor %}
{% endif %} {% for s in d.sections %}{{ m.section(s) }}{% endfor %} {% if d.pricing %}
Pricing
Item
Qty
Unit
Amount
{% for p in d.pricing %}
{{ p.item }}
{{ p.qty }}
{{ p.unit }}
{{ p.amount }}
{% endfor %}
{% if d.subtotal %}
Subtotal
{{ d.subtotal }}
{% endif %} {% if d.tax %}
Tax
{{ d.tax }}
{% endif %} {% if d.total %}
Total
{{ d.total }}
{% endif %}
{% endif %} {% if d.assumptions %}
Assumptions & Exclusions
{% for it in d.assumptions %}
{{ it }}
{% endfor %}
{% endif %} {% if d.terms %}
Terms
{% for para in (d.terms if d.terms is iterable and d.terms is not string else [d.terms]) %}
{{ para }}
{% endfor %}
{% endif %} {{ m.signatures(d.signatures or [ {'role':'Accepted for Client','who':(d.customer.name if d.customer else '')}, {'role':'For ALABAMA wISP','who':d.prepared_by or 'Jason Stedwell, Owner'}, ]) }}