payment
parent
14b7a67e92
commit
e2bb209c5c
|
@ -6,9 +6,12 @@
|
|||
<newline/>
|
||||
<field name="to_pay" readonly="1"/>
|
||||
<newline/>
|
||||
<field name="complete" help="Mark as complete"/>
|
||||
<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>
|
||||
|
|
Loading…
Reference in New Issue