34 lines
1.4 KiB
XML
34 lines
1.4 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="Import Payment" method="do_import" type="default"/>
|
|
</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="expense_id" onchange="onchange_line" domain='[["date","=",date],["patient_id.name","=",name]]'/>
|
|
<field name="state"/>
|
|
</list>
|
|
</field>
|
|
<foot replace="1">
|
|
<button string="Match" method="do_match" type="success" icon='ok'/>
|
|
<!--<button string="Import Payment" method="do_import" type="default" icon='arrow-right'/>-->
|
|
</foot>
|
|
</form>
|