{% extends "marchant_base.html" %} {% load static %} {% load crispy_forms_tags %} {% block title %}Fabric Add{% endblock title %} {% block Style %} {% endblock Style %} {% block MainContent %}
{% if messages %} {% for message in messages %} {% endfor %} {% endif %} {% if request.user.is_superuser == True or request.user.marchant_user_type == 'mother_admin' or request.user.marchant_user_type == 'sister_admin' or request.user.marchant_user_type == 'admin' or request.user.marchant_user_type == 'regular_user' %}
{% csrf_token %}
{{form.fabric_type|as_crispy_field}}
{{form.fabric_name|as_crispy_field}}
{{form.reference|as_crispy_field}}
{{form.composition|as_crispy_field}}
{{form.construction|as_crispy_field}}
{{form.before_wash_weight|as_crispy_field}}
{{form.after_wash_weight|as_crispy_field}}
{{form.shrinkage_length|as_crispy_field}}
{{form.shrinkage_width|as_crispy_field}}
{% endif %}

Fabric List

{% if fabric_materials %} {% for item in fabric_materials %} {% if item.reference %} {% else %} {% endif %} {% if item.before_wash_weight %} {% else %} {% endif %} {% if item.after_wash_weight %} {% else %} {% endif %} {% if item.shrinkage_length %} {% else %} {% endif %} {% if item.shrinkage_width %} {% else %} {% endif %} {% endfor %} {% else %} {% endif %}
SL Fabric Type Fabric Name Reference Composition Construction Weight-BW Weight-AW Shrinkage-length % Shrinkage-width % Action
{{forloop.counter}} {{item.fabric_type}} {{ item.fabric_name }}{{ item.reference }}N/A{{ item.composition }} {{ item.construction }}{{ item.before_wash_weight }}N/A{{ item.after_wash_weight }}N/A{{ item.shrinkage_length|floatformat:3 }}N/A{{ item.shrinkage_width|floatformat:3 }}N/A
No Data Found
{% endblock MainContent %} {% block meassage %} {% include 'notifications/notifications.html' %} {% endblock meassage %} {% block JS %} {% endblock JS %}