diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-09-15 10:58:02 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-09-15 10:58:02 +0700 |
| commit | 8f31888ab18314618e5ea5b5ec6430c1386c2db7 (patch) | |
| tree | aa95bc354b367ea991a98a4fecf573fea949e1e8 | |
| parent | 8998109e80d919af0c95759d95b856bc3f997970 (diff) | |
push
| -rw-r--r-- | indoteknik_custom/report/purchase_report.xml | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/indoteknik_custom/report/purchase_report.xml b/indoteknik_custom/report/purchase_report.xml index 7bea64c6..cd8af78a 100644 --- a/indoteknik_custom/report/purchase_report.xml +++ b/indoteknik_custom/report/purchase_report.xml @@ -75,9 +75,8 @@ </table> <!-- ORDER LINES --> - <!-- ORDER LINES --> <table style="border-collapse:collapse; width:100%; margin-top:16px;"> - <thead style="display: table-header-group;"> + <thead> <tr style="background:#f2f2f2;"> <th style="border:1px solid #ccc; padding:4px;">Description</th> <th style="border:1px solid #ccc; padding:4px; text-align:right;">Quantity</th> @@ -88,8 +87,7 @@ </thead> <tbody> <t t-foreach="doc.order_line" t-as="line"> - <!-- Row produk --> - <tr style="page-break-inside: avoid;"> + <tr> <td style="border:1px solid #ccc; padding:4px;"> <span t-field="line.name"/> </td> @@ -106,22 +104,10 @@ <span t-field="line.price_subtotal"/> </td> </tr> - - <!-- Row deskripsi --> <t t-if="line.product_id.website_description"> - <tr style="page-break-inside: avoid; padding:14px 20px;"> - <td colspan="5" - style=" - border-left:1px solid #ccc; - border-right:1px solid #ccc; - border-bottom:1px solid #ccc; - border-top:0; - padding:14px 20px; - background:#fafafa; - font-size:0.9rem; - line-height:1.4; - "> - <span t-field="line.product_id.website_description"/> + <tr> + <td colspan="5" style="padding:8px 12px; font-size:11px; background:#fafafa; border-left:1px solid #ccc; border-right:1px solid #ccc;"> + <div t-raw="line.product_id.website_description"/> </td> </tr> </t> @@ -129,6 +115,7 @@ </tbody> </table> + <!-- TOTALS --> <table style="margin-top:20px; margin-left:auto; width:40%; font-size:14px;"> <tr> <td><strong>Subtotal</strong></td> |
