clinic/netforce_clinic/layouts/clinic_make_apt.xml

27 lines
1.1 KiB
XML

<form model="clinic.make.apt" title="Make An Appointment">
<separator string="1. Select Period And Add Some Filter > 2. Click Load Data > 3. Select Patient > 4. Generate Visit"/>
<field name="date" span="2" mode="month" onchange="onchange_date"/>
<field name="date_from" span="2"/>
<field name="date_to" span="2"/>
<field name="cycle_id" span="2"/>
<field name="branch_id" span="2" onchange="onchange_branch"/>
<field name="department_id" domain='[["branch_id","=",branch_id]]' span="2"/>
<field name="lines" nolabel="1">
<list>
<field name="patient_id"/>
<field name="department_id"/>
<field name="mon_cycle_id"/>
<field name="tue_cycle_id"/>
<field name="wed_cycle_id"/>
<field name="thu_cycle_id"/>
<field name="fri_cycle_id"/>
<field name="sat_cycle_id"/>
<field name="sun_cycle_id"/>
</list>
</field>
<foot replace="1">
<button string="Load Data" method="load" icon="repeat" type="primary"/>
<button string="Generate" method="gen" icon="arrow-right" type="success"/>
</foot>
</form>