clinic/netforce_clinic/layouts/clinic_visit_calendar.xml

9 lines
374 B
XML

<calendar model="clinic.visit" states='pending' date_field="visit_date" colors='{"#090":[["cycle","=",1]],"#2400ff":[["cycle","=",2]],"#ebff00":[["cycle","=",3]],"#f20000":[["cycle","=",4]]}'>
<field name="patient_id"/>
<field name="cycle"/>
<field name="number"/>
<field name="doctor_id"/>
<field name="nurse_id"/>
<field name="state"/>
</calendar>