diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-09-15 11:37:32 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-09-15 11:37:32 +0700 |
| commit | cf64a8c5913308c3121a55b1b4cd1acf17c86d73 (patch) | |
| tree | 41289018a69cff178856649c31794f29ac138426 | |
| parent | 062f8e6c5bf9ad87c9de7137dd399fa42d8d66a8 (diff) | |
push
| -rw-r--r-- | indoteknik_custom/report/purchase_report.xml | 37 |
1 files changed, 12 insertions, 25 deletions
diff --git a/indoteknik_custom/report/purchase_report.xml b/indoteknik_custom/report/purchase_report.xml index 17d314ff..168428a6 100644 --- a/indoteknik_custom/report/purchase_report.xml +++ b/indoteknik_custom/report/purchase_report.xml @@ -76,16 +76,15 @@ <!-- ORDER LINES --> <table style="border-collapse:collapse; width:100%; margin-top:16px;"> - <thead> + <tbody> <tr style="background:#f2f2f2;"> - <th style="border:1px solid #ccc;">Description</th> - <th style="border:1px solid #ccc; text-align:right;">Quantity</th> - <th style="border:1px solid #ccc; text-align:right;">Unit Price</th> - <th style="border:1px solid #ccc; text-align:right;">Taxes</th> - <th style="border:1px solid #ccc; text-align:right;">Subtotal</th> + <td style="border:1px solid #ccc;">Description</td> + <td style="border:1px solid #ccc; text-align:right;">Quantity</td> + <td style="border:1px solid #ccc; text-align:right;">Unit Price</td> + <td style="border:1px solid #ccc; text-align:right;">Taxes</td> + <td style="border:1px solid #ccc; text-align:right;">Subtotal</td> </tr> - </thead> - + </tbody> <tbody> <t t-foreach="doc.order_line" t-as="line"> <tr> @@ -105,29 +104,17 @@ <span t-field="line.price_subtotal"/> </td> </tr> - - <!-- Thead khusus untuk website_description --> <t t-if="line.product_id.website_description"> - <thead> - <tr style="background:#f9f9f9;"> - <th colspan="5" style="border:1px solid #ccc; text-align:left;"> - Description - </th> - </tr> - </thead> - <tbody> - <tr> - <td colspan="5" style="padding: 1rem; background:#fafafa; border-left:1px solid #ccc; border-right:1px solid #ccc; border-bottom:1px solid #ccc;"> - <div t-raw="line.product_id.website_description"/> - </td> - </tr> - </tbody> + <tr> + <td colspan="5" style="margin-top: 1rem;padding: 1rem; background:#fafafa; border-left:1px solid #ccc; border-right:1px solid #ccc;"> + <div t-raw="line.product_id.website_description"/> + </td> + </tr> </t> </t> </tbody> </table> - <!-- TOTALS --> <table style="margin-top:20px; margin-left:auto; width:40%; font-size:14px;"> <tr> |
