mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix html templates
This commit is contained in:
parent
e261fa6b29
commit
5ad2eabab1
@ -9,11 +9,11 @@
|
|||||||
|
|
||||||
<table class='table table-striped table-condensed table-price-two'>
|
<table class='table table-striped table-condensed table-price-two'>
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>{% trans 'Part' %}</b></td>
|
<td><strong>{% trans 'Part' %}</b></td>
|
||||||
<td>{{ part }}</td>
|
<td>{{ part }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>{% trans 'Quantity' %}</b></td>
|
<td><strong>{% trans 'Quantity' %}</b></td>
|
||||||
<td>{{ quantity }}</td>
|
<td>{{ quantity }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@ -23,13 +23,13 @@
|
|||||||
<table class='table table-striped table-condensed table-price-three'>
|
<table class='table table-striped table-condensed table-price-three'>
|
||||||
{% if min_total_buy_price %}
|
{% if min_total_buy_price %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>{% trans 'Unit Cost' %}</b></td>
|
<td><strong>{% trans 'Unit Cost' %}</b></td>
|
||||||
<td>Min: {% include "price.html" with price=min_unit_buy_price %}</td>
|
<td>Min: {% include "price.html" with price=min_unit_buy_price %}</td>
|
||||||
<td>Max: {% include "price.html" with price=max_unit_buy_price %}</td>
|
<td>Max: {% include "price.html" with price=max_unit_buy_price %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% if quantity > 1 %}
|
{% if quantity > 1 %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>{% trans 'Total Cost' %}</b></td>
|
<td><strong>{% trans 'Total Cost' %}</b></td>
|
||||||
<td>Min: {% include "price.html" with price=min_total_buy_price %}</td>
|
<td>Min: {% include "price.html" with price=min_total_buy_price %}</td>
|
||||||
<td>Max: {% include "price.html" with price=max_total_buy_price %}</td>
|
<td>Max: {% include "price.html" with price=max_total_buy_price %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -49,26 +49,26 @@
|
|||||||
<table class='table table-striped table-condensed table-price-three'>
|
<table class='table table-striped table-condensed table-price-three'>
|
||||||
{% if min_total_bom_price %}
|
{% if min_total_bom_price %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>{% trans 'Unit Cost' %}</b></td>
|
<td><strong>{% trans 'Unit Cost' %}</b></td>
|
||||||
<td>Min: {% include "price.html" with price=min_unit_bom_price %}</td>
|
<td>Min: {% include "price.html" with price=min_unit_bom_price %}</td>
|
||||||
<td>Max: {% include "price.html" with price=max_unit_bom_price %}</td>
|
<td>Max: {% include "price.html" with price=max_unit_bom_price %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% if quantity > 1 %}
|
{% if quantity > 1 %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>{% trans 'Total Cost' %}</b></td>
|
<td><strong>{% trans 'Total Cost' %}</b></td>
|
||||||
<td>Min: {% include "price.html" with price=min_total_bom_price %}</td>
|
<td>Min: {% include "price.html" with price=min_total_bom_price %}</td>
|
||||||
<td>Max: {% include "price.html" with price=max_total_bom_price %}</td>
|
<td>Max: {% include "price.html" with price=max_total_bom_price %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if min_total_bom_purchase_price %}
|
{% if min_total_bom_purchase_price %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>{% trans 'Unit Purchase Price' %}</b></td>
|
<td><strong>{% trans 'Unit Purchase Price' %}</b></td>
|
||||||
<td>Min: {% include "price.html" with price=min_unit_bom_purchase_price %}</td>
|
<td>Min: {% include "price.html" with price=min_unit_bom_purchase_price %}</td>
|
||||||
<td>Max: {% include "price.html" with price=max_unit_bom_purchase_price %}</td>
|
<td>Max: {% include "price.html" with price=max_unit_bom_purchase_price %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% if quantity > 1 %}
|
{% if quantity > 1 %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>{% trans 'Total Purchase Price' %}</b></td>
|
<td><strong>{% trans 'Total Purchase Price' %}</b></td>
|
||||||
<td>Min: {% include "price.html" with price=min_total_bom_purchase_price %}</td>
|
<td>Min: {% include "price.html" with price=min_total_bom_purchase_price %}</td>
|
||||||
<td>Max: {% include "price.html" with price=max_total_bom_purchase_price %}</td>
|
<td>Max: {% include "price.html" with price=max_total_bom_purchase_price %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -97,11 +97,11 @@
|
|||||||
<h4>{% trans 'Internal Price' %}</h4>
|
<h4>{% trans 'Internal Price' %}</h4>
|
||||||
<table class='table table-striped table-condensed table-price-two'>
|
<table class='table table-striped table-condensed table-price-two'>
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>{% trans 'Unit Cost' %}</b></td>
|
<td><strong>{% trans 'Unit Cost' %}</b></td>
|
||||||
<td>{% include "price.html" with price=unit_internal_part_price %}</td>
|
<td>{% include "price.html" with price=unit_internal_part_price %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>{% trans 'Total Cost' %}</b></td>
|
<td><strong>{% trans 'Total Cost' %}</b></td>
|
||||||
<td>{% include "price.html" with price=total_internal_part_price %}</td>
|
<td>{% include "price.html" with price=total_internal_part_price %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@ -112,11 +112,11 @@
|
|||||||
<h4>{% trans 'Sale Price' %}</h4>
|
<h4>{% trans 'Sale Price' %}</h4>
|
||||||
<table class='table table-striped table-condensed table-price-two'>
|
<table class='table table-striped table-condensed table-price-two'>
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>{% trans 'Unit Cost' %}</b></td>
|
<td><strong>{% trans 'Unit Cost' %}</b></td>
|
||||||
<td>{% include "price.html" with price=unit_part_price %}</td>
|
<td>{% include "price.html" with price=unit_part_price %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>{% trans 'Total Cost' %}</b></td>
|
<td><strong>{% trans 'Total Cost' %}</b></td>
|
||||||
<td>{% include "price.html" with price=total_part_price %}</td>
|
<td>{% include "price.html" with price=total_part_price %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
Loading…
Reference in New Issue
Block a user