Rename doctype Appointment Booking Slots

This commit is contained in:
0Pranav 2019-11-19 10:56:58 +05:30
parent 18fda5a571
commit 539ea2cefb
5 changed files with 8 additions and 9 deletions

View File

@ -4,7 +4,7 @@ function check_times(frm) {
let from_time = Date.parse('01/01/2019 ' + d.from_time);
let to_time = Date.parse('01/01/2019 ' + d.to_time);
if (from_time > to_time) {
frappe.throw(__(`In row ${i + 1} of Availability Of Slots : "To Time" must be later than "From Time"`));
frappe.throw(__(`In row ${i + 1} of Appointment Booking Slots : "To Time" must be later than "From Time"`));
}
});
}

View File

@ -22,7 +22,7 @@
"fieldname": "availability_of_slots",
"fieldtype": "Table",
"label": "Availability Of Slots",
"options": "Availability Of Slots",
"options": "Appointment Booking Slots",
"reqd": 1
},
{
@ -99,7 +99,7 @@
}
],
"issingle": 1,
"modified": "2019-11-14 12:17:08.721683",
"modified": "2019-11-19 10:53:26.935061",
"modified_by": "Administrator",
"module": "CRM",
"name": "Appointment Booking Settings",

View File

@ -1,5 +1,5 @@
{
"creation": "2019-08-27 10:52:54.204677",
"creation": "2019-11-19 10:49:49.494927",
"doctype": "DocType",
"editable_grid": 1,
"engine": "InnoDB",
@ -33,10 +33,10 @@
}
],
"istable": 1,
"modified": "2019-08-27 10:52:54.204677",
"modified": "2019-11-19 10:49:49.494927",
"modified_by": "Administrator",
"module": "CRM",
"name": "Availabilty Of Slots",
"name": "Appointment Booking Slots",
"owner": "Administrator",
"permissions": [],
"quick_entry": 1,

View File

@ -6,6 +6,5 @@ from __future__ import unicode_literals
# import frappe
from frappe.model.document import Document
class AvailabiltyOfSlots(Document):
pass
class AppointmentBookingSlots(Document):
pass