clinic/netforce_clinic/layouts/clinic_visit_form.xml

34 lines
1.3 KiB
XML
Raw Normal View History

2014-10-02 02:02:22 +00:00
<form model="clinic.visit" attrs='{"readonly":[["state","in",["cancelled","confirmed"]]]}' show_company="1">
2014-08-19 11:36:46 +00:00
<head>
<field name="state"/>
2014-10-02 00:34:58 +00:00
<button string="Print" icon="print" action="print_visit"/>
2014-08-19 11:36:46 +00:00
<button string="Options" dropdown="1">
2014-10-02 19:12:52 +00:00
<item string="Copy" method="copy"/>
2014-08-19 11:36:46 +00:00
</button>
</head>
<tabs>
2014-10-02 00:34:58 +00:00
<tab string="Visit">
2014-10-02 02:02:22 +00:00
<group span="6" columns="1">
<field name="number"/>
<field name="visit_date"/>
<field name="cycle"/>
2014-10-02 19:12:52 +00:00
<field name="time_use"/>
2014-10-02 02:02:22 +00:00
</group>
<group span="6" columns="1">
<field name="department_id"/>
<field name="patient_id" onchange="onchange_patient"/>
<field name="doctor_id"/>
<field name="nurse_id"/>
</group>
2014-10-02 00:34:58 +00:00
</tab>
2014-08-19 11:36:46 +00:00
</tabs>
2014-09-11 03:21:52 +00:00
<foot>
2014-10-02 00:34:58 +00:00
<button string="Confirm" type="success" method="confirm" states="pending" />
2014-10-02 02:02:22 +00:00
<button string="Reopen" type="default" method="reopen" states="cancelled" />
<button string="Cancel" type="danger" method="cancel" states="confirmed" confirm="Are you sure to cancel HD case?"/>
2014-09-11 03:21:52 +00:00
</foot>
2014-08-19 11:36:46 +00:00
<related>
2014-10-02 00:34:58 +00:00
<field name="comments"/>
2014-08-19 11:36:46 +00:00
</related>
</form>