From 96b91f49fac3dfb8e746319232780d1dc6a32cbe Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Fri, 22 Feb 2013 12:32:02 +0530 Subject: [PATCH] check toggle converted to true / false --- hr/doctype/leave_application/leave_application_calendar.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hr/doctype/leave_application/leave_application_calendar.js b/hr/doctype/leave_application/leave_application_calendar.js index eebd5590a5..398664e530 100644 --- a/hr/doctype/leave_application/leave_application_calendar.js +++ b/hr/doctype/leave_application/leave_application_calendar.js @@ -6,5 +6,12 @@ wn.views.calendar["Leave Application"] = wn.views.Calendar.extend({ "title": "title", "status": "status", }, + options: { + header: { + left: 'prev,next today', + center: 'title', + right: 'month' + } + }, get_events_method: "hr.doctype.leave_application.leave_application.get_events" }) \ No newline at end of file