|
@@ -30,13 +30,13 @@
|
|
<br/>
|
|
<br/>
|
|
<br />
|
|
<br />
|
|
<center>----------------------------------------</center><br/>
|
|
<center>----------------------------------------</center><br/>
|
|
- <table class="table table-condensed" style="font-size: 12px;">
|
|
|
|
|
|
+ <table class="table table-condensed" style="font-size: 8px;">
|
|
<thead>
|
|
<thead>
|
|
<tr>
|
|
<tr>
|
|
- <th class="text-right">Cant.</th>
|
|
|
|
- <th>  Producto    </th>
|
|
|
|
- <th class="text-right">  Precio </th>
|
|
|
|
- <th class="text-right">  Sub-total</th>
|
|
|
|
|
|
+ <th style="font-size:8px;font-family: Courier New;width:0.6cm;overflow: auto; text-align: center;"><b>Cant.</b></th>
|
|
|
|
+ <th style="font-size:8px;font-family: Courier New;width:4.0cm;overflow: auto; text-align: left;"><b>Producto</b></th>
|
|
|
|
+ <th style="font-size:8px;font-family: Courier New;width:1.6cm;overflow: auto; text-align: center;"><b>Precio</b></th>
|
|
|
|
+ <th style="font-size:8px;font-family: Courier New;width:1.6cm;overflow: auto; text-align: center;"><b>Sub Total</b></th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody>
|
|
<tbody>
|
|
@@ -46,7 +46,7 @@
|
|
<col width='25%' style="font-size: 9px;"/>
|
|
<col width='25%' style="font-size: 9px;"/>
|
|
<col width='25%' style="font-size: 9px;"/>
|
|
<col width='25%' style="font-size: 9px;"/>
|
|
</colgroup> -->
|
|
</colgroup> -->
|
|
- <t t-foreach="orderlines" t-as="orderline">
|
|
|
|
|
|
+ <!-- <t t-foreach="orderlines" t-as="orderline">
|
|
<tr>
|
|
<tr>
|
|
<td>
|
|
<td>
|
|
<t t-esc="  orderline.quantity  "/>
|
|
<t t-esc="  orderline.quantity  "/>
|
|
@@ -59,14 +59,33 @@
|
|
</td>
|
|
</td>
|
|
<td class="pos-right-align">
|
|
<td class="pos-right-align">
|
|
<![CDATA[ ]]><t t-esc="(orderline.price*orderline.quantity)"/>
|
|
<![CDATA[ ]]><t t-esc="(orderline.price*orderline.quantity)"/>
|
|
- <!-- <t t-esc="widget.format_currency(orderline.get_display_price())"/> -->
|
|
|
|
|
|
+
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr>
|
|
</tr>
|
|
- </t>
|
|
|
|
|
|
+ </t> -->
|
|
|
|
+ <tr t-foreach="orderlines" t-as="l">
|
|
|
|
+
|
|
|
|
+ <!-- CANTIDAD -->
|
|
|
|
+ <th style="font-size:8px;font-family: Arial;width:0.5cm;overflow: auto; text-align: center;">
|
|
|
|
+ <span t-esc="l.quantity"/>
|
|
|
|
+ </th>
|
|
|
|
+
|
|
|
|
+ <!-- NOMBRE DEL PRODUCTO -->
|
|
|
|
+ <th style="font-size:8px;font-family: Arial;width:4.0cm;overflow: auto; text-align: left;">
|
|
|
|
+ <span t-esc="l.get_product().display_name"/>
|
|
|
|
+ </th>
|
|
|
|
+ <th style="font-size:8px;font-family: Arial;width:1.6cm;overflow: auto; text-align: right;">
|
|
|
|
+ <span t-esc="l.price"/>
|
|
|
|
+ </th>
|
|
|
|
+ <!-- PRECIO UNITARIO -->
|
|
|
|
+ <th style="font-size:8px;font-family: Arial;width:1.6cm;overflow: auto; text-align: right;">
|
|
|
|
+ <span t-esc="(l.quantity * l.price)"/>
|
|
|
|
+ </th>
|
|
|
|
+ </tr>
|
|
</tbody>
|
|
</tbody>
|
|
</table>
|
|
</table>
|
|
|
|
|