summaryrefslogtreecommitdiff
path: root/indoteknik_custom/report
diff options
context:
space:
mode:
authorunknown <it@fixcomart.co.id>2025-09-17 14:28:21 +0700
committerunknown <it@fixcomart.co.id>2025-09-17 14:28:21 +0700
commit83608402d79a4b90d43a377aefbffbd17ae778c9 (patch)
tree74275a8e3d589825e8a26b220a77d68ce075aa58 /indoteknik_custom/report
parent099357ac4b17def99fe161eac3e04fec58814b06 (diff)
parent811e9dde8a027276b92a8dd594e11237b0b3b8c5 (diff)
(andri) fix merge
Diffstat (limited to 'indoteknik_custom/report')
-rw-r--r--indoteknik_custom/report/purchase_report.xml27
1 files changed, 11 insertions, 16 deletions
diff --git a/indoteknik_custom/report/purchase_report.xml b/indoteknik_custom/report/purchase_report.xml
index 6666235a..dd19340d 100644
--- a/indoteknik_custom/report/purchase_report.xml
+++ b/indoteknik_custom/report/purchase_report.xml
@@ -60,10 +60,11 @@
<tr>
<td style="width:50%; border:1px solid #ccc; border-radius:8px; padding:10px; background:#fcfcfc; vertical-align:top;">
<strong style="color:#d32f2f;">Alamat Pengiriman</strong><br/>
- PT Indoteknik (Bandengan 1 Depan)<br/>
- Jl. Bandengan Utara Komp A 8 B<br/>
- RT. Penjaringan, Kec. Penjaringan, Jakarta (BELAKANG INDOMARET)<br/>
- JK 14440 - Indonesia
+ PT. Indoteknik Dotcom Gemilang<br/>
+ Jl. Bandengan Utara Komp A 8 B
+ RT. Penjaringan, Kec. Penjaringan, Jakarta
+ (BELAKANG INDOMARET)<br/>
+ Daerah Khusus Ibukota Jakarta 14440
</td>
<td style="width:50%; border:1px solid #ccc; border-radius:8px; padding:10px; background:#fcfcfc; vertical-align:top;">
<strong style="color:#d32f2f;">Nama Vendor</strong><br/>
@@ -93,12 +94,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;">
@@ -107,12 +102,12 @@
</div>
</td>
- <t t-if="line.image_small">
<td style="border:1px solid #ccc; padding:6px; text-align:center;">
- <img t-att-src="image_data_uri(line.image_small)"
- style="width:100px; height:100px; object-fit:contain; border:1px solid #ddd; border-radius:6px; background:#fff;"/>
- </td>
+ <t t-if="line.image_small">
+ <img t-att-src="image_data_uri(line.image_small)"
+ style="width:100px; height:100px; object-fit:contain; border:1px solid #ddd; border-radius:6px; background:#fff;"/>
</t>
+ </td>
<!-- QTY -->
<td style="border:1px solid #ccc; padding:6px; text-align:center;">
<span t-field="line.product_qty"/> <span t-field="line.product_uom"/>
@@ -135,9 +130,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>