clinic/netforce_clinic/layouts/clinic_visit_calendar.xml

9 lines
513 B
XML

<calendar model="clinic.visit" states='draft' color_field="cycle_color" date_field="visit_date" start_field="time_start" end_field="time_stop" colors='{"#F1B2E1":[["cycle_color","=","#F1B2E1"]],"#B1DDF3":[["cycle_color","=","#B1DDF3"]],"#FFDE89":[["cycle_color","=","#FFDE89"]],"#E3675C":[["cycle_color","=","#E3675C"]]}'>
<field name="patient_id"/>
<field name="cycle_id"/>
<field name="number"/>
<field name="doctor_id"/>
<field name="nurse_id"/>
<field name="cycle_color"/>
</calendar>