50 lines
2.0 KiB
PHP
50 lines
2.0 KiB
PHP
|
<?php
|
||
|
define ( 'OK', "1");
|
||
|
define ( 'YES', "Yes");
|
||
|
define ( 'NO', "No");
|
||
|
define ( 'ERROR_NOT_AUTHOTRIZED_MSG', 'Admin-Rechte erforderlich' );
|
||
|
|
||
|
define ( 'ERROR_NOT_AUTHOTRIZED', '2' );
|
||
|
define ( 'ERROR_BILL_NOT_AUTHOTRIZED', '3');
|
||
|
define ( 'ERROR_BILL_NOT_AUTHOTRIZED_MSG', 'Fehlende Benutzerrechte (Bons)');
|
||
|
|
||
|
define ( 'ERROR_PAYDESK_NOT_AUTHOTRIZED', '4');
|
||
|
define ( 'ERROR_PAYDESK_NOT_AUTHOTRIZED_MSG', 'Fehlende Benutzerrechte (Kasse)');
|
||
|
|
||
|
define ( 'ERROR_MANAGER_NOT_AUTHOTRIZED', '5');
|
||
|
define ( 'ERROR_MANAGER_NOT_AUTHOTRIZED_MSG', 'Fehlende Benutzerrechte (Verwaltung)');
|
||
|
|
||
|
define ( 'ERROR_PRODUCTS_NOT_AUTHOTRIZED', '6');
|
||
|
define ( 'ERROR_PRODUCTS_NOT_AUTHOTRIZED_MSG', 'Fehlende Benutzerrechte (Produktangebot)');
|
||
|
|
||
|
define ( 'ERROR_BILL_NOT_STORNO_CODE', '7');
|
||
|
define ( 'ERROR_BILL_NOT_STORNO_CODE_MSG', 'Stornocode nicht gesetzt');
|
||
|
define ( 'ERROR_BILL_WRONG_STORNO_CODE', '8');
|
||
|
define ( 'ERROR_BILL_WRONG_STORNO_CODE_MSG', 'Falscher Stornocode');
|
||
|
define ( 'ERROR_BILL_WRONG_NUMERIC_VALUE', '9');
|
||
|
define ( 'ERROR_BILL_WRONG_NUMERIC_VALUE_MSG', 'Rechnungsnummer falsch');
|
||
|
define ( 'ERROR_BILL_ALREADY_CLOSED', '10');
|
||
|
define ( 'ERROR_BILL_ALREADY_CLOSED_MSG', 'Bon schon in Tagesabschluss');
|
||
|
|
||
|
define ( 'ERROR_BILL_ALREADY_CANCELLED', '11');
|
||
|
define ( 'ERROR_BILL_ALREADY_CANCELLED_MSG', 'Bon schon storniert');
|
||
|
|
||
|
define ( 'ERROR_BILL_LESS_MONEY_TO_TAKE_OUT', '12');
|
||
|
define ( 'ERROR_BILL_LESS_MONEY_TO_TAKE_OUT_MSG', 'Weniger Geld in Kasse als entnommen werden soll');
|
||
|
|
||
|
define ( 'ERROR_GENERAL_PAYDESK_SUM', '13');
|
||
|
define ( 'ERROR_GENERAL_PAYDESK_SUM_MSG', 'Aktueller Kassenbestand nicht ermittelbar');
|
||
|
|
||
|
define ( 'ERROR_GENERAL_ID_TYPE', '14');
|
||
|
define ( 'ERROR_GENERAL_ID_TYPE_MSG', 'Falscher Typ des Referenzschluessels');
|
||
|
|
||
|
define ( 'ERROR_GENERAL_DB_NOT_READABLE', '15');
|
||
|
define ( 'ERROR_GENERAL_DB_NOT_READABLE_MSG', 'Datenbankleseprozess abgebrochen');
|
||
|
|
||
|
define ( 'ERROR_DB_PAR_ACCESS', '16');
|
||
|
define ( 'ERROR_DB_PAR_ACCESS_MSG', 'Gleichzeitiger DB-Zugriff');
|
||
|
|
||
|
define ( 'FOOD_PRINT_TYPE', 1);
|
||
|
define ( 'DRINK_PRINT_TYPE', 2);
|
||
|
define ( 'PAY_PRINT_TYPE', 3);
|
||
|
?>
|