Esempio n. 1
0
}
if ($action == 'booking_deleteClientReservation') {
    reservationController::deleteClientReservation();
    clientsTable(CalendarController::getDateHoursReservations());
}
if ($action == 'booking_deleteClientHoursReservation') {
    reservationController::booking_deleteClientHoursReservation();
}
if ($action == 'booking_change_day_state') {
    MainController::changeWeekdayState();
}
if ($action == 'booking_create_client') {
    MainController::booking_create_client();
}
if ($action == "booking_get_confirm_code") {
    MainController::booking_get_confirm_code();
}
if ($action == 'remove_hours') {
    HoursController::remove_hours();
}
if ($action == 'edit_hours') {
    HoursController::edit_hours();
}
if ($action == 'change_hour_state') {
    HoursController::change_hour_state();
}
if ($action == 'booking_get_instructors_list_for_clndr_render') {
    echo json_encode(instructorController::getInstructors());
}
if ($action == 'get_reservations_for_booking_calendar') {
    CalendarController::booking_get_reservations();