summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <it@fixcomart.co.id>2025-10-09 16:36:46 +0700
committerFIN-IT_AndriFP <it@fixcomart.co.id>2025-10-09 16:36:46 +0700
commitff4ec105fbd2cffda3b6d8bef2b4549561ba93e7 (patch)
tree5df02792bedb48d312f4e0e16f30c28e65a95e4c /indoteknik_custom/views
parent585fefbd00baf8a6fca7aeac1c845a7400fb5d2b (diff)
(andri) change type field + add field PUM perjalanan
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/advance_payment_request.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/indoteknik_custom/views/advance_payment_request.xml b/indoteknik_custom/views/advance_payment_request.xml
index 42736f6a..0ec5900a 100644
--- a/indoteknik_custom/views/advance_payment_request.xml
+++ b/indoteknik_custom/views/advance_payment_request.xml
@@ -63,7 +63,7 @@
</h1>
</div>
<group col="2">
- <group string="">
+ <group string=" ">
<field name="type_request" attrs="{'readonly': [('status', '=', 'approved')]}"/>
<field name="applicant_name" colspan="2" attrs="{'readonly': [('status', '=', 'approved')]}"/>
<field name="nominal" colspan="2" attrs="{'readonly': [('status', '=', 'approved')]}"/>
@@ -76,9 +76,9 @@
<field name="position_type" readonly="1"/>
<!-- <field name="partner_id" readonly="1"/> -->
<field name="departement_type"/>
-
- <field name="date_back_to_office"/>
- <field name="estimated_return_date" readonly="1" widget="badge"/>
+ <field name="apr_perjalanan" attrs="{'invisible': [('type_request', '=', 'reimburse')]}"/>
+ <field name="date_back_to_office" attrs="{'invisible': [('apr_perjalanan', '=', False)]}"/>
+ <field name="estimated_return_date" readonly="1" widget="badge" attrs="{'invisible': [('apr_perjalanan', '=', False)]}"/>
<field name="days_remaining" readonly="1" widget="badge"/>
<field name="approved_by" readonly="1"/>
<field name="create_date" readonly="1"/>
@@ -89,7 +89,7 @@
widget="badge" invisible = "1"/>
<field name="reason_reject" attrs="{'invisible': [('status', '!=', 'reject')], 'readonly': True}"/>
</group>
- <group>
+ <group string="Bukti Transfer">
<field name="attachment_type" attrs="{'readonly': [('status', '=', 'approved')]}"/>
<field name="attachment_file_pdf" filename="attachment_filename"
widget="pdf_viewer"