示例#1
0
    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();
}
if ($action == 'sync_google_clndr') {
    $calController = new InstructorCalendarEvents();
    $calController->syncGoogleClndr();
}
if ($action == 'get_reservations_for_booking_calendar_by_dayhours') {