clinic/netforce_clinic/layouts/clinic_payment_matching.xml

22 lines
1.1 KiB
XML

<form model="clinic.payment.matching">
<!--<field name="date" span="2" mode="month"/>-->
<group form_layout="stacked">
<separator string="Invoice Filter"/>
<field name="period_id" onchange="onchange_period" domain='[["state","=","open"]]' span="2"/>
<field name="date_from" span="2"/>
<field name="date_to" span="2"/>
<field name="inv_state" span="2"/>
<field name="branch_id" span="2"/>
<field name="department_id" domain='[["branch_id","=",branch_id]]' span="2"/>
</group>
<separator string="Document Mathing"/>
<field name="view_type" span="2"/>
<button string="Copy Invoice To Payment" icon="arrow-right"/>
<group form_layout="stacked" attrs='{"invisible":[["view_type","=","invoice"]]}'>
<field name="file_id" span="2"/>
<field name="patient_type_id" onchange="onchange_ptype" span="2" attrs='{"required":[["view_type","=","matching"]]}'/>
<field name="pcode" span="2" attrs='{"required":[["view_type","=","matching"]]}'/>
<field name="hcode_id" span="2" attrs='{"required":[["pcode","=","SSO"]],"invisible":[["pcode","!=","SSO"]]}'/>
</group>
</form>