{% extends "base.html" %} {% load days_since %} {% block title %}{{ job }} | {{ block.super }}{% endblock %} {% block content %}
{% with button_class="btn btn-sm btn-primary me-1 mt-1 mb-auto" %} {% if user.is_staff %} Edit {% endif %} Tickets Schedule Production {% endwith %}
{% with card_class="card col-md my-1 bg-secondary-subtle" %}
{% if job.addresses.count > 0 %}
{% for address in job.addresses.all %}

{{ address.name }}
{{ address.street_address }}
{{ address.city }}, {{ address.state }}  {{ address.zip_code }}

{% endfor %}
{% endif %}
Contractor{{ contractors|pluralize }}
{% for contractor in contractors %} {{ contractor }}
{% endfor %}
Architect{{ architects|pluralize }}
{% for architect in architects %} {{ architect }}
{% endfor %}
Engineer{{ eors|pluralize }}
{% for eor in eors %} {{ eor }}
{% endfor %}
Customer{{ customers|pluralize }}
{% for customer in customers %} {{ customer }}
{% endfor %}
Contact{{ job.contacts.all|pluralize }}
{% for contact in job.contacts.all %}
{{ contact.name }}
{% endfor %}
Award Date
{{ job.award_date }}
({{ job.award_date|days_since }})
{% for date in job.dates %}
{% include 'jobs/_tooltip.html' with content=date.description title=date.note %}
{{ date.date }}
({{ date.date|days_since }})
{% endfor %}
Project Manager
{% if job.project_manager %} {{ job.project_manager }} {% endif %}
Submittal Detailer{{ job.sub_detailers.count|pluralize }}
{% for detailer in job.sub_detailers %}
{{ detailer }}
{% endfor %}
Fab Detailer{{ job.fab_detailers.count|pluralize }}
{% for detailer in job.fab_detailers %}
{{ detailer }}
{% endfor %}
In-house Engineer{{ job.engineers.all|pluralize }}
{% for egr in job.engineers.all %}
{{ egr }}
{% endfor %}
Installer{{ job.installers.all|pluralize }}
{% for installer in job.installers.all %}
{{ installer }}
{% endfor %}
{% if job.modeling or job.jobnote_set.all or job.construction_set.all %}
    {% if job.construction_set.all %}
  • Construction Types
      {% for construction in job.construction_set.all %}
    • {% include 'jobs/_tooltip.html' with content=construction title=construction.scope %}
    • {% endfor %}
  • {% endif %} {% for note in job.jobnote_set.all %}
  • {{ note|urlize }}
  • {% endfor %} {% if job.modeling %}
  • 3D modeling included {% if job.model_upload %} (Upload) {% endif %}
  • {% endif %}
{% endif %}
{% endwith %}

Scope Matrix

{% if user.is_staff %} {% include 'jobs/_hideshowbtn.html' with target='scopematrix' %} {% else %} {% include 'jobs/_hideshowbtn.html' with target='scopematrix' %} {% endif %}
{% for sub in job.submittal_set.all %}
{% endfor %}

Submittal Calendar

{% if user.is_staff %} {% include 'jobs/_hideshowbtn.html' with target='sub_calendar' %} | Add submittal task {% else %} {% include 'jobs/_hideshowbtn.html' with target='sub_calendar' %} {% endif %}
{% include 'jobs/task_list.html' with init_task_list=job.sub_tasks in_job_detail=True %}

Fab Calendar {% include 'jobs/_hideshowbtn.html' with target='fabcalendar' %}

{% if user.is_staff %}{% endif %} {% for sub in job.submittal_set.all %} {% for s in sub.stair_set.all %} {% if user.is_staff %} {% endif %} {% endfor %} {% endfor %}
Stair Stair fabs Landing fabs Rail fabs Embeds
to shop
Stairs
to shop
Landings
to shop
Rails
to shop
{{ sub.label }} {% if user.is_staff %} | Add fab task {% endif %}
Edit {{ s.name }} {% if s.stairs_na %} N/A {% else %} {{ s.stair_fabs|default_if_none:''|date:'SHORT_DATE_FORMAT' }} {% endif %} {% if s.landings_na %} N/A {% else %} {{ s.land_fabs|default_if_none:''|date:'SHORT_DATE_FORMAT' }} {% endif %} {% if s.rails_na %} N/A {% else %} {{ s.rail_fabs|default_if_none:''|date:'SHORT_DATE_FORMAT' }} {% endif %} {% if s.embeds_na %} N/A {% else %} {{ s.embeds_shop|default_if_none:''|date:'SHORT_DATE_FORMAT' }} {% endif %} {% if s.stairs_na %} N/A {% else %} {{ s.stairs_shop|default_if_none:''|date:'SHORT_DATE_FORMAT' }} {% endif %} {% if s.landings_na %} N/A {% else %} {{ s.lands_shop|default_if_none:''|date:'SHORT_DATE_FORMAT' }} {% endif %} {% if s.rails_na %} N/A {% else %} {{ s.rails_shop|default_if_none:''|date:'SHORT_DATE_FORMAT' }} {% endif %}
{% include 'jobs/task_list.html' with init_task_list=job.fab_tasks in_job_detail=True %}

Correspondence {% include 'jobs/_hideshowbtn.html' with target='correspondence' %}

{% for item in job.get_correspondence %} {% endfor %}
Date Delta Type Description
{{ item.date_str }} {{ item.date|days_since }} {{ item.type }} {{ item.desc }}
{% endblock %} {% block joblist %}

{{ job }}

{% endblock %}