clinic/netforce_clinic/layouts/clinic_schedule_form.xml

20 lines
718 B
XML
Raw Normal View History

2014-11-01 06:04:30 +00:00
<form model="clinic.schedule" attrs='{"readonly":[["state","in",["confirmed"]]]}' show_company="1">
2014-10-28 15:16:16 +00:00
<head>
2014-11-01 06:04:30 +00:00
<field name="state"/>
2014-10-28 15:16:16 +00:00
<button string="Options" dropdown="1">
<item string="Copy" method="copy"/>
</button>
</head>
2014-11-01 06:04:30 +00:00
<group form_layout="stacked">
<field name="time_start" span="3"/>
2014-11-03 11:22:48 +00:00
<field name="time_stop" span="3"/>
2014-11-01 06:04:30 +00:00
<field name="cycle_id" span="3"/>
<newline/>
<field name="nurses" span="8"/>
</group>
<foot>
<button string="Confirm" type="success" method="confirm" states="draft" />
<button string="To Draft" type="default" icon="repeat" method="to_draft" states="confirmed" />
</foot>
2014-10-28 15:16:16 +00:00
</form>