summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/advance_payment_request.xml
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <it@fixcomart.co.id>2025-10-28 17:32:46 +0700
committerFIN-IT_AndriFP <it@fixcomart.co.id>2025-10-28 17:32:46 +0700
commitb95b268f66a82c0d1703f9d7644d3575b63f345d (patch)
tree27d2a557930db303098be3a850327f2203ff0126 /indoteknik_custom/views/advance_payment_request.xml
parent5d9d801c1aba7f047a16ae6e0ac84655480fadae (diff)
(andri) fix days remaining compute + add autoset nominal reimburse based grandtotal
Diffstat (limited to 'indoteknik_custom/views/advance_payment_request.xml')
-rw-r--r--indoteknik_custom/views/advance_payment_request.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/views/advance_payment_request.xml b/indoteknik_custom/views/advance_payment_request.xml
index c33a2843..2a8e1318 100644
--- a/indoteknik_custom/views/advance_payment_request.xml
+++ b/indoteknik_custom/views/advance_payment_request.xml
@@ -88,7 +88,8 @@
<field name="is_represented" attrs="{'readonly': [('status', '=', 'approved')], 'invisible': [('type_request', '=', 'reimburse')]}"/>
<field name="applicant_name" colspan="2" attrs="{'readonly': [('status', '=', 'approved')]}"/>
<field name="position_type" force_save="1" readonly="1"/>
- <field name="nominal" colspan="2" attrs="{'readonly': [('status', '=', 'approved')]}"/>
+ <field name="nominal" colspan="2" attrs="{'readonly': ['|', ('status', '=', 'approved'), ('type_request', '=', 'reimburse')]}" force_save="1"/>
+ <p style="font-size: 10px; color: grey; font-style: italic" attrs="{'invisible': [('type_request', '!=', 'reimburse')]}">*Nominal terisi otomatis sesuai grand total rincian reimburse</p>
<field name="bank_name" colspan="2" attrs="{'readonly': [('status', '=', 'approved')]}"/>
<field name="account_name" colspan="2" attrs="{'readonly': [('status', '=', 'approved')]}"/>
<field name="bank_account" colspan="2" attrs="{'readonly': [('status', '=', 'approved')]}"/>