mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 01:52:22 +03:00
Missing calls
This commit is contained in:
parent
001231cfe4
commit
abfb649851
2 changed files with 3 additions and 3 deletions
|
@ -75,7 +75,7 @@ App.Pages.Customers = (function () {
|
|||
const customerId = $(event.currentTarget).attr('data-id');
|
||||
const customer = filterResults.find((filterResult) => Number(filterResult.id) === Number(customerId));
|
||||
|
||||
display(customer);
|
||||
App.Pages.Customers.display(customer);
|
||||
$('#filter-customers .selected').removeClass('selected');
|
||||
$(event.currentTarget).addClass('selected');
|
||||
$('#edit-customer, #delete-customer').prop('disabled', false);
|
||||
|
|
|
@ -59,7 +59,7 @@ App.Pages.ServiceCategories = (function () {
|
|||
(filterResult) => Number(filterResult.id) === Number(serviceCategoryId),
|
||||
);
|
||||
|
||||
display(serviceCategory);
|
||||
App.Pages.ServiceCategories.display(serviceCategory);
|
||||
$('#filter-service-categories .selected').removeClass('selected');
|
||||
$(event.currentTarget).addClass('selected');
|
||||
$('#edit-service-category, #delete-service-category').prop('disabled', false);
|
||||
|
@ -313,7 +313,7 @@ App.Pages.ServiceCategories = (function () {
|
|||
if (show) {
|
||||
const serviceCategory = filterResults.find((serviceCategory) => Number(serviceCategory.id) === Number(id));
|
||||
|
||||
display(serviceCategory);
|
||||
App.Pages.ServiceCategories.display(serviceCategory);
|
||||
|
||||
$('#edit-service-category, #delete-service-category').prop('disabled', false);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue