{% extends "merchant_base.html" %} {% load static %} {% load crispy_forms_tags %} {% block title %}
Materials | Production | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Lot | Name | Approvals | Production | Transit | Inventory | Action | ||||||||||||
Style : {{report.style}} {{report.po}} | ||||||||||||||||||
Shipment Date | {{report.lot.shipment_date}} | Input/Production Date | {% if report.lot.db_production_status %} {{report.lot.db_production_status}} {% endif %} {{report.lot.production_date}} | {% if report.lot.is_lot_status_exist %} Update {% else %} update {% endif %} | {% comment %}PO: {{report.po}} | {% endcomment %} {% comment %}PO: {{report.po}} | {% endcomment %}||||||||||||
{{report.lot.lot_number}} {{report.shipment_date}} |
{% for item in report.lot.material %}
{{item.item}} | {% if item.approval_warning_type == "warning" %}
{% if item.db_mat_approval_status %}
{{item.db_mat_approval_status}} {% endif %} {{item.mat_approval_date}} |
{% endif %}
{% if item.approval_warning_type == "normal" %}
{% if item.db_mat_approval_status %}
{{item.db_mat_approval_status}} {% endif %} {{item.mat_approval_date}} |
{% endif %}
{% if item.approval_warning_type == "deadline" %}
{% if item.db_mat_approval_status %}
{{item.db_mat_approval_status}} {% endif %} {{item.mat_approval_date}} |
{% endif %}
{% if item.approval_warning_type == "expired" %}
{% if item.db_mat_approval_status %}
{{item.db_mat_approval_status}} {% endif %} {{item.mat_approval_date}} |
{% endif %}
{% if item.mat_warning_type == "warning" %}
{% if item.db_mat_status %}
{{item.db_mat_status}} {% endif %} {{item.mat_production_date}} |
{% endif %}
{% if item.mat_warning_type == "normal" %}
{% if item.db_mat_status %}
{{item.db_mat_status}} {% endif %} {{item.mat_production_date}} |
{% endif %}
{% if item.mat_warning_type == "deadline" %}
{% if item.db_mat_status %}
{{item.db_mat_status}} {% endif %} {{item.mat_production_date}} |
{% endif %}
{% if item.mat_warning_type == "expired" %}
{% if item.db_mat_status %}
{{item.db_mat_status}} {% endif %} {{item.mat_production_date}} |
{% endif %}
{% if item.transit_warning_type == "normal" %}
{% if item.db_transit_status %}
{{item.db_transit_status}} {% endif %} {{item.transit_date}} |
{% endif %}
{% if item.transit_warning_type == "deadline" %}
{% if item.db_transit_status %}
{{item.db_transit_status}} {% endif %} {{item.transit_date}} |
{% endif %}
{% if item.transit_warning_type == "warning" %}
{% if item.db_transit_status %}
{{item.db_transit_status}} {% endif %} {{item.transit_date}} |
{% endif %}
{% if item.transit_warning_type == "expired" %}
{% if item.db_transit_status %}
{{item.db_transit_status}} {% endif %} {{item.transit_date}} |
{% endif %}
{% if item.inventory_warning_type == "expired" %}
{% if item.db_inventory_status %}
{{item.db_inventory_status}} {% endif %} {{item.inventory_date}} |
{% endif %}
{% if item.inventory_warning_type == "normal" %}
{% if item.db_inventory_status %}
{{item.db_inventory_status}} {% endif %} {{item.inventory_date}} |
{% endif %}
{% if item.inventory_warning_type == "warning" %}
{% if item.db_inventory_status %}
{{item.db_inventory_status}} {% endif %} {{item.inventory_date}} |
{% endif %}
{% if item.inventory_warning_type == "deadline" %}
{% if item.db_inventory_status %}
{{item.db_inventory_status}} {% endif %} {{item.inventory_date}} |
{% endif %}