now with closing tags

This commit is contained in:
Matthias Mair 2021-09-01 08:14:08 +02:00
parent 5ad2eabab1
commit 2b1279e647

View File

@ -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><strong>{% trans 'Part' %}</b></td> <td><strong>{% trans 'Part' %}</strong></td>
<td>{{ part }}</td> <td>{{ part }}</td>
</tr> </tr>
<tr> <tr>
<td><strong>{% trans 'Quantity' %}</b></td> <td><strong>{% trans 'Quantity' %}</strong></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><strong>{% trans 'Unit Cost' %}</b></td> <td><strong>{% trans 'Unit Cost' %}</strong></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><strong>{% trans 'Total Cost' %}</b></td> <td><strong>{% trans 'Total Cost' %}</strong></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><strong>{% trans 'Unit Cost' %}</b></td> <td><strong>{% trans 'Unit Cost' %}</strong></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><strong>{% trans 'Total Cost' %}</b></td> <td><strong>{% trans 'Total Cost' %}</strong></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><strong>{% trans 'Unit Purchase Price' %}</b></td> <td><strong>{% trans 'Unit Purchase Price' %}</strong></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><strong>{% trans 'Total Purchase Price' %}</b></td> <td><strong>{% trans 'Total Purchase Price' %}</strong></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><strong>{% trans 'Unit Cost' %}</b></td> <td><strong>{% trans 'Unit Cost' %}</strong></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><strong>{% trans 'Total Cost' %}</b></td> <td><strong>{% trans 'Total Cost' %}</strong></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><strong>{% trans 'Unit Cost' %}</b></td> <td><strong>{% trans 'Unit Cost' %}</strong></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><strong>{% trans 'Total Cost' %}</b></td> <td><strong>{% trans 'Total Cost' %}</strong></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>