mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2025-01-06 22:12:25 +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 customerId = $(event.currentTarget).attr('data-id');
|
||||||
const customer = filterResults.find((filterResult) => Number(filterResult.id) === Number(customerId));
|
const customer = filterResults.find((filterResult) => Number(filterResult.id) === Number(customerId));
|
||||||
|
|
||||||
display(customer);
|
App.Pages.Customers.display(customer);
|
||||||
$('#filter-customers .selected').removeClass('selected');
|
$('#filter-customers .selected').removeClass('selected');
|
||||||
$(event.currentTarget).addClass('selected');
|
$(event.currentTarget).addClass('selected');
|
||||||
$('#edit-customer, #delete-customer').prop('disabled', false);
|
$('#edit-customer, #delete-customer').prop('disabled', false);
|
||||||
|
|
|
@ -59,7 +59,7 @@ App.Pages.ServiceCategories = (function () {
|
||||||
(filterResult) => Number(filterResult.id) === Number(serviceCategoryId),
|
(filterResult) => Number(filterResult.id) === Number(serviceCategoryId),
|
||||||
);
|
);
|
||||||
|
|
||||||
display(serviceCategory);
|
App.Pages.ServiceCategories.display(serviceCategory);
|
||||||
$('#filter-service-categories .selected').removeClass('selected');
|
$('#filter-service-categories .selected').removeClass('selected');
|
||||||
$(event.currentTarget).addClass('selected');
|
$(event.currentTarget).addClass('selected');
|
||||||
$('#edit-service-category, #delete-service-category').prop('disabled', false);
|
$('#edit-service-category, #delete-service-category').prop('disabled', false);
|
||||||
|
@ -313,7 +313,7 @@ App.Pages.ServiceCategories = (function () {
|
||||||
if (show) {
|
if (show) {
|
||||||
const serviceCategory = filterResults.find((serviceCategory) => Number(serviceCategory.id) === Number(id));
|
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);
|
$('#edit-service-category, #delete-service-category').prop('disabled', false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue