{% extends "marchant_base.html" %} {% load static %} {% load crispy_forms_tags %} {% load widget_tweaks %} {% block title %} Trim Costing {% endblock title %} {% block Style %} {% endblock Style %} {% block MainContent %}
{% if messages %} {% for message in messages %} {% endfor %} {% endif %}

{{style.style_number}}

Trims Costing

{{ form.trim|as_crispy_field }}
Type Total Uses Unit Cost Per Unit Cost per gmt Action
{% render_field form.cost_per_unit type="number" class="form-control" %} 0 {% comment %} {% endcomment %}
{% if trim_cost_list %} {% for trim_cost in trim_cost_list %} {% endfor %} {% endif %}
SL No Type Description Total Uses Unit Cost Per Unit Cost per gmt Action
{{forloop.counter}} {{ trim_cost.trim.trim.name }} {{ trim_cost.trim.description }} {{ trim_cost.trim.total_uses|floatformat:4}} {{ trim_cost.trim.unit}} {{ trim_cost.cost_per_unit|floatformat:4}} {{ trim_cost.total_cost|floatformat:4}}
    {% if trim_cost.style.is_cost_submit_status == "Not Submit" %}
  • {% else %}
  • {% endif %}
{% endblock MainContent %} {% block meassage %} {% include 'notifications/notifications.html' %} {% endblock meassage %} {% block JS %} {% endblock JS %}