| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <templates id="template" xml:space="preserve"> |
| 3 | <t t-name="pos_sale.Orderline" t-inherit="point_of_sale.Orderline" t-inherit-mode="extension"> |
| 4 | <xpath expr="//ul[hasclass('info-list')]" position="inside" > |
| 5 | <t t-if="line.sale_order_origin_id?.name"> |
| 6 | <li> |
| 7 | <i class="fa fa-shopping-basket me-1" role="img" aria-label="SO" title="SO"/> |
| 8 | <t t-esc="line.sale_order_origin_id?.name" /> |
| 9 | </li> |
| 10 | <table t-if="line.saleDetails" class="sale-order-info"> |
| 11 | <tr t-foreach="line.saleDetails" t-as="soLine" t-key="soLine_index"> |
| 12 | <td class="text-truncate"><t t-esc="soLine.product_uom_qty"/>x</td> |
| 13 | <td class="text-truncate product-name" t-esc="soLine.product_name" /> |
| 14 | <td class="text-truncate">: </td> |
| 15 | <td t-if="!props.basic_receipt" class="text-truncate"><t t-esc="soLine.total" /> (tax incl.)</td> |
| 16 | </tr> |
| 17 | </table> |
| 18 | </t> |
| 19 | </xpath> |
| 20 | </t> |
| 21 | </templates> |