mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 15:09:20 +00:00
Rename doctype Appointment Booking Slots
This commit is contained in:
@@ -4,7 +4,7 @@ function check_times(frm) {
|
|||||||
let from_time = Date.parse('01/01/2019 ' + d.from_time);
|
let from_time = Date.parse('01/01/2019 ' + d.from_time);
|
||||||
let to_time = Date.parse('01/01/2019 ' + d.to_time);
|
let to_time = Date.parse('01/01/2019 ' + d.to_time);
|
||||||
if (from_time > 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"`));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
"fieldname": "availability_of_slots",
|
"fieldname": "availability_of_slots",
|
||||||
"fieldtype": "Table",
|
"fieldtype": "Table",
|
||||||
"label": "Availability Of Slots",
|
"label": "Availability Of Slots",
|
||||||
"options": "Availability Of Slots",
|
"options": "Appointment Booking Slots",
|
||||||
"reqd": 1
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -99,7 +99,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"issingle": 1,
|
"issingle": 1,
|
||||||
"modified": "2019-11-14 12:17:08.721683",
|
"modified": "2019-11-19 10:53:26.935061",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "CRM",
|
"module": "CRM",
|
||||||
"name": "Appointment Booking Settings",
|
"name": "Appointment Booking Settings",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"creation": "2019-08-27 10:52:54.204677",
|
"creation": "2019-11-19 10:49:49.494927",
|
||||||
"doctype": "DocType",
|
"doctype": "DocType",
|
||||||
"editable_grid": 1,
|
"editable_grid": 1,
|
||||||
"engine": "InnoDB",
|
"engine": "InnoDB",
|
||||||
@@ -33,10 +33,10 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"istable": 1,
|
"istable": 1,
|
||||||
"modified": "2019-08-27 10:52:54.204677",
|
"modified": "2019-11-19 10:49:49.494927",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "CRM",
|
"module": "CRM",
|
||||||
"name": "Availabilty Of Slots",
|
"name": "Appointment Booking Slots",
|
||||||
"owner": "Administrator",
|
"owner": "Administrator",
|
||||||
"permissions": [],
|
"permissions": [],
|
||||||
"quick_entry": 1,
|
"quick_entry": 1,
|
||||||
@@ -6,6 +6,5 @@ from __future__ import unicode_literals
|
|||||||
# import frappe
|
# import frappe
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
|
class AppointmentBookingSlots(Document):
|
||||||
class AvailabiltyOfSlots(Document):
|
pass
|
||||||
pass
|
|
||||||
Reference in New Issue
Block a user