summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/down_payment.xml4
-rw-r--r--indoteknik_custom/views/down_payment_realization.xml8
2 files changed, 11 insertions, 1 deletions
diff --git a/indoteknik_custom/views/down_payment.xml b/indoteknik_custom/views/down_payment.xml
index 3830154f..4c327d36 100644
--- a/indoteknik_custom/views/down_payment.xml
+++ b/indoteknik_custom/views/down_payment.xml
@@ -50,6 +50,8 @@
<field name="departement_type"/>
<field name="status_pay_down_payment" readonly="1"/>
<field name="create_date" readonly="1"/>
+ <field name="estimated_return_date" readonly="1"/>
+ <field name="days_remaining" readonly="1"/>
<field name="detail_note" attrs="{'readonly': [('status', '=', 'approved')]}"/>
</group>
</group>
@@ -80,6 +82,8 @@
decoration-success="status_pay_down_payment == 'payment'"
decoration-danger="status_pay_down_payment == 'pending'"
widget="badge"/>
+ <field name="estimated_return_date" optional="hide"/>
+ <field name="days_remaining" readonly="1"/>
</tree>
</field>
</record>
diff --git a/indoteknik_custom/views/down_payment_realization.xml b/indoteknik_custom/views/down_payment_realization.xml
index ab8034c6..3dcd2a8e 100644
--- a/indoteknik_custom/views/down_payment_realization.xml
+++ b/indoteknik_custom/views/down_payment_realization.xml
@@ -4,11 +4,17 @@
<field name="model">realization.down.payment</field>
<field name="arch" type="xml">
<form string="Realisasi Uang Muka">
+ <header>
+ <button name="action_validation"
+ type="object"
+ string="Validasi"
+ class="btn-primary"
+ attrs="{}"/>
+ </header>
<sheet>
<h1>
<field name="title" class="oe_title"/>
</h1>
-
<group col="2">
<group>
<field name="pum_id" readonly="1"/>