2014-11-27 15:14:31 +00:00
|
|
|
<form model="clinic.period">
|
|
|
|
<head>
|
|
|
|
<button string="Options" dropdown="1">
|
2015-06-20 10:01:37 +00:00
|
|
|
<item string="Generate Period" method="gen_period"/>
|
2014-11-27 15:14:31 +00:00
|
|
|
</button>
|
|
|
|
</head>
|
|
|
|
<group form_layout="stacked">
|
2014-12-16 09:53:36 +00:00
|
|
|
<field name="name" span="2"/>
|
|
|
|
<field name="date_start" span="2"/>
|
|
|
|
<field name="date_stop" span="2"/>
|
|
|
|
<field name="nmonth" span="2"/>
|
|
|
|
<field name="last_period_id" span="3"/>
|
2014-11-27 15:14:31 +00:00
|
|
|
<field name="lines" nolabel="1">
|
|
|
|
<list>
|
|
|
|
<field name="date_start"/>
|
|
|
|
<field name="date_stop"/>
|
2014-12-15 17:46:43 +00:00
|
|
|
<field name="day_total"/>
|
2015-06-20 10:01:37 +00:00
|
|
|
<field name="state"/>
|
2014-11-27 15:14:31 +00:00
|
|
|
</list>
|
|
|
|
</field>
|
|
|
|
</group>
|
|
|
|
<foot>
|
2015-06-20 10:01:37 +00:00
|
|
|
<button string="Close Period" type="danger" method="close_period"/>
|
2014-11-27 15:14:31 +00:00
|
|
|
</foot>
|
|
|
|
</form>
|