{% extends "marchant_base.html" %} {% load static %} {% load widget_tweaks %} {% load crispy_forms_tags %} {% block title %} Budget Preview and Finalize {% endblock title %} {% block Style %} {% endblock Style %} {% block MainContent %}
{% if messages %} {% for message in messages %} {% endfor %} {% endif %}
{% csrf_token %}
{{comment_form.costing_rejection_comment|as_crispy_field}}
{{form.approval_is_cost_submit_status|as_crispy_field}}
Style Number - {{style.style_number}}
Fabrics $ {{fabirc_budget_total_cost|floatformat:3}}
Trims $ {{trims_budget_total_cost|floatformat:3}}
Threads $ {{thread_budget_total_cost|floatformat:3}}
Washing $ {{washing_budget_total_cost|floatformat:3}}
Embroidery $ {{embroidery_budget_total_cost|floatformat:3}}
CM $ {{cm_budget_total_cost|floatformat:3}}
Agent Commission 1 $ {{agent_commision1_budget_cost|floatformat:3}}
Agent Commission 2 $ {{agent_commision2_budget_cost|floatformat:3}}
Commercial Cost $ {{commercial_budget_cost|floatformat:3}}
Profit Margin $ {{profit_margin_budget_cost|floatformat:3}} + ( {{temp_profit_margin_budget_cost|floatformat:3}})
Current Profit Margin $ {{new_profit_margin_budget_cost|floatformat:3}}
FOB $ {{fob |floatformat:3}}
CIF $ {{cif|floatformat:3}}
CNF $ {{cnf|floatformat:3}}
Landed Cost $ {{landed_cost|floatformat:3}}
Total Quantity {{lot_number_quantity}}
Team {% if style.team %} {{style.team}} {% else %} N/A {% endif %}
{% if fabirc_budget_list %}
Fabric Budget Details
{% for fabric_budget in fabirc_budget_list %} {% endfor %}
SL Fabric Name Composition Supplier Total Uses Unit Negotiated Price Quantity Total Cost
{{forloop.counter}} {{ fabric_budget.fabric.fabric.fabric.fabric_name }} {{ fabric_budget.fabric.fabric.fabric.composition }} {{ fabric_budget.supplier }} {{ fabric_budget.negotiated_usage|floatformat:3 }} {{ fabric_budget.fabric.fabric.unit}} {{ fabric_budget.neotiated_price|floatformat:3}} {{ lot_number_quantity }} {% widthratio fabric_budget.total_cost 1 lot_number_quantity %}
{% endif %} {% if trims_budget_list %}
Trims Budget Details
{% for trim_budget in trims_budget_list %} {% endfor %}
SL Item Description Supplier Total Uses Unit Negotiated Price Quantity Total Cost
{{forloop.counter}} {{ trim_budget.trim.trim.trim.name }} {{ trim_budget.trim.trim.trim.description }} {{ trim_budget.supplier }} {{ trim_budget.negotiated_usage|floatformat:3 }} {{ trim_budget.trim.trim.unit}} {{ trim_budget.negotiated_price|floatformat:3}} {{ lot_number_quantity }} {% widthratio trim_budget.total_cost 1 lot_number_quantity %}
{% endif %} {% if thread_budget_list %}
Thread Budget Details
{% for thread_budget in thread_budget_list %} {% endfor %}
SL Count Description Supplier Total Uses Unit Negotiated Price Quantity Total Cost
{{forloop.counter}} {{ thread_budget.thread.thread.thread.count }} {{ thread_budget.thread.thread.thread.description }} {{ thread_budget.supplier }} {{ thread_budget.negotiated_usage|floatformat:3 }} {{ thread_budget.thread.thread.unit}} {{ thread_budget.negotiated_price|floatformat:3}} {{ lot_number_quantity }} {% widthratio thread_budget.total_cost 1 lot_number_quantity %}
{% endif %} {% if washing_budget_list %}
{% for item in washing_budget_list %}
Wash Budget Details of {{ item.washing.style.style_number }}
Process Cost {{item.process_cost|floatformat:3}}
3D Crinkle {{item.d_crinkle|floatformat:3}}
Whisker {{item.whisker|floatformat:3}}
Destroy {{item.destroy|floatformat:3}}
Sand Blasting {{item.sand_blasting|floatformat:3}}
PP Spray {{item.pp_spray|floatformat:3}}
Tagging {{item.tagging|floatformat:3}}
Other {{item.other|floatformat:3}}
Over Dye {{item.over_dye|floatformat:3}}
Total Washing Cost {{item.total_cost|floatformat:3}}
{% endfor %}
{% endif %} {% if embroidery_budget_list %}
{% for item in embroidery_budget_list %}
Embroidery Budget Details of {{ item.embroidery.style.style_number }}
Embroidery Cost {{item.embroidery_cost|floatformat:3}}
{% endfor %}
{% endif %} {% if cm_costing_list%}
{% for item in cm_costing_list %}
CM Budget Details of {{ item.cm.style.style_number }}
SMV {{item.smv|floatformat:3}}
Efficiency {{item.efficiency|floatformat:3}}
Number of Machine {{item.number_of_machine|floatformat:3}}
Man Power {{item.man_power|floatformat:3}}
Target Production Per Minute {{item.target_production_per_minute|floatformat:3}}
Machine Cost Per Minute {{item.machine_cost_per_minute|floatformat:3}}
Others {{item.others|floatformat:3}}
Cost per gmt Per GMTS {{item.total_cost_per_gmts|floatformat:3}}
{% endfor %}
{% endif %} {% if commercial_budget_list %}
{% for item in commercial_budget_list %}
Commercial Budget Details of {{ item.commercial_costing.style.style_number }}
Agent Commision 1 $ {{item.agent_commision1|floatformat:3 }} {% if item.agent_commision1_is_percent == True %} % {% else %}   {% endif %}
Agent Commision 2 $ {{ item.agent_commision2 |floatformat:3 }}{% if item.agent_commision2_is_percent == True %} % {% else %}   {% endif %}
Commercial cost $ {{ item.commercial_cost|floatformat:3 }}{% if item.commercial_cost_is_percent == True %} % {% else %}   {% endif %}
Profit margin $ {{ item.profit_margin|floatformat:3 }}{% if item.profit_margin_is_percent == True %} % {% else %}   {% endif %}
Freight $ {{ item.freight|floatformat:3 }}
Insurance $ {{ item.insurance|floatformat:3 }}
Duty $ {{ item.duty|floatformat:3 }}{% if item.duty_is_percent == True %} % {% else %}   {% endif %}
Others $ {{ item.others|floatformat:3 }}
Remarks {{ item.remarks}}
{% endfor %}
{% endif %} {% endblock MainContent %} {% block meassage %} {% endblock meassage %} {% block JS %} {% endblock JS %}