[views] cleaned up, added ganttview
This commit is contained in:
parent
9c8ed8b71f
commit
c4f08ef456
@ -1,4 +1,4 @@
|
|||||||
wn.views.calendar["Leave Application"] = wn.views.Calendar.extend({
|
wn.views.calendar["Leave Application"] = {
|
||||||
field_map: {
|
field_map: {
|
||||||
"start": "from_date",
|
"start": "from_date",
|
||||||
"end": "to_date",
|
"end": "to_date",
|
||||||
@ -14,4 +14,4 @@ wn.views.calendar["Leave Application"] = wn.views.Calendar.extend({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
get_events_method: "hr.doctype.leave_application.leave_application.get_events"
|
get_events_method: "hr.doctype.leave_application.leave_application.get_events"
|
||||||
})
|
}
|
@ -1,4 +1,4 @@
|
|||||||
wn.views.calendar["Time Log"] = wn.views.Calendar.extend({
|
wn.views.calendar["Time Log"] = {
|
||||||
field_map: {
|
field_map: {
|
||||||
"start": "from_time",
|
"start": "from_time",
|
||||||
"end": "to_time",
|
"end": "to_time",
|
||||||
@ -7,4 +7,4 @@ wn.views.calendar["Time Log"] = wn.views.Calendar.extend({
|
|||||||
"allDay": "allDay"
|
"allDay": "allDay"
|
||||||
},
|
},
|
||||||
get_events_method: "projects.doctype.time_log.time_log.get_events"
|
get_events_method: "projects.doctype.time_log.time_log.get_events"
|
||||||
})
|
}
|
Loading…
x
Reference in New Issue
Block a user