33 lines
1.3 KiB
XML
33 lines
1.3 KiB
XML
<form model="clinic.matching.payment" title="Payment Matching">
|
|
<head>
|
|
<button string="Options" dropdown="1">
|
|
<item string="Update Identification" method="update_id"/>
|
|
<item string="Make Payment" method="do_import" type="default" confirm="Are you sure?"/>
|
|
</button>
|
|
</head>
|
|
<field name="date" onchange="onchange_date" mode="month" span="3"/>
|
|
<field name="date_from" span="3"/>
|
|
<field name="date_to" span="3"/>
|
|
<field name="file" span="3"/>
|
|
<newline/>
|
|
<field name="patient_type_id" onchange="onchange_ptype" span="3"/>
|
|
<field name="pcode" span="3"/>
|
|
<field name="hcode_id" span="3" attrs='{"required":[["pcode","=","SSO"]],"invisible":[["pcode","!=","SSO"]]}'/>
|
|
<field name="lines" nolabel="1" count="0">
|
|
<list>
|
|
<field name="date"/>
|
|
<field name="hn"/>
|
|
<field name="pid"/>
|
|
<field name="name"/>
|
|
<field name="epo"/>
|
|
<field name="service"/>
|
|
<field name="fee"/>
|
|
<field name="invoice_id" domain='[["date","=",date],["state","=","waiting_payment"]]'/>
|
|
<field name="state"/>
|
|
</list>
|
|
</field>
|
|
<foot replace="1">
|
|
<button string="Match" method="do_match" type="success" icon='ok'/>
|
|
</foot>
|
|
</form>
|