diff options
| author | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-10-28 17:32:46 +0700 |
|---|---|---|
| committer | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-10-28 17:32:46 +0700 |
| commit | b95b268f66a82c0d1703f9d7644d3575b63f345d (patch) | |
| tree | 27d2a557930db303098be3a850327f2203ff0126 /indoteknik_custom/views/advance_payment_request.xml | |
| parent | 5d9d801c1aba7f047a16ae6e0ac84655480fadae (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.xml | 3 |
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')]}"/> |
