summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/advance_payment_request.xml
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <it@fixcomart.co.id>2025-10-10 09:30:55 +0700
committerFIN-IT_AndriFP <it@fixcomart.co.id>2025-10-10 09:30:55 +0700
commitede22cbc80eed8b142457fe9779dcd61374f5c93 (patch)
tree767c956bd470bb198d8089a70834614e0a853f77 /indoteknik_custom/views/advance_payment_request.xml
parentff4ec105fbd2cffda3b6d8bef2b4549561ba93e7 (diff)
(andri) penyesuaian jabatan dan department + fix view
Diffstat (limited to 'indoteknik_custom/views/advance_payment_request.xml')
-rw-r--r--indoteknik_custom/views/advance_payment_request.xml15
1 files changed, 8 insertions, 7 deletions
diff --git a/indoteknik_custom/views/advance_payment_request.xml b/indoteknik_custom/views/advance_payment_request.xml
index 0ec5900a..134ec9bf 100644
--- a/indoteknik_custom/views/advance_payment_request.xml
+++ b/indoteknik_custom/views/advance_payment_request.xml
@@ -29,12 +29,12 @@
type="object"
string="Konfirmasi Pembayaran"
class="btn-info"
- attrs="{'invisible': ['|', ('status', 'in', ['reject','draft']), ('status_pay_down_payment', '=', 'payment')]}"/>
+ attrs="{'invisible': ['|', ('status', 'not in', ['approved']), ('status_pay_down_payment', '=', 'payment')]}"/>
<button name="action_ap_only"
type="object"
- string="AP Only"
+ string="Make CAB"
class="btn-info"
- attrs="{'invisible': ['|', ('status', 'in', ['approved','reject','draft']), ('is_cab_visible', '=', True)]}"/>
+ attrs="{'invisible': ['|', ('status', 'not in', ['approved']), ('is_cab_visible', '=', True)]}"/>
<field name="status" widget="statusbar"
statusbar_visible="draft,pengajuan1,pengajuan2,pengajuan3,approved"
statusbar_colors='{"reject":"red"}'
@@ -66,6 +66,7 @@
<group string=" ">
<field name="type_request" attrs="{'readonly': [('status', '=', 'approved')]}"/>
<field name="applicant_name" colspan="2" attrs="{'readonly': [('status', '=', 'approved')]}"/>
+ <field name="position_type" readonly="1"/>
<field name="nominal" colspan="2" attrs="{'readonly': [('status', '=', 'approved')]}"/>
<field name="bank_name" colspan="2" attrs="{'readonly': [('status', '=', 'approved')]}"/>
<field name="account_name" colspan="2" attrs="{'readonly': [('status', '=', 'approved')]}"/>
@@ -73,11 +74,12 @@
<field name="detail_note" attrs="{'readonly': [('status', '=', 'approved')]}"/>
<br/>
<field name="user_id" readonly="1"/>
- <field name="position_type" readonly="1"/>
+ <!-- <field name="position_type" readonly="1"/> -->
<!-- <field name="partner_id" readonly="1"/> -->
<field name="departement_type"/>
<field name="apr_perjalanan" attrs="{'invisible': [('type_request', '=', 'reimburse')]}"/>
<field name="date_back_to_office" attrs="{'invisible': [('apr_perjalanan', '=', False)]}"/>
+ <p style="font-size: 10px; color: grey; font-style: italic" attrs="{'invisible': [('apr_perjalanan', '=', False)]}">*Setelah tanggal kembali, pemohon diharapkan untuk segera memproses realisasi PUM</p>
<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"/>
@@ -101,9 +103,8 @@
style="max-width:250px; max-height:250px; object-fit:contain;"/>
<br/>
</group>
-
- <notebook>
- <page string="Reimburse" attrs="{'invisible': [('type_request', '!=', 'reimburse')]}">
+ <notebook attrs="{'invisible': [('type_request', '!=', 'reimburse')]}">
+ <page string="Reimburse">
<h1>Hello World HEHE</h1>
</page>
</notebook>