summaryrefslogtreecommitdiff
path: root/indoteknik_custom/report/purchase_report.xml
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-09-16 09:27:32 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-09-16 09:27:32 +0700
commit7fe2c169a448df17c9395dfae20c524e94aa8bfc (patch)
tree0057b6a31222fc0468b7f8116ce066f699eba937 /indoteknik_custom/report/purchase_report.xml
parent78a4f924fa9ba38c58954b5840632806b04fff19 (diff)
push
Diffstat (limited to 'indoteknik_custom/report/purchase_report.xml')
-rw-r--r--indoteknik_custom/report/purchase_report.xml10
1 files changed, 2 insertions, 8 deletions
diff --git a/indoteknik_custom/report/purchase_report.xml b/indoteknik_custom/report/purchase_report.xml
index 6666235a..555adff4 100644
--- a/indoteknik_custom/report/purchase_report.xml
+++ b/indoteknik_custom/report/purchase_report.xml
@@ -93,12 +93,6 @@
<!-- NO & DESCRIPTION + IMAGE -->
<td style="border:1px solid #ccc; padding: 6px; display:flex; align-items:center; gap:10px;">
- <t t-if="not line.image_small">
- <div style="width:40px; height:40px; background:#f5f5f5; border:1px solid #ddd; border-radius:6px; display:flex; align-items:center; justify-content:center; color:#999; font-size:10px;">
- N/A
- </div>
- </t>
-
<!-- TEKS -->
<div style="display:flex; flex-direction:column; flex:1;">
<span style="font-weight:bold; margin-bottom:2px;">
@@ -135,9 +129,9 @@
</tr>
<!-- WEBSITE DESCRIPTION -->
- <t t-if="line.product_id.website_description">
+ <t t-if="line.show_description">
<tr t-attf-style="background-color: #{ '#fef5f5' if line_index % 2 == 0 else '#fffafa' }; ">
- <td colspan="6" style="padding: 10px 14px; font-size:12px; line-height:1.3; font-style:italic; color:#555; border-left:1px solid #ccc; border-right:1px solid #ccc; border-bottom:1px solid #ccc;">
+ <td colspan="6" style="padding: 10px 14px; font-size:10px; line-height:1.3; font-style:italic; color:#555; 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>