Esempio n. 1
0
    $voucherController->booking_search_voucher($_POST['code']);
}
if ($action == 'editVoucherInfo') {
    $id = $_POST['id'];
    $name = $_POST['name'];
    $variant = $_POST['variant'];
    $variant_api = $_POST['variant_api'];
    $price_czk = $_POST['price_czk'];
    $price_eur = $_POST['price_eur'];
    $places = $_POST['places'];
    $reserve_type = $_POST['reserve_type'];
    voucherController::editVoucherInfo($id, $name, $variant, $variant_api, $price_czk, $price_eur, $places, $reserve_type);
}
if ($action == "removeVoucherInfo") {
    $id = $_POST['id'];
    $reserve_type = $_POST['reserve_type'];
    voucherController::removeVoucherInfo($id, $reserve_type);
}
if ($action == 'booking_get_voucher_info') {
    $voucher_type = $_POST['voucher_type'];
    voucherController::bookingGetVoucherInfo($voucher_type);
}
if ($action == 'add_main_line_pin') {
    MainController::add_main_line_pin($_POST);
}
if ($action == 'main_editStartPointPopup_text') {
    MainController::main_editStartPointPopup_text();
}
if ($action == 'deleteRoute') {
    MainController::deleteRoute();
}