conv_bal
watcha.h 2014-10-23 12:36:00 +07:00
parent 14b7a67e92
commit e2bb209c5c
1 changed files with 6 additions and 3 deletions

View File

@ -6,9 +6,12 @@
<newline/>
<field name="to_pay" readonly="1"/>
<newline/>
<group attrs='{"invisible":[["pay_amount","=",0]]}'>
<field name="complete" help="Mark as complete"/>
</group>
<foot>
<button string="Cash" type="success" icon="ok" method="cash" confirm="Are you sure?"/>
<button string="Credit" type="default" icon="check" method="credit"/>
<button attrs='{"invisible":[["pay_amount","=",0]]}' string="Cash" type="success" icon="ok" method="cash" confirm="Are you sure?"/>
<button attrs='{"invisible":[["pay_amount","=",0]]}' string="Credit" type="default" icon="check" method="credit"/>
<button attrs='{"invisible":[["pay_amount","!=",0]]}' string="OK" type="success" icon="ok" method="credit"/>
</foot>
</form>