summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/down_payment.xml
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views/down_payment.xml')
-rw-r--r--indoteknik_custom/views/down_payment.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/views/down_payment.xml b/indoteknik_custom/views/down_payment.xml
index 49306550..3c8d007e 100644
--- a/indoteknik_custom/views/down_payment.xml
+++ b/indoteknik_custom/views/down_payment.xml
@@ -10,7 +10,7 @@
type="object"
string="Realisasi"
class="btn-primary"
- attrs="{'invisible': [('status', '=', 'reject')]}"/>
+ attrs="{'invisible': [('status', 'not in', 'approved')]}"/>
<button name="action_draft"
string="Reset to Draft"
attrs="{'invisible': [('status', '!=', 'reject')]}"
@@ -19,7 +19,7 @@
type="object"
string="Reject"
class="btn-danger"
- attrs="{'invisible': [('status', 'in', ['approved','reject'])]}"/>
+ attrs="{'invisible': [('status', 'in', ['approved','reject','draft'])]}"/>
<button name="action_confirm_payment"
type="object"
string="Konfirmasi Pembayaran"