summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-09-15 16:23:48 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-09-15 16:23:48 +0700
commit1ca068669ba7e255e8a69d981aba513dcfeedd40 (patch)
tree4e3f7863eaf7cb55de437f992fec84dda60d53c0 /indoteknik_custom/views
parentfb069315f937ea1a8a094d23f22f8314cef412a4 (diff)
<hafid> fix validasi refund
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/refund_sale_order.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/views/refund_sale_order.xml b/indoteknik_custom/views/refund_sale_order.xml
index 0c6cd371..51f3deab 100644
--- a/indoteknik_custom/views/refund_sale_order.xml
+++ b/indoteknik_custom/views/refund_sale_order.xml
@@ -92,7 +92,7 @@
</div>
<field name="show_approval_alert" invisible="1"/>
<div class="alert alert-info" role="alert"
- attrs="{'invisible': ['|', ('show_approval_alert', '=', False), ('status', 'in', ['reject', 'refund'])]}">
+ attrs="{'invisible': ['|', ('show_approval_alert', '=', False), '|', ('status', 'in', ['reject', 'refund']), ('refund_type', 'not in', ['retur_full', 'retur_sebagian'])]}">
⚠️ SO sudah melakukan retur barang. Silakan lanjutkan refund.
</div>
</xpath>