forked from Khatavahi-BI-Solutions/bookingapp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
68e8471
commit 3d59993
Showing
4 changed files
with
152 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 16 additions & 16 deletions
32
bookingapp/booking_service_app/doctype/book_service/book_service_calendar.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
frappe.views.calendar['Book Service'] = { | ||
field_map: { | ||
start: 'from_time', | ||
end: 'to_time', | ||
id: 'name', | ||
allDay: 'allDay', | ||
title: 'subject', | ||
// status: 'event_type', | ||
color: 'color' | ||
}, | ||
gantt: true, | ||
style_map: { | ||
Public: 'success', | ||
Private: 'info' | ||
}, | ||
// order_by: 'to_time', | ||
get_events_method: 'bookingapp.booking_service_app.doctype.book_service.book_service.get_book_service_details' | ||
field_map: { | ||
start: 'from_time', | ||
end: 'to_time', | ||
id: 'name', | ||
allDay: 'allDay', | ||
title: 'subject', | ||
// status: 'event_type', | ||
color: 'color' | ||
}, | ||
gantt: true, | ||
style_map: { | ||
Public: 'success', | ||
Private: 'info' | ||
}, | ||
// order_by: 'to_time', | ||
get_events_method: 'bookingapp.booking_service_app.doctype.book_service.book_service.get_book_service_details' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
frappe.ui.form.on('Item', { | ||
booking_item: function(frm) { | ||
if(frm.doc.booking_item == 0){ | ||
frm.doc.service_item = "" | ||
} | ||
} | ||
}) |