{% extends "merchant_base.html" %} {% load static %} {% load crispy_forms_tags %} {% block title %} DXL Costing Report {% endblock title %} {% block Style %} {% endblock Style %} {% block MainContent %} {% if messages %} {% for message in messages %} {% endfor %} {% endif %}

DXL Costing Report

{% csrf_token %}
{{form.style|as_crispy_field}}
{% if style_obj and style_obj.sketch %} {% endif %}
{% if style_obj %}
Cost Sheet
Date Created {{style_obj.created_date|default:"N/A"}} Date Revised {{style_obj.revised_date|default:""}}
Season: {{style_obj.season|default:"N/A"}} Vendor: {{style_obj.factory|default:"N/A"}}
Brand/Label: {{style_obj.brand|default:"N/A"}} Factory: {{style_obj.production_factory|default:"N/A"}}
Buyer: {{style_obj.buyer|default:"N/A"}} COO: Bangladesh
Style Nbr: {{style_obj.style_number|default:"N/A"}} Retail Intro:
Style Desc: {{style_obj.style_description|default:"N/A"}} NDC:
Ex-Factory: {{style_obj.ex_factory|default:""}}
{% if style_obj.sketch %} Image Not Found {% else %}

Image not found

{% endif %}
{% regroup material_obj by fabric.fabric_application_model as grouped_materials %} {% for group in grouped_materials %} {% for obj in group.list %} {% if forloop.first %} {% else %} {% endif %} {% endfor %} {% endfor %}
Materials
Mill Ref Description yy/unit prc/yd ext
{{ group.grouper|default:"N/A" }} {{ obj.fabric.mill_name|default:"N/A" }} {{ obj.fabric.fabric.reference|default:"N/A" }} {{ obj.fabric.fabric.composition |default:"N/A" }} {{ obj.fabric.total_uses|floatformat:2 }} ${{ obj.cost_per_unit|floatformat:2 }} ${{ obj.total_cost|floatformat:2 }}
Total Material Cost: ${{ext_material_total|floatformat:2}}
{% for obj in combined_items %} {% endfor %}
Trim
Supplier Ref Description unit unit-cost ext
{{obj.supplier}} {{obj.description}},{{obj.acc_description}} {{obj.consumption|floatformat:2}} ${{obj.unit_cost|floatformat:2}} ${{obj.total_cost|floatformat:2}}
Total Trim Cost: ${{ext_trim_total|floatformat:2}}
{% for obj in wash_obj %} {% endfor %}
Wash
unit unit-cost ext
{{obj.washing.process_details}} 1.00 ${{obj.total_cost|floatformat:2}} ${{obj.total_cost|floatformat:2}}
Total Wash Cost: ${{obj.total_cost|floatformat:2}}
{% for obj in cm_obj %} {% comment %} {% endcomment %} {% endfor %}
CM
unit unit-cost ext
Cmt cost: 1.00 ${{obj.total_cost_per_gmts|floatformat:2}} ${{obj.total_cost_per_gmts|floatformat:2}}
Total CM Cost: ${{obj.total_cost_per_gmts|floatformat:2}}{{cm_dozen|floatformat:2}}
{% for obj in packaging_item %} {% endfor %}
Packaging
Supplier Ref Description unit unit-cost ext
{{obj.supplier}} {{obj.description}},{{obj.acc_description}} {{obj.consumption|floatformat:2}} ${{obj.unit_cost|floatformat:2}} ${{obj.total_cost|floatformat:2}}
Total Packaging Cost: ${{ext_packaging_total|floatformat:2}}
Overhead/Margin
%
Total Overhead/Margin: ${{style_summary.commercial_cost|floatformat:2}}
FOB ${{fob|floatformat:2}}
Others
% ext
Duty $0.00
Freight $0.00
Brokerage $0.00
Others $0.00
Total Landed: $0.00
{% if style_obj.remarks %} {% endif %}
Retail TBA
IMU
{{style_obj.remarks}}
{% endif %}
{% endblock MainContent %} {% block meassage %} {% include 'notifications/notifications.html' %} {% endblock meassage %} {% block JS %} {% endblock JS %}