{% extends "marchant_base.html" %}
{% load static %}
{% load crispy_forms_tags %}
{% load widget_tweaks %}
{% block title %}
{% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %}
Style {{style.style_number}}: Fabric Budget
{{ form.fabric|as_crispy_field }}
Fabric Name |
Composition |
Supplier |
Total Uses |
Unit |
Negotiated Price |
Quantity |
Total Cost |
Action |
|
|
{% render_field form.supplier class="form-control" %} |
|
|
{% render_field form.neotiated_price type="number" class="form-control" %} |
|
0 |
{% comment %} {% endcomment %}
{% comment %} {% endcomment %}
|
SL |
Fabric Name |
Composition |
Supplier |
Total Uses |
Unit |
Negotiated Price |
Quantity |
Total Cost |
Action |
{% for fabric_budget in fabric_budget_list %}
{{forloop.counter}} |
{{ fabric_budget.fabric.fabric.fabric.fabric_name }} |
{{ fabric_budget.fabric.fabric.fabric.composition }} |
{{ fabric_budget.supplier }} |
{{ fabric_budget.fabric.fabric.total_uses }} |
{{ fabric_budget.fabric.fabric.unit}} |
{{ fabric_budget.neotiated_price}} |
{{ lot_number_quantity }} |
{% widthratio fabric_budget.total_cost 1 lot_number_quantity %} |
{% comment %} {% endcomment %}
-
{% comment %} -
{% endcomment %}
-
|
{% endfor %}
{% endblock MainContent %}
{% block meassage %}
{% include 'notifications/notifications.html' %}
{% endblock meassage %}
{% block JS %}
{% comment %} {% endcomment %}
{% endblock JS %}