diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-09-30 02:08:19 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-09-30 02:08:19 +0300 |
commit | 4194e8ee556f3109057fab0afb7894927b52713e (patch) | |
tree | 996cb5de38706b07bb24f519d868b29da54c0b67 /servo/templates/purchases | |
parent | 03326a06e12de1af575c8e4b2de7e3824f6eaace (diff) | |
download | Servo-4194e8ee556f3109057fab0afb7894927b52713e.tar.gz Servo-4194e8ee556f3109057fab0afb7894927b52713e.tar.bz2 Servo-4194e8ee556f3109057fab0afb7894927b52713e.zip |
Cleanup
Diffstat (limited to 'servo/templates/purchases')
-rwxr-xr-x | servo/templates/purchases/view_po.html | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/servo/templates/purchases/view_po.html b/servo/templates/purchases/view_po.html index c43a058..cd9fad5 100755 --- a/servo/templates/purchases/view_po.html +++ b/servo/templates/purchases/view_po.html @@ -9,48 +9,48 @@ {% endblock filter_bar %} {% block detail_view %} - <div class="row"> - <div class="span4"> - <dl class="dl-horizontal"> - <dt>{% trans "Created By" %}</dt> - <dd>{{ po.created_by }}</dd> - <dt>{% trans "Created At" %}</dt> - <dd>{{ po.created_at|date:"SHORT_DATE_FORMAT" }}</dd> - <dt>{% trans "Sales Order" %}</dt> - <dd>{{ po.sales_order|default:"" }}</dd> - <dt>{% trans "Reference" %}</dt> - <dd>{{ po.reference }}</dd> - <dt>{% trans "Confirmation" %}</dt> - <dd>{{ po.confirmation }}</dd> - </dl> - </div> - <div class="span8"> - <table class="table"> - <thead> - <tr> - <th>{% trans "Product" %}</th> - <th>{% trans "Reference" %}</th> - <th>{% trans "Amount" %}</th> - <th>{% trans "Purchase Price" %}</th> - <th>{% trans "Received At" %}</th> - </tr> - </thead> - <tbody> - {% for i in po.purchaseorderitem_set.all %} - <tr> - <td><strong>{{ i.code }}</strong><br/>{{ i.title }}</td> - <td>{{ i.reference }}</td> - <td>{{ i.amount }}</td> - <td>{{ i.price|currency }}</td> - <td>{{ i.received_at|date:"SHORT_DATE_FORMAT"|default:"-" }}</td> - </tr> - {% endfor %} - </tbody> - </table> - </div> - </div> +<div class="row"> + <div class="span4"> + <dl class="dl-horizontal"> + <dt>{% trans "Created By" %}</dt> + <dd>{{ po.created_by }}</dd> + <dt>{% trans "Created At" %}</dt> + <dd>{{ po.created_at|date:"SHORT_DATE_FORMAT" }}</dd> + <dt>{% trans "Sales Order" %}</dt> + <dd>{{ po.sales_order|default:"" }}</dd> + <dt>{% trans "Reference" %}</dt> + <dd>{{ po.reference }}</dd> + <dt>{% trans "Confirmation" %}</dt> + <dd>{{ po.confirmation }}</dd> + </dl> + </div> + <div class="span8"> + <table class="table"> + <thead> + <tr> + <th>{% trans "Product" %}</th> + <th>{% trans "Reference" %}</th> + <th>{% trans "Amount" %}</th> + <th>{% trans "Purchase Price" %}</th> + <th>{% trans "Received At" %}</th> + </tr> + </thead> + <tbody> + {% for i in products %} + <tr> + <td><strong>{{ i.code }}</strong><br/>{{ i.title }}</td> + <td>{{ i.reference }}</td> + <td>{{ i.amount }}</td> + <td>{{ i.price|currency }}</td> + <td>{{ i.received_at|date:"SHORT_DATE_FORMAT"|default:"-" }}</td> + </tr> + {% endfor %} + </tbody> + </table> + </div> +</div> {% endblock detail_view %} {% block crumbs %} - <li><a href="{% url 'purchases-list_pos' %}">{% trans "Purchase Orders" %}</a></li> + <li><a href="{% url 'purchases-list_pos' %}">{% trans "Purchase Orders" %}</a></li> {% endblock crumbs %} |