ordersprinter/webapp/manager.html

5192 lines
260 KiB
HTML
Raw Permalink Normal View History

2020-11-19 22:47:44 +01:00
<html>
<head>
2020-11-19 23:14:48 +01:00
<title>Ansicht Administration</title>
2020-11-19 22:47:44 +01:00
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
2020-11-19 22:48:24 +01:00
<meta name="author" content="Stefan Pichel">
2020-11-19 22:47:44 +01:00
2020-11-19 23:24:09 +01:00
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=2.0.11">
2020-11-19 22:47:44 +01:00
2020-11-19 23:02:42 +01:00
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
2020-11-19 22:47:44 +01:00
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
<link rel="stylesheet" href="php/3rdparty/jquery.mobile-1.4.0.min.css" type="text/css" />
2020-11-19 22:48:24 +01:00
<script src="php/3rdparty/jquery-1.11.3.min.js"></script>
2020-11-19 23:14:48 +01:00
<!-- <script src="https://code.jquery.com/jquery-1.11.3.js"></script> -->
2020-11-19 22:48:24 +01:00
<script src="php/3rdparty/jquery.mobile-1.4.5.min.js"></script>
2020-11-19 23:24:09 +01:00
<script src="utilities.js?v=2.0.11"></script>
<script src="elements/tablemap.js?v=2.0.11"></script>
<script src="elements/roommap.js?v=2.0.11"></script>
<script src="elements/groundplan.js?v=2.0.11"></script>
<script src="elements/tse.js?v=2.0.11"></script>
<script src="elements/closing.js?v=2.0.11"></script>
2020-11-19 23:03:35 +01:00
<link href="php/3rdparty/hayageek_uploadfile.css" rel="stylesheet">
<script src="php/3rdparty/hayageek_jquery_uploadfile.js"></script>
2020-11-19 22:47:44 +01:00
<style>
@media all
{
.printpart {display: none;}
}
@media print
{
.printpart {display: inline;};
}
@media print
{
.noprint {display: none;};
}
</style>
</head>
<body>
<script>
var MAN_CANCEL = ["Abbrechen","Cancel","Cancelar"];
var MAN_APPLY = ["Anwenden","Apply","Aplicar"];
var MAN_ACCOUNT_EXPORT = ["Abrechnung und Datenexport","Accounting and Data Export","Calculo y export de datos"];
var MAN_CLOSING = ["Tagesabschluss","Closing","Conclusión"];
var MAN_CLOSING2 = ["Tageslosung ","Closing ","Conclusión "];
var MAN_INFO_ACCOUNT_EXPORT = ["Hier finden sich die Menüpunkte zum Tagesabschluss oder Datenexport.",
"Here you can handle the closings and the data export.",
"Aquí hay los punto para administrar las conclusiones y el export de datos"];
var MAN_USER = ["Benutzer","Users","Usarios"];
var MAN_CONFIG = ["Konfiguration","Configuration","Configuración"];
var MAN_DB = ["Datenbank","Data base","Base de datos"];
var MAN_NEW_USER = ["Neuer Benutzer","New user","Nuevo usario"];
2020-11-19 23:03:48 +01:00
var MAN_NEW_ROLE = ["Neue Rolle","New Role","Nuevo Derechos"];
var MAN_ROLE = ["Rolle","Role","Derechos"];
var MAN_ROLE_NAME = ["Name","Name","Nombre"];
var MAN_ROLES = ["Rollen","Rolen","Derechos"];
2020-11-19 23:11:33 +01:00
var MAN_AREA = ["Tischbereich","Table area","Region de las mesas"];
2020-11-19 22:47:44 +01:00
var MAN_ADMIN = ["Administrator","Administrator","Administrador"];
var MAN_WAITER = ["Kellner","Waiter","Camarero"];
var MAN_KITCHEN = ["Küche","Kitchen","Cocina"];
var MAN_BAR = ["Bar","Bar","Bar"];
var MAN_SUPPLY = ["Bereitstellung","Supplydesk","Preparados"];
var MAN_PAYDESK = ["Kasse","Paydesk","Caja"];
var MAN_STAT = ["Statistik","Statistics","Estadisticas"];
var MAN_BILLS = ["Kassenbons","Receipts","Tiques"];
2020-11-19 23:14:48 +01:00
var MAN_PRODUCTS = ["Artikel","Articles","Productos"];
2020-11-19 22:47:44 +01:00
var MAN_RESERVATION = ["Reservierung","Reservation","Reserva"];
2020-11-19 23:13:57 +01:00
var MAN_RES_ITEM = ["Reservierungseintrag","Entry of reservation","Reservación"];
var MAN_RES_ITEM_HINT = ["Es stehen diese Platzhalter zur Verfügung: {Start-Stunde}, {Start-Minute}, {Ende-Stunde}, {Ende-Minute}, {Personen}, {Bemerkung}, {Dauer-Stunden}, {Dauer-Minuten}","This placeholder are available: {Start-Stunde}, {Start-Minute}, {Ende-Stunde}, {Ende-Minute}, {Personen}, {Bemerkung}, {Dauer-Stunden}, {Dauer-Minuten}","Puede usar estas variables: {Start-Stunde}, {Start-Minute}, {Ende-Stunde}, {Ende-Minute}, {Personen}, {Bemerkung}, {Dauer-Stunden}, {Dauer-Minuten}"];
2020-11-19 22:47:44 +01:00
var MAN_RATING = ["Bewertung","Rating","Valoración"];
var MAN_CHANGEPRICE = ["Preisänderung während Bestellung","Change price during ordering","Modificar precio durante ordenar"];
2020-11-19 23:02:08 +01:00
var MAN_CUSTOMERS = ["Gäste","Guests","Clientes"];
2020-11-19 23:11:52 +01:00
var MAN_PICKUPS = ["Abholanzeige","Pickup Display","Vista de Recogido"];
2020-11-19 23:14:48 +01:00
var MAN_MANAGER = ["Administration","Administration","Administración"];
2020-11-19 22:59:47 +01:00
var MAN_CLOSINGRIGHT = ["Tageserfassung","Closing","Cerrar día"];
2020-11-19 23:03:20 +01:00
var MAN_DASHRIGHT = ["Dashboard","Dashboard","Dashboard"];
2020-11-19 23:11:27 +01:00
var MAN_TIMETRACKINGRIGHT = ["Zeiterfassung","Time Tracking","Tiempos de Trabajo"];
2020-11-19 23:11:33 +01:00
var MAN_TASKS = ["Aufgaben:","Tasks:","Tareas:"];
2020-11-19 23:11:27 +01:00
var MAN_TIMEMANAGERRIGHT = ["Zeitmanagement","Time management","Administrar Tiempos de Trabajo"];
2020-11-19 23:11:33 +01:00
var MAN_TASKSRIGHT = ["Aufgaben","Tasks","Tareas"];
var MAN_TASKSMANAGERRIGHT = ["Aufgabenmanagement","Tasks management","Administrar tareas"];
2020-11-19 22:47:44 +01:00
var MAN_USER_NAME = ["Benutzername","User name","Nombre de usario"];
var MAN_USER_PASS = ["Passwort","Password","Contraseña"];
var MAN_YES = ["Ja","Yes","Si"];
var MAN_NO = ["Nein","No","No"];
var MAN_CREATE = ["Erstellen","Create","Crear"];
2020-11-19 23:03:41 +01:00
var MAN_CREATE_WITH_REC = ["... mit Bon","... with receipt","... con tiquet"];
var MAN_CREATE_WITHOUT_REC = ["... ohne Bon","... without receipt","... sin tiquet"];
2020-11-19 22:47:44 +01:00
var MAN_SPEISEKARTE = ["Speisekarte","Menu","Menú"];
2020-11-19 23:13:57 +01:00
var MAN_ROOMPLAN = ["Raumplan","Tables","Mapa de las mesas"];
2020-11-19 22:47:44 +01:00
var MAN_DATAEXPORT = ["Datenexport","Data export","Grabar datos"];
var MAN_CLOSINGDET_TXT = ["Hier können Sie die seit dem letzten <i>Abschluss</i> getätigten neuen Transaktionen zu einem neuen Abschluss führen. Anschließend sind alle bis zu diesem Zeitpunkt erstellten Transaktionen/Kassenbons nicht mehr stornierbar!",
"Here you can create a closing of all new transactions since the last closing. All transactions that are part of a closing cannot be cancelled later on.",
"En este parte se puede cerrar todas las transacciones despues de la última cerramiento. Después las transacciones cerradas no se puede anular ya no."];
var MAN_MONTH = ["Monat:","Month:","Mes:"];
var MAN_JAN = ["Januar","January","Enero"];
var MAN_FEB = ["Februar","February","Febrero"];
var MAN_MAR = ["März","March","Marzo"];
var MAN_APR = ["April","April","Abril"];
var MAN_MAY = ["Mai","May","Mayo"];
var MAN_JUN = ["Juni","June","Junio"];
var MAN_JUL = ["Juli","July","Julio"];
var MAN_AUG = ["August","August","Agosto"];
var MAN_SEP = ["September","September","Septiembre"];
var MAN_OCT = ["Oktober","October","Octubre"];
var MAN_NOV = ["November","November","Noviembre"];
var MAN_DEC = ["Dezember","December","Diciembre"];
var MAN_CLOSING_INCOME = ["Tageseinnahme","Day takings","Ingreso diario"];
var MAN_CLOSING_INCOME_CASH = ["Bareinnahme","Cash day takings","Ingreso diario de contado"];
2020-11-19 23:14:48 +01:00
var MAN_CASH_STATUS_CLS = ["Barbestand","Cash","Contado"];
2020-11-19 22:47:44 +01:00
var MAN_CLOSING_DET_TXT = ["Ein Export im CSV-Format lässt sich mit Tabellenverarbeitungs-Programmen wie beispielsweise Excel verarbeiten.",
"An export in the format CSV can be used in spreadsheet applications like Excel.",
"Una grabación en el formato CSV se puede usar con programas como Excel."];
var MAN_CSV_EXP_RECEIPTS = ["CSV-Export Bons","CSV export of Receipts","Grabar tiques en CSV"];
2020-11-19 22:52:25 +01:00
var MAN_XLSX_EXP_RECEIPTS = ["... Excel","... Excel","... Excel"];
2020-11-19 22:47:44 +01:00
var MAN_CSV_EXP_ALL = ["CSV-Export komplett","CSV export all","Grabar todo en CSV"];
2020-11-19 23:14:04 +01:00
var MAN_PRINTVERB = ["Drucken","Print","Imprimir"];
2020-11-19 23:14:07 +01:00
var MAN_DELETE = ["Löschen","Delete","Removar"];
2020-11-19 22:47:44 +01:00
var MAN_PRINT_ALL = ["Drucken Komplettbericht","Print all","Imprimir todo"];
var MAN_PRINT_RECEIPT = ["Drucken Zusammenfassung auf Bon","Print summary on receipt","Imprimir resumen en tique"];
2020-11-19 23:11:49 +01:00
var MAN_CLOS_HTML = ["Tageserfassung über Html-Vorlage","Closing formatted by html template","Resumen en tique por html template"];
2020-11-19 23:02:12 +01:00
var MAN_CSV_EXP_GUEST = ["CSV-Export Gastbezahlprotokoll","CSV Export Guest payments log","CSV Export Pagos del cliente"];
2020-11-19 22:47:44 +01:00
var MAN_OF = [" vom "," of "," de "];
var MAN_PERIOD = ["Zeitraum: ","Period: ","Período: "];
var MAN_1ST_CLOSING = ["Erste Erstellung einer Tageslosung","First creation of a closing","Primer acción de cerrar"];
var MAN_ID = ["Bon-ID","ID","Nú."];
var MAN_DATE = ["Zahlungsdatum","Pay date","Fecha de pago"];
var MAN_PROD = ["Produkt","Product","Producto"];
var MAN_BRUTTO = ["Bruttopreis","Gross","Bruto"];
var MAN_NETTO = ["Nettopreis","Net","Neto"];
var MAN_MWST = ["MwSt (%)","Tax (%)","IVA (%)"];
var MAN_PAYWAY = ["Zahlungsart","Method of payment","Modo de pago"];
var MAN_USER_ID = ["Benutzer-ID","User id","Id del usario"];
var MAN_STATE = ["Status","State","Estado"];
var MAN_REF = ["Referenz-Bon-ID","Reference Receipt id","Tique referenciado"];
2020-11-19 23:12:00 +01:00
var MAN_CHANGE = ["Speichern","Save Changes","guardar cambios"];
2020-11-19 22:47:44 +01:00
var MAN_CONFIG_CHANGED = ["Konfiguration geändert","Configuration saved","Configuración modificado"];
var MAN_CONFIG_CHANGE_ERROR = ["Falsches Zahlenformat oder Serverproblem","Error","Error"];
2020-11-19 23:14:10 +01:00
var MAN_ERROR_MASTER_DATA_CHANGE = ["Einige der zu ändernden Werte gehören zu den Stammdaten. Eine Änderung ist nach dem nächsten Tagesabschluss erlaubt.","Some of the values to be changed belong to master data. A change is allowed after the next closing.","Algunos de los valores que deben modificarse pertenecen a datos maestros. Se permite un cambio después del cierre del día siguiente."];
2020-11-19 23:12:32 +01:00
var MAN_DATEXPDETTXT = ["Hier können Sie Berichte erstellen lassen, die <ul><li>alle abgerechneten und in Tagesabschlüssen enthaltenen Bonabrechungen im unten auswählbaren Zeitraum beinhaltet.</li><li>alle Stammdaten (Produkte) und deren Änderungen seit der Installation aufführt.</li><li>und vieles mehr</li></ul>",
"In this control field you can create varios reports with e.g.<ul><li>all receipts transactions of the specified period that are part of a closing.</li><li>all product data and their changes in history since the installation.</li><li>and much more</li></ul>",
2020-11-19 22:47:44 +01:00
"En esta parte se puede crear un fichero con <ul><li>todos los tiques en un período que estan ya cerrados.</li><li>todos los productos y sus modificaciones desde la instalación."];
var MAN_ROOM_LABEL = ["Räume","Rooms","Espacios"];
var MAN_TABLE_LABEL = ["Tische","Tables","Mesas"];
2020-11-19 23:02:16 +01:00
var MAN_TABLE_TXT = ["Tisch","Table","Mesa"];
2020-11-19 22:47:44 +01:00
var MAN_LANG_OF_RECEIPT = ["Bonsprache","Receipt language","Idioma de tique"];
var MAN_PRINT_CONCEPT = ["Druckkonzept","Print concept","Concepto de impresión"];
var MAN_PAYMENT_CONFIG = ["Menü Zahlungsweg","Menu Payment Type","Selección tipo de pagar"];
2020-11-19 22:59:50 +01:00
var MAN_ADD_RECPRINTER = ["Kassenbon zusätzlich auf","Receipt additionally on","Imprimir tiques también a"];
2020-11-19 22:48:24 +01:00
var MAN_WORKFONT_CONFIG = ["Arbeitsbon Schriftgröße","Font size work receipt","Tamaño de letras en tiques de trabajo"];
2020-11-19 22:52:25 +01:00
var MAN_PROMINENT_SEARCH = ["Prominente Produktsuche","Prominent Product search","Buscar de productos ariba"];
2020-11-19 22:58:17 +01:00
var MAN_DISCOUNT1 = ["Rabatt 1 (%)","Discount 1 (%)","Descuento 1 (%)"];
var MAN_DISCOUNT2 = ["Rabatt 2 (%)","Discount 2 (%)","Descuento 2 (%)"];
var MAN_DISCOUNT3 = ["Rabatt 3 (%)","Discount 3 (%)","Descuento 3 (%)"];
var MAN_AUSTRIA = ["Österreich","Austria","Austria"];
2020-11-19 22:58:42 +01:00
var MAN_DIGI_GOPAY_SET_READY = ["Bestell-Kassenbutton deklariert Produkte 'fertig'","Waiter's paydesk button declares products be served","Boton caja en vista de camarero pone declara productos servidos"];
2020-11-19 22:58:36 +01:00
var MAN_DIGI_GOPAY_DESCR = ["Im Arbeitsablauf 'nur digital' bestimmt diese Einstellung, ob bei Druck auf den Button 'Kasse' in der Bestellansicht mit anschließender Bezahlung die Produkte als serviert behandelt werden sollen.",
"In the 'only digital' workflow this setting specifies if after pressing the 'paydesk' button in the waiter's view and paying the products shall be handled as served.",
"En el modus 'digital' este boton especifica si los productos deben declarados como servidos despues pagar por click en el boton 'caja' en la vista de camarero."];
2020-11-19 22:58:42 +01:00
var MAN_WAITER_GOPAY_PRINT = ["Bestell-Kassenbutton druckt Arbeitsbons","Waiter's paydesk button prints also work receipts","Boton caja en vista de camarero imprime también tiquets de trabajo"];
2020-11-19 23:03:26 +01:00
var MAN_ONE_PROD_WORKREC_F = ["Nur ein Produkt pro Speise-Arbeitsbon","Max. one product on a food work receipt","Sólo un producto en un tique de trabajo (comidas)"];
var MAN_ONE_PROD_WORKREC_D = ["Nur ein Produkt pro Getränke-Arbeitsbon","Max. one product on a drink work receipt","Sólo un producto en un tique de trabajo (bebidas)"];
2020-11-19 23:00:05 +01:00
var MAN_DIGI_PRINTWORK = ["Arbeitsbons in Küchen-/Baransicht","Work receipts in kitchen/bar view","Tiques de trabajo en modulo de cocina"];
var MAN_DIGI_PRINTWORK_HINT = ["Sollen Arbeitsbon erstellt werden, wenn in der Küchen-/Baransicht Produkte als zubereitet markiert werden?",
"Shall work receipts be printed if products are declared cooked in the kitchen or bar view?",
"Imprimir tiques de trabajo si productos estan declarados cocinados en el module cocina or bar?"];
2020-11-19 23:00:55 +01:00
var MAN_PRINT_AND_QUEUE_HINT = ["Wird dieser Wert auf 'ja' gesetzt, so werden die Druckaufträge im digitalen Workflow zusätzlich auf Arbeitsbons ausgedruckt.",
"If this setting is set to 'yes' in the digital workflow the orders are additionally printed.",
"Si el valor esta 'si', orders van a ser imprimidos también en el modo digital."];
2020-11-19 23:14:02 +01:00
var MAN_CASH_HINT = ["Ist Schnellkasse aktiviert, werden alle Bestellungen mit der Übermittlung an den Server als bar bezahlt deklariert. Ist die Einstellung 'Erzwinge Bondruck' aktiviert, so wird stets ein Kassenbon gedruckt.",
"If quick cash is activated every order will be declared as paid by cash automatically. If the setting 'Force print of receipt' is enabled, a receipt is printed everytime.",
"Si configurado Factura rapida cada order va a ser declarada pagada. Si la configuración 'Siempre imprimir factura' esta activada, una factura va a imprimido con cada factura rapida."];
2020-11-19 23:02:16 +01:00
var MAN_RETURN_TO_ORDER_HINT = ["Wird der Wert auf 'ja' gesetzt, so wechselt die Desktopansicht automatisch wieder in den Bestellmodus über, nachdem ein ausgewählter Tisch komplett abgerechnet oder im Kassenmodus auf einen leeren Tisch geklickt wurde.",
"If this value is set to 'true' the mode of the desktop view automatically returns to the ordering after all products of the selected table are marked paid or an empty table was selected.",
"Si es 'si' el modus vuelve a ordenar despues de declarar todos los productos de la mesa estado pagado o si el usario ha seleccionado una mesa vacia."];
2020-11-19 22:58:42 +01:00
var MAN_WAITER_GOPAY_DESCR = ["Im Arbeitsablauf 'nur Arbeitsbons' bestimmt diese Einstellung, ob bei Druck auf den Button 'Kasse' Arbeitsbons gedruckt werden sollen.",
"In the 'only work receipts' workflow this setting specifies if after pressing the 'paydesk' button in the waiter's view work receipts shall be printed.",
"En el modus 'solo tiques de trabajar' este boton especifica se debe imprimido el tique de trabajar despues el click en el boton 'caja' en la vista de camarero."];
2020-11-19 22:59:50 +01:00
var MAN_ADD_RECPRINTER_DESCR = ["Wird hier ein weiterer Drucker angegeben, so werden alle Kassenbons beim Druck über die Kassenansicht zusätzlich auf diesem Drucker ausgedruckt.",
"If a printer is set every print job that is invoked on the paydesk view will be printed also on the specified printer",
"Si esta seleccionado una imprimadora aquí cada tiquet va a ser imprimido en la imprimidora también"];
2020-11-19 23:03:26 +01:00
var MAN_GROUP_WORK_ITEMS_F = ["Artikelzus.fass. Speise-Arbeitsbons","Summary articels on food work receipt", "Agrupación articulos tique d. tr. (comidas(" ];
var MAN_GROUP_WORK_ITEMS_D = ["Artikelzus.fass. Getränke-Arbeitsbons","Summary articels on drink work receipt", "Agrupación articulos tique d. tr. (bebidas)" ];
2020-11-19 22:47:44 +01:00
var MAN_RES_NOTE = ["Reservierungsbestätigung","Confirmation reservation","Text de email para reservación"];
var MAN_CHANGE_CONFIG_HEAD = ["Konfiguration ändern?","Change configuration?","Modificar configuración?"];
var MAN_CHANGE_CONFIG_CONTENT = ["Sollen folgende Werte geändert werden? ","Do you want to change these values? ","Debe ser cambiado estos datos? "];
2020-11-19 23:00:39 +01:00
var MAN_RECEIPT_FONTSIZE = ["Schriftgröße Bon (Bildschirm)","Font size receipt (screen)","Tamaño de letra en tiques (pantalla)"];
2020-11-19 22:47:44 +01:00
var MAN_EMAIL_DATA = ["Email senden","Send email","Enviar email"];
var MAN_EMAIL_WRONG_FORMAT = ["Keine gültige Email-Adresse angegeben.","No valid email address.","Dirección de email invalida."];
var MAN_EMAIL_EMPTY = ["Keine Email-Adresse angegeben.","No email address given.","No hay ningún dirección de email."];
2020-11-19 23:14:10 +01:00
var MAN_SAMPLE_RECTEMPL_TXT = ["Beispielvorlage","Sample template","Ejemplo"];
2020-11-19 23:12:00 +01:00
var MAN_HOSTTEXT_TXT = ["Vorlage Bewirtungsbeleg","Template hospitality receipt","Recibo de hospitalidad"];
2020-11-19 22:47:44 +01:00
var MAN_EMAIL_SENDER_TXT = ["Email-Absender:","Email sender:","Remitente de email:"];
var MAN_DEFAULT_EMAIL_TO = ["Standard-Email-Empfänger:","Standard email receiver","Destinario estandard de emails"];
var MAN_NEW_VERSION_AVAIL = ["Neue Version verfügbar", "New version available", "Hay una versión nueva"];
var MAN_REST_INFO = ["Der Import dauert eine Weile...","The import takes a while...","Importar necesita un rato..."];
var MAN_BAK_REST_HEAD = ["Sicherung und Import","Backup and Restore","Exportar y Importar"];
var MAN_BAK_BTN = ["Sicherung (Konfiguration)","Backup (Configuration)","Exportar (configuración)"];
2020-11-19 23:02:19 +01:00
var MAN_BAK_GUEST_BTN = ["Sicherung (Konfiguration + Gäste)","Backup (Configuration + guests)","Exportar (configuración y clientes)"];
2020-11-19 23:00:35 +01:00
var MAN_BAK_BTN_ALL = ["Sicherung (Alles ohne Logs)","Backup (all without logs)","Exportar (todo sin protocolo)"];
var MAN_BAK_BTN_ALL_LOGS = ["Sicherung (Alles mit Logs)","Backup (all with logs)","Exportar (todo y protocolo)"];
2020-11-19 23:03:43 +01:00
var MAN_BAK_FTP_ALL = ["FTP-Sicherung (Alles ohne Logs)","Ftp backup (all without logs)","Ftp (todo sin protocolo)"];
2020-11-19 23:12:43 +01:00
var MAN_BAK_DEBUGDATA = ["Export Debug-Daten","Export debug data","Exportar debug data"];
2020-11-19 23:02:33 +01:00
var MAN_UPDATE_HEAD = ["Versionsupdate","Version update","Actualizar la versión"];
var MAN_CHECK_UPDATE_BTN = ["Update starten","Start update","Empezar actualizar"];
var MAN_UPDATE_HINT = ["Das Updaten über diesen Weg funktioniert nur, wenn die Dateien im Webverzeichnis beschreibbar sind und eine Verbindung zum OrderSprinter-Webserver besteht.",
"This update function only works if the files in the web directory are not write-protected and if a internet connection to the OrderSprinter webserver is available.",
"Esta función the actualizar solo funciona si los ficheros no sin protegidos de escribirt y si hay una conección al servidor de OrderSprinter por Internet."];
var MAN_UPDATE_URL = ["Updateserver","Update Server","Servidor"];
2020-11-19 23:02:49 +01:00
var MAN_AVAIL_UPD_VERSION = ["Neueste verfügbare Version","Newest released version","ùltima version"];
2020-11-19 23:02:33 +01:00
var MAN_UPD_PROGRESS = ["Fortschritt","Progress","Progreso"];
2020-11-19 22:59:47 +01:00
var MAN_GO_LIVE = ["Starte Produktivbetrieb","Start productive mode","Empezar trabajar realmente"];
2020-11-19 22:47:44 +01:00
var MAN_SHUTDOWN = ["Server herunterfahren","Shutdown server","Apagar servidor"];
var MAN_SHUTDOWN_HINT = ["(Herunterfahren nur möglich, wenn Webserver die erforderlichen Rechte besitzt).",
"(Shutdown only possible if web server has the required privileges to do so.)",
"(Apagar el servidor sólo es posible si webserver tiene el derecho para hacerlo.)"];
2020-11-19 23:00:46 +01:00
var MAN_OPTIMIZE = ["Datenbank optimieren","Optimize database","Arreglar base de datos"];
2020-11-19 23:12:46 +01:00
var MAN_INSERT_DEMO_DATA = ["Demo-Daten einfügen","Insert some demo data","Insertar datos de demonstracíon"];
var MAN_INSERT_DEMO_DATA_HINT = ["Das Einfügen von Demo-Daten sollte niemals auf einer produktiven Datenbank vorgenommen werden!","Never insert any demo data in a productive system!","No inserte datos de demonstracíon en sistemas productivos!"];
2020-11-19 23:00:46 +01:00
var MAN_OPTIMIZE_HINT = ["Beim Optimieren der Datenbank werden Haupttabellen aufgeräumt. Dieser Prozess kann bei einer großen Datenbank etwas Zeit in Anspruch nehmen. Die Optimierung sollte immer dann vorgenommen werden, wenn die Server-Geschwindigkeit abgenommen hat.",
"Optimize data base means that the main tables are cleaned. This process may take a while for big databases. The optimization should always be executed in ase the server's performance has worsened.",
"La arreglación de la base de datos es para mejorar la velocidad del servidor. El proceso puede durar un poco."];
2020-11-19 22:47:44 +01:00
var MAN_UPLOAD_LOGO = ["Logo-Datei hochladen","Upload Logo image","Leer imagen de logo"];
var MAN_NO_LOGO_BTN = ["Kein Logo","No logo","No imagen"];
var MAN_WORKFLOW = ["Arbeitsablauf","Workflow","Modo de trabajar"];
var MAN_WORKFLOW_BOTH = ["Digital und Arbeitsbons","Digital and work receipts","Digital y tiques de trabajar"];
var MAN_WORKFLOW_ONLY_DIGI = ["Nur digital","Only digital","Solo digital"];
var MAN_WORKFLOW_ONLY_WR = ["Nur Arbeitsbons","Only work receipts","Solo tiques de trabajar"];
2020-11-19 22:55:30 +01:00
var MAN_WORKFLOW_WR_AND_TRANSFER = ["Arbeitsbons mit Serverübermittlung", "Work receipts and server transmit","Tiques de trabajar y enviar a servidor"];
var MAN_WORKFLOW_WR_AND_TRANSFER_HLP = ["Hinweis: 'Arbeitsbons mit Serverübermittlung': In der Bestellansicht werden die Artikel bei Druck auf 'Bestellung senden' an den Server übermittelt, durchlaufen aber nicht die Ansichten Küche/Bar und Bereitstellung und es wird in diesem Fall kein Arbeitsbon gedruckt.",
"Hint: 'Work receipts and server transmit': In the waiter's view the orders can be sent to the server without printining a work receipt. In this case the items won't pass the modules kitchen/bar and supplydesk.",
"Información: 'Tiques de trabajar y enviar a servidor': El camarero puede enviar las ordenes al servidor sin imprimir un tique de trabajo."];
2020-11-19 23:11:29 +01:00
var MAN_DEFAULTVIEW_MOBILE = ["Mobilansicht","Mobile view","Movil"];
var MAN_DEFAULTVIEW_DESKTOP = ["Desktopansicht","Desktop view","Desktop"];
2020-11-19 23:14:48 +01:00
var MAN_RECTEMPLATE_HINT = ["Hinweis: Die Anpassung der Bonvorlagen für die Bondrucke ist in der Anleitung und auf der Produktwebseite beschrieben.",
"Hint: The customization of the print receipt template is described in the manual and on the product home page.",
2020-11-19 22:58:39 +01:00
"Nota: La adapción del template esta explicada en la página web y el manual."];
2020-11-19 23:11:49 +01:00
var MAN_CLOSTEMPLATE_HINT = ["Hinweis: Die Vorlage bezieht sich nur auf die html-Darstellung der Tageserfassung, also nicht auf den Bondruck. Die Anpassung ist in der Anleitung beschrieben.",
"Note: The template only refers to the html display of the closing, not to receipt printing. The adjustment is described in the manual.",
"Nota: La plantilla sólo se refiere a la visualización html de la entrada del día, no a la impresión de recibos. El ajuste se describe en el manual."
];
2020-11-19 23:11:52 +01:00
var MAN_PICKUPTEMPLATE_HINT = ["Hinweis: Die Anpassung der Bonvorlage ist in der Anleitung und auf der Produktwebseite beschrieben.",
"Hint: The customization of the receipt template is described in the manual and on the product home page.",
"Nota: La adapción del template esta explicada en la página web y el manual."];
2020-11-19 22:47:44 +01:00
var MAN_NO_ADMIN = ["Um Admin-Rechte zu bearbeiten, muss der Benutzer selbst Adminrechte besitzen.", "Modifying admin rights require that the changing user has also admin rights.", "Necesitas derecho de admin para modificar derecho de admin para otros usarios."];
var MAN_NO_ADMIN_CREATE = ["Nur Admin-Benutzer können andere Admin-Benutzer anlegen",
"Only admin users can create other admin users",
"Solo usarios con derecho de admin pueden crear otros usarios de admin"];
var MAN_NO_ADMIN_DEL = ["Benutzer ohne Admin-Rechte können keine Admin-Benutzer löschen",
"Users without admin rights cannot delete admin users",
"Usarios sin derecho de admin no estan permitidos remover usarios con derecho de admin"];
var MAN_LAST_ADMIN = ["Letzter Benutzer mit Admin-Rechten kann nicht gelöscht werden!",
"Last user with admin rights cannot be deleted",
"No se puede remover el último usario can derecho de admin"];
var MAN_SAMPLE_MENU = ["Beispielspeisekarte","Sample menu","Ejemplo de menú"];
var MAN_EMAIL_BAD_RATING = ["Email für schlechte Bewertungen:","Email for bad ratings:","Email para valoraciones malas:"];
var MAN_EMAIL_RATING_CONTACT = ["Email für Kundenkontaktwunsch:","Email if customers request contact:","Email si clientes quieren contacto:"];
var MAN_REMOTE_ACCESS = ["Fernzugriffscode","Remote access code","Contrasueña Control remoto"];
var MAN_PRINTJOBS = ["Druckerwarteschlangen","Print queues","Cola de impresión"];
var MAN_PRINTER = ["Kassenbon-Drucker","Receipts Printer","Impresora de tiques"];
var MAN_FOOD_PRINTER = ["Speisearbeitsbon-Drucker","Food work ticket printer","Impreso de tiques de comida"];
var MAN_DRINK_PRINTER = ["Getränkearbeitsbon-Drucker","Drinks work ticket printer","Impreso de tiques de bebidas"];
2020-11-19 23:11:52 +01:00
var MAN_PICKUP_PRINTER = ["Abholbon-Drucker","Pickup ticket printer","Impreso de tiques de recigidos"];
2020-11-19 22:47:44 +01:00
var MAN_UPDATE_PRINTJOBS = ["Aktualisieren","Update","Actualizar"];
2020-11-19 22:59:47 +01:00
var MAN_CLEAR_PRINTJOBS = ["Alle Druckjobs löschen","Clear all print jobs","Remover todo"];
2020-11-19 22:47:44 +01:00
var MAN_PRINT_JOBS_COUNT = ["Druckaufträge","print jobs","tareas de impresión"];
var MAN_PARSE_ERROR = ["Speisekarte konnte nicht erfolgreich eingelesen werden. Stimmt die Syntax, z.B. die korrekte Einrückung?",
"Menu could not be parsed - is the intendation correct?",
"Menú no se puede leido - esta correcto la intendación?"];
var MAN_PARSE_ERROR_LINE = ["Lesefehler nahe Zeile oder Element","Read error close to line or element","Problema de leer texto o elemento"];
var MAN_TM_DEL = ["Löschen","Delete","Removar"];
var MAN_TM = ["Laden","Load","Leer"];
var MAN_TM_HINT = ["<b>Bildauswahl:</b> Wählen Sie ein Bild, welches nicht zu groß ist! <b>Tischzuweisung:</b> Klicken Sie zunächst den Tisch an, dann legen Sie die Position im Bild fest. Für die restlichen Tische genauso verfahren.",
"<b>Selection of image:</b> Load an image which size is not too big! <b>Table assignment:</b> Click on the table button, then on the position in image. Assign the next table with the same mechanism.",
"<b>El imagen:</b> El imagen no debe ser tan grande! <b>Asignar las mesas:</b> Click en un boton de mesa, después en la imagen para la posición. El mismo para otras mesas."];
var MAN_NO_CLOSINGS = ["Es sind noch keine Tagesabschlüsse durchgeführt worden.","You have not performed any closings.","No hay ningún cerramientos"];
var MAN_SMTPHOST = ["SMTP-Host","SMTP-Host","SMTP-Host"];
var MAN_SMTPAUTH = ["SMTP-Authentifizierung","SMTP Authentication","SMTP Authentification"];
var MAN_SMTPUSER = ["SMTP-Benutzername","SMTP User name","SMTP usario"];
var MAN_SMTPPASS = ["SMTP-Passwort","SMTP password","SMTP contraseña"];
var MAN_SMTPSECURE = ["SMTP-Protokoll","SMTP Protocol","SMTP Seguridad"];
var MAN_SMTPPORT = ["SMTP-Port","SMTP Port","SMTP Port"];
2020-11-19 23:03:31 +01:00
var MAN_STARTPRODSEARCH = ["Starte Produktsuche ab # Zeichen","Start product search after # characters","Initiar busqueda de productos después x letras"];
2020-11-19 23:14:10 +01:00
var MAN_SYSTEMID = ["Kassen-ID","System ID","Identificación del sistema"];
2020-11-19 23:02:42 +01:00
var MAN_DISCOUNTNAME1 = ["Bezeichnung Rabatt 1","Name of discount 1","Nombre del descuento 1"];
var MAN_DISCOUNTNAME2 = ["Bezeichnung Rabatt 2","Name of discount 2","Nombre del descuento 2"];
var MAN_DISCOUNTNAME3 = ["Bezeichnung Rabatt 3","Name of discount 3","Nombre del descuento 3"];
2020-11-19 23:12:00 +01:00
var MAN_TEMPLATESECTION_TXT = ["Vorlagen:","Templates:","Dechados:"];
var MAN_PICKUP_CONFIGSECTION_TXT = ["Abholansicht:","Pickup display:","Vista de Recogidos:"];
var MAN_EMAILCONFIG_TXT = ["E-Mail-Konfiguration:","Email configuration:","Configuración de email:"];
var MAN_TRANSFER_SECTION_TXT = ["Datenübertragung:","Data transfer:","Transferencia de datos:"];
var MAN_TAXES_SECTION_TXT = ["Steuern:","Taxes:","Impuestos:"];
var MAN_SECURITY_SECTION_TXT = ["Sicherheit:","Security settings:","Seguridad:"];
var MAN_GEN_PRINT_SECTION_TXT = ["Allgemeine Druckeinstellungen:","General print settings:","Configuración general de impresión"];
var MAN_WORKRECEIPS_SECTION_TXT = ["Arbeitsbons:","Work receipts:","Tiquets de trabajo:"];
var MAN_DISCOUNT_SECTION_TXT = ["Rabatteinstellungen in Bestellansicht:","Discount settings in order view:","Descuentas en vista de camareros:"];
2020-11-19 23:11:27 +01:00
var MAN_TIMETRACKING = ["Zeiterfassung:","Time tracking:","Tiempos de los empleados:"];
2020-11-19 23:12:22 +01:00
var MAN_SUMUPFORCARD = ["SumUp für Kartenzahlung","SumUp for card payment","SumUp para pago con tarjeta"];
2020-11-19 23:12:24 +01:00
var MAN_PRINTCASH = ["Drucke Barein-/auslage","Print cash operation","Imprimir entradas"];
2020-11-19 23:12:43 +01:00
var MAN_DOUBLERECEIPT = ["Doppeldruck bei Kartenzahlung","Double receipt for EC and credit cards","Imprimir una vez mas para pago por tarjeta"];
2020-11-19 23:12:30 +01:00
var MAN_SHOW_ERRORLOG = ["Zugriff auf Webserver error.log","Access to webserver error.log","Leer webserver error.log"];
2020-11-19 23:12:22 +01:00
var MAN_SUMUP = ["SumUp-Anbindung","Connection to SumUp","SumUp"];
var MAN_SUMUPFAILURETEXT = ["Stornotext bei fehlgeschlagener Kartenzahlung","Text in report for failured card payment","Texto en el informe para el pago con tarjeta de crédito fallido"];
2020-11-19 23:00:58 +01:00
var MAN_MEMORYLIMIT = ["PHP Memory Limit (MB)","PHP Memory Limit (MB)","PHP Memory Limit (MB)"];
2020-11-19 23:14:48 +01:00
var MAN_POLLBILLS = ["Abfrageintervalle des Druckservers:","Poll intervall of the printserver:","Intervalo de consulta del print server:"];
2020-11-19 23:12:00 +01:00
var MAN_SERVER_SECTION_TXT = ["Server:","Server:","Servidor:"];
var MAN_APPLY_SECTION_TXT = ["Änderungen speichern:","Apply changes:","Aplicar modificaciones"];
2020-11-19 23:11:52 +01:00
var MAN_SHOWPICKUPSNO = ["Zeige maximale Anzahl fertige Abholjobs","Show max number of pickups","Mostrar max. numero de recogidos"];
2020-11-19 23:11:47 +01:00
var MAN_POLL_HINT = ["Einstellungen der Abfrageintervalle wirken erst ab Printserverversion 1.5.6. Der Printserver muss neu gestartet werden, damit Änderungen appliziert werden. Erlaubter Bereich: 2 bis 30 Sekunden.",
"The settings of the poll interval only work for print server version 1.5.6 and higher. The settings will be applied after a restart of the print server. Valid range: 2-30 seconds",
"Los datos de los intervalos son para printserver 1.5.6 y despues."];
2020-11-19 23:11:27 +01:00
var MAN_MINBEFORECOME = ["'Kommen' stempelt Minuten früher","'Come' counts additional minutes earlier","'Venir' añade minutos más temprano"];
var MAN_MINAFTERGO = ["'Gehen' stempelt Minuten später","'Go' counts additional minutes later","'Irse' añade minutos despues"];
2020-11-19 23:02:33 +01:00
var MAN_UPDATEURL = ["Update-Server","Update server","Servidor de actualizar"];
2020-11-19 23:03:43 +01:00
var MAN_TMPDIR = ["PHP-Temp-Verzeichnis","PHP temp directory","PHP Tmp"];
var MAN_FTPHOST = ["Ftp-Server","Ftp server","Ftp servidor"];
var MAN_FTPUSER = ["Ftp-Benutzername","Ftp user name","Ftp usario"];
var MAN_FTPPASS = ["Ftp-Passwort","Ftp password","Ftp contraseña"];
2020-11-19 23:01:04 +01:00
var MAN_HS3REFRESH = ["HS/3 Updateinterval (Sek.)","HS/3 Update interval (sec.)","HS/3 Update Interval (sec)"];
2020-11-19 22:47:44 +01:00
var MAN_WEBIMPRESSUM = ["Webimpressum","Web company info","www café info"];
var MAN_TAX_ASSIGN = ["Umsatzsteuer-Zuweisung","Taxes assigment","Asignar impuestos"];
2020-11-19 23:00:31 +01:00
var MAN_TAX_ASS_DESC = ["An dieser Stelle können pauschal zwei unterschiedliche Steuersätze den Speisen und den Getränken zugewiesen werden. Das ist für die Nutzung der Software in Österreich interessant. <b>Die Zuweisungen wirken sich nur im Betriebsmodus 'Österreich' aus!</b></b>",
"At this place it is possible to assign two different taxes to the foods and to the drinks. This is of interest for the use of this software in Austria. <b>Only in the mode 'Austria' the assignment are used!</b>",
2020-11-19 22:47:44 +01:00
"En esta locación se puede asignar impuestos diferentes a comidas y a bebidas"
];
2020-11-19 23:00:31 +01:00
var MAN_TAX_ASS_DESC2 = ["(Die vorausgewählten Werte stellen nicht die aktuelle Zuweisung dar.)",
"(The displayed values do not show the current assignments.)",
"(Los valores mostrados no son los valores asignados de momento.)"];
2020-11-19 22:47:44 +01:00
var MAN_FOOD = ["Speisen/Küche","Food/Kitchen","Comidas/Cocina"];
var MAN_DRINKS = ["Getränke/Bar","Beverage/Bar","Bebidas/Bar"];
var MAN_WRONG_NUMBER_FORMAT = ["Zuweisung unmöglich. Stimmt das Zahlenformat?","Assignment impossible. Is the number format correct?","Asignar no es posible. Es corecto el formato de los numeros?"];
2020-11-19 23:00:31 +01:00
var MAN_TAX_USE = ["Wenn kein Steuersatz beim Produkt angegeben ist: MwSt/Tax/IVA für Tischbestellungen, -Togo für Außer-Haus-Verkauf. <b>Für Österreich gelten andere Steuersätze</b>, siehe Einstellungen unten!",
"If no tax is specified for a product, these tax settings are used. <b>For Austria other tax settings are relevant</b>, see above!",
2020-11-19 22:47:44 +01:00
"Si no un producto no tiene un IVA asignado, se usa estas IVAs"];
var MAN_CANCEL_UNPAID_CODE = ["Stornierungscode unbez. Best.", "Cancel code unpaid items","Codigo para cancelor productos impagados"];
2020-11-19 23:02:12 +01:00
var MAN_CANCEL_GUEST_CODE = ["Stornierungscode Bezahlung (Modul Gast)","Cancel code for payment (module guest)","Codigo para cancelar pagado por cliente"];
2020-11-19 22:47:44 +01:00
2020-11-19 22:51:21 +01:00
var MAN_USERNAME = ["Benutzer","User","Usario"];
var MAN_BILLSUMALL = ["Gesamtbrutto","Total (brutto)","Todo (brutto)"];
2020-11-19 22:58:30 +01:00
var MAN_BILLSUMNETTO = ["Gesamtnetto","Total (netto)","Todo (netto)"];
2020-11-19 22:51:21 +01:00
var MAN_BILLSUMBAR = ["In bar","Cash only","Todo de contado"];
var MAN_BILLSUMCASH = ["Ein-/Auslagen","Cash inserts","Entradas"];
2020-11-19 22:48:24 +01:00
var MAN_SIZE_NORMAL = ["normal","normal","normal"];
var MAN_SIZE_BIG = ["groß","big","grande"];
2020-11-19 22:55:43 +01:00
var MAN_UNPAID1 = ["Es wurden folgende Tische noch nicht abgerechnet: ",
"These tables have unpaid products: ",
"Estas mesas tienen productos que no son pagados: "];
var MAN_UNPAID2 = ["Soll die Tageserfassung vorgenommen werden? In diesem Fall wird die Tisch-Zuweisung der unbezahlten Artikel gelöscht!",
"Do you want to continue create the closing? In this case these products will be unassigned from the tables!",
"Quieres continuar y removar estos productos?"];
2020-11-19 23:12:02 +01:00
var MAN_AUSTRIA_INCOMPLETE = ["OrderSprinter ist nicht kompatibel mit der RKSV in Österreich, erlaubt aber die Anbindung an die RKSV-konforme Software cbird.","Currently OrderSprinter is incompatible with the RKSV in Austria, but allows interfacing to cbird which is RKSV compatible!","De momento OrderSprinter no esta acuerdo con la RKSV en Austria!"];
2020-11-19 22:58:20 +01:00
var MAN_PAYDESKID = ["Kassenidentifikationsnummer","Paydesk ID","Caja identificación"];
var MAN_AESKEY = ["AES256 Schlüssel","AES256 Key","AES256 LLave"];
var MAN_AESKEY_WRONG_LENGTH = ["Ein AES256-Schlüssel muss in Hex-Darstellung 64 Zeichen haben.","An AES256 key requires to have 64 characters in a hex string.", "Una llave de AES256 tiene que contener 64 characteres en forma hex."];
var MAN_AESKEY_NO_HEX = ["Der AES-Schlüssel muss als Hex-Zahl angegeben werden.","The AES key must be specified as hex number","La llava AES tiene que especificado en formato hex."];
var MAN_CERTIFICATE_SN = ["Zertifikatsseriennummer", "Certificate Serial No","Certificado ID"];
2020-11-19 23:12:43 +01:00
var MAN_CBIRD_FOLDER = ["cbird/QRK Importverzeichnis","cbird/QRK import folder","cbird/QRK fichero"];
2020-11-19 23:02:19 +01:00
var MAN_RKSVSERVER = ["RKSV-Server-URL","RKSV server URL","RKSV-Server URL"];
2020-11-19 22:58:30 +01:00
var MAN_TAX = ["Steuersatz (%)","Tax (%)","Impuesto (%)"];
2020-11-19 22:59:47 +01:00
var MAN_CONFIRM_GO_LIVE = ["Die Umsatz- und Logdaten wurden gelöscht und nur die Konfiguration übernommen. Deswegen ist nun ein erneutes Einloggen erforderlich.",
"The sales and log data is deleted and configuration is recreated. Therefore a log-in is required now.",
"La configuración esta re-creado. Entonces es necesario registrar de nuevo."];
2020-11-19 23:00:39 +01:00
var MAN_GENSECTION_TXT = ["Allgemeine Einstellungen:","General settings:","Configuración general:"];
var MAN_MOBILSECTION_TXT = ["Einstellungen für die Mobilansicht:","Settings for the mobil view:","Configuración para la vista mobil:"];
2020-11-19 23:02:16 +01:00
var MAN_DESKTOP_SECTION_TXT = ["Einstellungen für die Desktop-Ansicht:","Settings for the desktop view","Configuración para la vista de PC"];
2020-11-19 23:00:55 +01:00
var MAN_PRINT_AND_QUEUE = ["Drucke Jobs und zeige sie auch in der Küchen-/Baransicht an","Print jobs and show them also in the kitchen/bar view","Imprimir orders y también inserta en la vista de cocina/bar"];
2020-11-19 23:13:59 +01:00
var MAN_CASH = ["Schnellkasse","Quick cash","Factura rapida"];
2020-11-19 23:02:16 +01:00
var MAN_RETURNTOORDER = ["Rücksprung Bestellung","Go back to order","Volver a ordenar"];
2020-11-19 23:10:48 +01:00
var MAN_BEEP_COOKED = ["Signalton, wenn neues Produkt serviert werden kann","Audio signal if new product can be served","Señal audio si un producto nuevo esta cocinado"];
var MAN_BEEP_ORDERED = ["Signalton in Küchen-/Baransicht","Audio signal in kitchen and bar view","Señal audio si un producto nuevo tiene que ser preparado"];
2020-11-19 23:11:29 +01:00
var MAN_DEFAULTVIEW = ["Vorauswahl","Preselection View","Vista estandardo"];
2020-11-19 23:11:33 +01:00
var MAN_TASK_ALLASSIGN = ["Aufgabenzuweisung an andere Benutzer","Task assignment to other users","Asignar tareas a otras personas"];
var MAN_TASK_OWNEREMPTY = ["Benutzer für Auffüllen-Aufgabe","User for refill task","Usario de tarea de sustituir productos"];
var MAN_TASK_IF_EMPTY = ["Aufgabe bei leerem Warenbestand erstellen","Create task before empty inventory","Crear tarea si no ya hay productos"];
2020-11-19 23:11:36 +01:00
var MAN_SHOWTOGO = ["Zeige Außer-Haus-Button","Show To go button","Mostrar boton To-Go"];
2020-11-19 23:11:44 +01:00
var MAN_TOGO = ["Außer-Haus","To go","To-Go"];
2020-11-19 23:11:42 +01:00
var MAN_SHOWPREPINWAITER = ["Zeige Anzahl vorbereiteter Produkte in mobiler Tischansicht an","Show number of prepared products in mobile table view","Mostrar numero de los productos preparados en vista movil de las mesas"];
2020-11-19 23:02:57 +01:00
var MAN_CLOSSHOWCI = ["Betriebsinfo auf Tagesabschlussbon","Print company info on closing receipt","Imprimir info del café en el cerramiento"];
var MAN_CLOSSHOWPAYTAXES = ["Individuelle Steuerbeträge pro Zahlungsweg auf Tagesabschluss","Print each tax per payment way on closing","Imprimir cada impuesto por cada camino de pagar en el cerramiento"];
var MAN_CLOSSHOWPRODS = ["Produktstatistik auf Tagesabschlussbon","Product statistics on closung","Statistica de productos en el cerramiento"];
2020-11-19 23:12:00 +01:00
var MAN_SHOWPAYMENTS = ["Zahldialog und Wechselgeldrechner (Mobil)","Payment way and calculator (mobil)","Modo de pagar y calculadora (movil)"];
var MAN_SHOWPAYMENTS_HINT = ["Wird der Zahldialog deaktiviert, wird stets eine Barzahlung angenommen!","If the payment dialog is deactivated all payments are declared as cash payments!","Si el dialogo de modo de pagar esta deactivado cada pagamiento es de moneda"];
2020-11-19 23:12:43 +01:00
var MAN_SHOWPAYMENT2 = ["EC-Karte","EC Card Payment","Tarjeta EC"];
var MAN_SHOWPAYMENT3 = ["Kreditkarte","Credit Card","Tarjeta Credit"];
2020-11-19 23:02:57 +01:00
var MAN_SHOWPAYMENT4 = ["Rechnung","Bill","Factura"];
var MAN_SHOWPAYMENT5 = ["Überweisung","Transfer","transferencia"];
var MAN_SHOWPAYMENT6 = ["Lastschrift","debitsCard","Débito"];
var MAN_SHOWPAYMENT7 = ["Hotelzimmer","Hotel room","Habitación"];
var MAN_SHOWPAYMENT8 = ["Gast","Guest","Huésped"];
2020-11-19 23:03:29 +01:00
var MAN_DBLOG = ["Debug-Logging","Debug logging","Debug logging"];
2020-11-19 23:12:37 +01:00
var MAN_SHOWTRANSFERBTNS = ["'Bestellung senden'- und/oder 'Arbeitsbon'-Button einblenden","Show buttons for send orders and/or work receipts","Mostrar botones para transmitir ordenes"];
2020-11-19 23:10:46 +01:00
var MAN_PRINT_EXTRAS = ["Extras auf Kassenbon","Print extras on receipts","Imprimir extras en tiquet"];
2020-11-19 23:14:02 +01:00
var MAN_FORCE_PRINT = ["Erzwinge Bondruck","Force print of receipt","Siempre imprimir factura"];
2020-11-19 23:03:35 +01:00
var MAN_PRICE_IN_LIST = ["Preisangabe neben Produkt","List price next to product","Mostrar precio en lista de productos"];
2020-11-19 23:10:06 +01:00
var MAN_GUEST_JOB_PRINT = ["Gastbestelljob drucken","Print guest order","Imprimir orden de remote"];
2020-11-19 23:12:00 +01:00
var MAN_GUEST_JOB_PRINT_HINT = ["Wird der Gastbestelljob nicht gedruckt, so durchläuft er die digitalen Workflowansichten Küche/Bar/Bereitstellung je nach Konfiguration der Produktkategorie. Im anderen Fall wird ein Arbeitsbon gedruckt.","If the guest order job is not printed, it passes through the digital workflow views Kitchen/Bar/Provision depending on the configuration of the product category. Otherwise, a receipt is printed.","Si el trabajo de pedido de invitados no se imprime, pasa a través de las vistas de flujo de trabajo digital Cocina/Bar/Provisión en función de la configuración de la categoría de producto. De lo contrario, se imprimirá un recibo."];
2020-11-19 23:10:21 +01:00
var MAN_ASK_DAYCODE = ["Abfrage Tageslosung","Require input of day code in guest system","Pregunta código del dia en sistema de huéspedes"];
var MAN_SHOW_DAYCODE = ["Tageslosung in Bestellansicht anzeigen","Show day code in order view","Mostrat códiga del dia en vista de ordenes"];
var MAN_ASK_TABLECODE = ["Abfrage Tischcode","Require input of table code","Pregunta código de la mesa en sistem de huéspedes"];
var MAN_GUEST_TIMEOUT = ["Timeout (Min)","Timeout (min)","Timeout (min)"];
2020-11-19 23:11:29 +01:00
var MAN_GUESTTIMEOUT_HINT = ["Ein Timeout von 0 bedeutet, dass kein Timeout abläuft.","A timeout value of 0 means that there is no timeout at all.","Un valor de timeout de 0 significa que no hay ningún timeout."];
2020-11-19 23:02:08 +01:00
var MAN_RESTAURANT_MODE = ["Restaurantmodus","Restaurant mode","Usar para restaurantes"];
2020-11-19 23:12:18 +01:00
var MAN_USE_BARCODE = ["Barcodeeingabe","Input by barcode","Usar Codigo de barras"];
2020-11-19 23:02:08 +01:00
var MAN_REST_MODE_HINT = ["Hinweis: Wird der Restaurantmodus auf <i>Nein</i> gesetzt, wird in der <b>Desktopansicht</b> die Tischauswahl deaktiviert. Alle Produkte werden als Außer-Haus-Verkauf gebucht.","Hint: If the restautant mode is set to <i>no</i> in the <b>desktop view</b> the table selection is deactivated and all products are ordered as <i>to-go</i>","Nota: Si el modus del restaurante es configurado a <i>no</i> en la vista de <b>Desktop</b> la selección de las mesas es deactivada y todos los productos son ordenados como <i>to-go</i>"];
2020-11-19 23:00:55 +01:00
var MAN_SPECIAL_SETTINGS_TXT = ["Einstellungen für spezielle Abläufe:","Settings for special workflows:","Configuración para workflows muy escpeciales:"];
2020-11-19 23:12:00 +01:00
var MAN_DASH_SECTION_TXT = ["Dashboard:","Dashboard:","Dashboard:"];
2020-11-19 23:12:37 +01:00
var MAN_GUEST_SYSTEM_TXT = ["Einstellungen für das Gastbestellsystem","Settings for the Guest system","Especificación del sistema de clientes"];
2020-11-19 23:14:48 +01:00
var MAN_PRINT_ON_CLOSINGS = ["Tageserfassung","Closings","Tiques de cerramiento"];
2020-11-19 23:02:57 +01:00
var MAN_SHOW_PAYMENTS_DLG = ["Zahlungswege im Zahldialog","Payment ways in payment dialog","Que modos de pagar"];
2020-11-19 23:00:55 +01:00
var MAN_ROOMCHANGE_WARNING = ["Alten Raumplan löschen und neuen festlegen? Bestellungen offener Tische gehen verloren!","Replace room map? Orders of open tables will be lost!","Sustituir mapa de mesas? Orders de mesas abiertas van a ser borradas!"];
2020-11-19 23:00:58 +01:00
var MAN_HOTELINTERFACE = ["Anbindung Hotelsoftware","Interface hotel software","Conección programa de hotel"];
var MAN_HSINFILE = ["HS/3 Datei HS3CASH.IN","HS/3 file HS3CASH.IN","HS/3 file HS3CASH.IN"];
var MAN_HSOUTFILE = ["HS/3 Datei HS3CASH.OUT","HS/3 file HS3CASH.OUT","HS/3 file HS3CASH.OUT"];
var MAN_HSCURRENCY = ["HS/3 Währungsangabe","HS/3 Currency","HS/3 Moneda"];
2020-11-19 23:02:16 +01:00
var MAN_DEL_HINT = ["Zum Löschen anklicken","Click to delete","Click para removar"];
2020-11-19 23:14:07 +01:00
var MAN_OPEN_AND_DEL_HINT = ["Zum Ansehen und/oder Löschen jeweiligen Eintrag anklicken","To open and/or delete click on entry","Click para abrir y/o removar"];
2020-11-19 23:02:16 +01:00
var MAN_FONTSIZE_HINT = ["Die Schriftgröße hat nur Einfluss, wenn kein eigenes Layout festgelegt wurde.","The font size only effects receipts if they do not use a specified layout.","El valor sólo funciona si no se usa un layout individual."];
2020-11-19 23:02:19 +01:00
var MAN_INIT_AUSTRIA = ["Erstelle Startbeleg (Österreich)","Create initial receipt (Austria)","Crear tiquet inicial (Austria)"];
2020-11-19 23:03:10 +01:00
var MAN_GOLIVE_WAIT_HINT = ["Bitte beachten Sie, dass diese Aktion auf langsamen Servern mehrere Minuten dauern kann. Schließen Sie diesen Dialog und warten Sie auf die Meldung, dass der Vorgang abgeschlossen wurde.","Please be aware that this action may take a while on slow servers. Please close this dialog and wait for the message that the process has completed.","Esta acción puede durar unos minutos. Por favor confirme este dialogo y espere por el mensaje que la acción esta completada."]
2020-11-19 23:02:49 +01:00
var MAN_CLOSING_TIME_LIMIT_ERROR = ["Ein Tagesabschluss wurde nicht erzeugt, weil zwischen zwei Tagesabschlüssen etwas Zeit (mind. 2 Min.) vergehen sollte.","No closure was created because between two clsoings there should be some time (at least 2 minutes).","No conclusión esta creado porque el tiempo entre dos conclusiones debe ser un rato (min, 2 minutos)."];
2020-11-19 23:03:07 +01:00
var MAN_DB_PROPERTIES = ["Größe der Datenbanktabellen","Sizes of the data base tables","Tamaño de los tabulas de la base de datos"];
var MAN_DBTABLENAME = ["Tabelle","Table","Tabula"];
var MAN_DBTABLESIZE = ["Größe (KB)","Size (KB)","Tamaño (KB)"];
2020-11-19 23:03:20 +01:00
var MAN_PRINT_INSTANCE_ASS_HEADER = ["Druckerinstanzen","Printer instances","Impresoras"];
var MAN_PRINT_INSTANCE = ["Druckerinstanz","Printer instance","Impresora"];
var MAN_RECEIPT_TXT = ["Kasse","Receipts","Recibos"];
var MAN_DRINKS_REC_TXT = ["Getränke","Drinks","Bebidas"];
var MAN_FOOD_REC_TXT = ["Speisen","Food","Comidas"];
2020-11-19 23:11:52 +01:00
var MAN_PICKUPQUEUE_TXT = ["Abholbons","Pickup receips","Tiquets de recogidos"];
2020-11-19 23:12:05 +01:00
var MAN_PRINSTANCE_HINT = ["Alle Zuordnungen wirken erst ab Printserverversion 1.5.13 oder höher!","All the assignments only work with print server versions 1.5.13 and higher!","Esta configuración sólo funciona con printservers de una version 1.5.13 o despues!"];
2020-11-19 23:03:20 +01:00
var MAN_DASHSLOT1 = ["Dashboard Slot 1","Dashboard Slot 1","Dashboard Slot 1"];
var MAN_DASHSLOT2 = ["Dashboard Slot 2","Dashboard Slot 2","Dashboard Slot 2"];
var MAN_DASHSLOT3 = ["Dashboard Slot 3","Dashboard Slot 3","Dashboard Slot 3"];
2020-11-19 23:03:41 +01:00
var MAN_CREATECLOS_TXT = ["Tageserfassung erstellen","Create closing","Crear cerramiento"];
2020-11-19 23:03:43 +01:00
var MAN_TMPDIRHINT = ["Wird das PHP-Tmp-Verzeichnis angegeben, so können z.B. komprimierte Backups erstellt werden. In der Regel sollte der Default-Wert der PHP-Umgebung stimmen, aber einige Provider biegen den Pfad um, ohne die PHP-Konfiguration anzupassen!",
"If the PHP tmp directory is set it is possible to create compressed backups and more. Usually the default value of the PHP framework should fit, but sometimes the providers change the tmp directory without adapting the PHP framework!",
2020-11-19 23:10:26 +01:00
"Si el tmp esta espcificado es posible crear backups comprimidos por ejemplo. Normalmente el valor default es corecto pero de vez en cuando los providers cambian el valor sin adaptar el PHP framework!"];
var MAN_IMPORT_IN_PROGRESS = ["Der Importvorgang ist aktiv. Bitte warten...","The import process is activated. Please wait...","El proceso del importe esta activo. Por favor espere un poco...."];
2020-11-19 23:12:39 +01:00
var MAN_LOGOLOCATION = ["Logo-Position auf Anmeldeseite","Position of logo on login page","Posición del logo"];
var MAN_LOGOLOC = [["Unsichtbar","Invisible","No logo"],["Oben","Top","Arriba"],["Im Anmeldefeld","In login area","En area de registrar"]];
2020-11-19 23:12:43 +01:00
var MAN_AUSTRIA_BIND = ["Anbindung","Binding","Coneción"];
var MAN_AUSTRIABIND_OPTIONS = ["-","cbird","QRK R2B", "QRK Receipt"];
2020-11-19 23:12:46 +01:00
var MAN_ARE_YOU_SURE_DEMO_DATA = ["Sind Sie sicher?","Are you sure?","Cuidado! Realmente quiere insertar demo data?"];
2020-11-19 23:12:59 +01:00
var MAN_VERYFIRST_CLOSING = ["Allererste Tageserfassung","Very First closing","Primera cerrada"];
var MAN_VERYLAST_CLOSING = ["Letzte Tageserfassung","Last closing","Ultima cerrada"];
2020-11-19 23:14:48 +01:00
var MAN_COUNTING_HINT = ["Das Ausfüllen des Zählprotokolls ist freiwillig.","The counting protocol is optional","La finalización del protocolo de conteo es voluntaria."];
var MAN_DSFINVK_WARNING = ["Achtung: Die Unternehmenseinträge für die digitale Exportschnittstelle (DSFinv-k) wurden noch nicht alle in der Konfiguration festgelegt!","Attention: The company entries for the digital export interface (DSFinv-k) have not all been defined in the configuration yet!","Atención: ¡Las entradas de la compañía para la interfaz de exportación digital (DSFinv-k) aún no están definidas en la configuración!"];
2020-11-19 23:15:14 +01:00
var MAN_GUEST_THEME = ["Farbschema","Theme","Color"];
2020-11-19 23:12:39 +01:00
2020-11-19 23:10:46 +01:00
var MAN_DAYNAMES = [
["Montag","Monday","Lunes"],
["Dienstag","Tuesday","Martes"],
["Mittwoch","Wednesday","Miércoles"],
["Donnerstag","Thursday","Jueves"],
["Freitag","Friday","Viernes"],
["Samstag","Saturday","Sábado"],
["Sonntag","Sunday","Domingo"]
];
2020-11-19 23:12:32 +01:00
var MAN_DAYNAMES_START_SUNDAY = [
["Sonntag","Sunday","Domingo"],
["Montag","Monday","Lunes"],
["Dienstag","Tuesday","Martes"],
["Mittwoch","Wednesday","Miércoles"],
["Donnerstag","Thursday","Jueves"],
["Freitag","Friday","Viernes"],
["Samstag","Saturday","Sábado"]
];
2020-11-19 23:11:27 +01:00
var MAN_CATEGORY = ["Kategorie","Category","Categoria"];
var MAN_FOOD_CAT = ["Speisen","Food","Comidas"];
var MAN_DRINKS_CAT = ["Getränke","Drinks","Bebidas"];
2020-11-19 23:12:35 +01:00
var MAN_CHANGE_ROLE_AREA = ["Name, Rolle, Tischbereich ändern","Change name, role, area","Cambiar nombre, region y role"];
2020-11-19 23:11:52 +01:00
var MAN_PRINTPICKUPS = ["Drucke Abholbons","Pickup receipts","Imprimir tickets de recogidos"];
2020-11-19 23:11:54 +01:00
var MAN_PRINTPICKUPS_ALWAYS = ["Immer","Always","Siempre"];
var MAN_PRINTPICKUPS_TOGO = ["Nur für Außer-Haus-Bestellungen","Only für to-go orders","Solo para To go"];
2020-11-19 23:11:52 +01:00
var MAN_PRINTPICKUP_HINT = ["Abholbons funktionieren nur in Kombination mit Arbeitsbons!","Pickup receipts only work with work receipts!","Tiquets de recogidos solo on tickets de trabajo!"];
2020-11-19 23:12:07 +01:00
var MAN_BILLPRINTJOBS = ["Arb.bons-Buttons in Kassenansicht","Work receipt buttons in paydesk view","Botones de tiquets de trabajo en vista de pagar"];
var MAN_BILPRODUCTS_HINT = ["Mit dieser Einstellung ist es möglich, in der Kassenansicht die Aufträge ausgewählter Arbeitsbons mit einem Klick auf den Kassenbon zu schieben.","With this setting it is possible to move the orders of selected work receipts in the paydesk view by 1-click to the receipt.","Con esta parametrización es posible desplazar las órdenes de los recibos de trabajo seleccionados en la vista de caja haciendo clic en el recibo de caja."];
2020-11-19 23:12:00 +01:00
var MAN_LOCAL_PRINT_OPTION = ["Lokal (nicht empfohlen)","Local (not recommended)","Local (non recomendado)"];
var MAN_SERVER_PRINT_OPTION = ["Server","Server","Servidor"];
var MAN_SHOWHOSTPRINT = ["Bewirtungsbeleg auswählbar","Hospitality receipt selectable","recibo de hospitalidad posible"];
var MAN_ONECLICKCOOKED = ["1-Klick Zubereitung (Küchen-/Baransicht)","1-click cooked (Kitchen/Bar view)","1-click cocido (Cocina/Bar)"];
var MAN_SHOWPICKDELBTN = ["Zeige Entfernen-Button in Abholansicht","Show remove button in pickup view","Boton <i>eliminar</i> en vista de recogidos"];
var MAN_SHOWPICKHELP = ["Zeige Hilfebereich","Show help area","Mostrar area de ayuda"];
2020-11-19 23:12:16 +01:00
var MAN_NO_NEW_UPD_VERSION = ["Update nicht möglich (Version auf dem Server ist unbekannt oder nicht neuer). Installierte Version: ","Update not possible (version on server unknown or not newer). Installed version: ","Actualización no posible (versión en servidor desconocida o no más nueva). Versión instalada: "];
var MAN_UPDATE_BTN_CLICK = ["Das Update startet und kann einige Minuten dauern. Bitte bestätigen diese Meldung und warten Sie, bis dass ein Hinweistext über den Abschluss des Updates informiert.","The update will start and may take a few minutes. Please confirm this message and wait until a message informs you that the update is complete.","La actualización se iniciará y puede tardar unos minutos. Confirme este mensaje y espere a que un mensaje le informe de que la actualización ha finalizado."];
2020-11-19 23:12:24 +01:00
var MAN_PLEASE_WAIT = ["Die Erstellung von Umsatzreports kann mehrere Minuten dauern. Bitte haben Sie nach dem Anklicken eines Umsatzexportbuttons etwas Geduld.","The creation of sales reports may take several minutes. Please be patient after clicking on a report button.","La creación de informes de ventas puede tardar varios minutos. Por favor, tenga paciencia después de hacer clic en un botón de ventas."];
2020-11-19 23:12:32 +01:00
var MAN_NO_VALUE = ["Kein Eintrag vorhanden","No entry available","No hay ningun data"];
var MAN_INVALID_CLOS_PERIOD = ["IDs der ersten oder letzten Tageserfassung nicht festgelegt","ID of the first or last closing not set","ID de la primera o última cerrada no fijado"];
2020-11-19 23:12:59 +01:00
var MAN_PDFREPORTS = ["PDF/CSV-Berichte","PDF/CSV Reports","PDF/CSV Reports"];
2020-11-19 23:12:32 +01:00
var MAN_CONFIGREPORTS = ["Export der Kassenprogrammierung","Export of POS programming","Export Historia"];
var MAN_RUN_DATA = ["Andere Verlaufsdaten","Other runtime data","Otra data"];
var MAN_START_END_HINT = ["Start- und Enddatum dienen zur zeitlichen Eingrenzung der csv/Excel-Umsatzexports und Zeiterfassungsberichte und auch zur Vorauswahl der Tageserfassungen für die PDF-Berichte.","The start and end dates are used for limitation of the csv/Excel sales reports and the work time reports, as well as for preselection of the closings for the pdf reports.","La mes y año sirven para limitar unos exportes y para prellenar la seleccion de cerradas para los PDF exports."];
var MAN_1ST_CLOSING = ["Erste Tageserfassung","First closing","Cerrada primera"];
var MAN_LAST_CLOSING = ["Letzte Tageserfassung","Last closing","Cerrada última"];
var MAN_PDF_REPORT_HINT = ["Erste und letzte Tageserfassung des Reports nach Eingrenzung des Datumsbereich (oben) auswählen:","Choose first and last closing after limit the time frame (above):","Seleccione la cerrada primera y última después de delimitar el intervalo de fechas (arriba):"];
2020-11-19 23:12:46 +01:00
var MAN_PRINT_EXTRAPRICE = ["Preisangabe bei Extras auf Bon","Show price next to extra on receipt","Precio al lado del extra"];
2020-11-19 23:12:50 +01:00
var MAN_TURBO_HINT = ["Mit dem Turbo-Slider lässt sich die Import-Geschwindigkeit beeinflussen. Je höher der Turbo-Wert eingestellt ist, desto größer muss die max_allowed_packet in der DB-Konfiguration sein.","With the Turbo-Slider you can influence the import speed. The higher the turbo value is set, the larger the max_allowed_packet must be in the DB configuration.","Con el Turbo-Slider puede influir en la velocidad de importación. Cuanto mayor sea el valor del turbo, mayor tengo que ser el tamaño del max_allowed_packet en la configuración de la base de datos."];
2020-11-19 23:13:57 +01:00
var MAN_GUESTSECTION = ["Anbindung Gastbestellsystem","Integration guest order system","Integración ordenes por huéspedes"];
var MAN_CREATETABLECODES = ["Tischcodes automatisch erstellen","Generate table codes","Crear codigos de las mesas"];
var MAN_CREATETABLEQR = ["Zeige Tisch-QR-Codes","Show table QR Codes","Mostrat QR Codigos para las mesas"];
var MAN_GUEST_QR_HEADER = ["Tisch-QR-Codes","Table QR Codes","Codigos QR para las mesas"];
var MAN_GUEST_QRTEXT = ["Beschriftung","Text next to QR code","Texto al lado del codigo QR"];
var MAN_GUEST_QRFONTSIZE = ["Beschriftung Fontgröße","Font size","Tamaño del QR texto"];
var MAN_GUEST_QRSIZE = ["Größe (Pixels)","Size in pixels","Tamaño del codigo"];
var MAN_GUEST_QR_INFO = ["Die QR-Codes können im Bereich Datenbank/Raumplan/Anbindung Gastbestellsystem ausgedruckt werden.","The QR codes can be printed in the area Database/Tables/Integration Guest Order System","Los codigos QR se puede imprimir en la area de Base de datos/Mapa de las mesas/Integration ordenes por huespedes."];
2020-11-19 23:14:04 +01:00
var MAN_PRINTED_WORKRECEIPTS = ["Gedruckte Arbeitsbons","Printed work receipts","Tiquets de trabajo imprimidos"];
2020-11-19 23:14:48 +01:00
var MAN_HINT_PAYMENTS = ["Ist eine TSE angeschlossen, stehen nur die Zahlungswege Bar, EC-Karte und Kreditkarte zur Verfügung.","If a TSE is connected, only the payment methods cash, EC card and credit card are available.","Si se conecta un TSE, sólo se dispone de los métodos de pago en efectivo, tarjeta EC y tarjeta de crédito."];
2020-11-19 23:00:58 +01:00
2020-11-19 23:14:13 +01:00
var MAN_DSFINVK_SECTION = ["DSFinV-K Export","DSFinV-K Export","DSFinV-K Export"];
var MAN_DSFINVK_NAME = ["Name des Unternehmens","Name of company","Nombre de la compania"];
var MAN_DSFINVK_STREET = ["Straße","Street","Calle"];
var MAN_DSFINVK_POSTALCODE = ["Postleitzahl","Postal Code","Código postal"];
var MAN_DSFINVK_CITY = ["Stadt","City","Ciudad"];
var MAN_DSFINVK_COUNTRY = ["Land","Country","País"];
var MAN_DSFINVK_STNR = ["Steuernummer","Tax number","Número de identificación fiscal"];
var MAN_DSFINVK_USTID = ["UStID","UStID","UStID"];
2020-11-19 23:14:48 +01:00
var MAN_TSEURL = ["TSEConnector-URL","TSE-URL","TSE-URL"];
var MAN_TSEPASS = ["TSEConnector-Passwort","TSE-Pass","TSE-Pass"];
var MAN_TSEPIN = ["TSE-PIN","TSE-PIN","TSE-PIN"];
var MAN_TSEPUK = ["TSE-PUK","TSE-PUK","TSE-PUK"];
var MAN_USETSE = ["Anbindung TSE","Connect to TSE","Conectar a TSE"];
var MAN_COUNTING_PROTOCOL = ["Zählprotokoll","Counting protocol","Protocolo de conteo"];
var MAN_COINS = ["Münzen","Coins","Monedas"];
var MAN_NOTES = ["Banknoten","Notes","Billetes"];
var MAN_COIN_VALNAME = ["Währungseinheit Münzen","Currency unit coins","Unidad monetaria Monedas"];
var MAN_NOTE_VALNAME = ["Währungseinheit Banknoten","Currency unit notes","Unidad monetaria Billetes"];
var MAN_COINS_HINT = ["Münzenwertangaben in kleinster Einheit, z.B. Eurocents. Banknoten per Faktor 100 der kleinsten Einheit. Werte durch Komma getrennt.","Coin denominations in the smallest unit, e.g. Eurocents. Banknotes per factor 100 of the smallest unit. Values separated by commas.","Las denominaciones de las monedas en la unidad más pequeña, por ejemplo, céntimos de euro. Billetes por factor 100 de la unidad más pequeña. Valores separados por comas."];
2020-11-19 23:14:51 +01:00
var MAN_EXPECTED_CASH = ["Barumsätze, die noch nicht in einem Kassenabschluss erfasst wurden","Cash sums that are still not in a closing","Las ventas en efectivo que aún no se han registrado en un saldo de caja"];
var MAN_EXPECTED_CASH_IN_PAYDESK = ["Bargeld, das sich aktuell in der Kasse befinden sollte","Cash that should currently be in the cash register","El efectivo que debería estar actualmente en la caja registradora"];
var MAN_EXPECTED_CASH_HEADER = ["Bargeldumsätze","Cash sales","Moneda"];
2020-11-19 23:15:04 +01:00
var MAN_KITCHEN_EXTRA_SIZE = ["Schriftgrüße Extras-Angabe in Küchen-/Baransicht","Fontsize of extras in kitchen/bar view","Tamaño de font de extras en cocina"];
var MAN_KITCHEN_OPTION_SIZE = ["Schriftgrüße der Kommentare in Küchen-/Baransicht","Fontsize of comments in kitchen/bar view","Tamaño de font de comentarios en cocina"];
var MAN_KITCHEN_FONTSIZE_HINT = ["Wird als Schriftgröße der Wert 0 angegeben, so wird die Standardschriftgröße verwendet.","If the value 0 is set for the font size the default font size will be applied.","Si el tamaño de la fuente se especifica como 0, se utiliza el tamaño de la fuente por defecto."];
2020-11-19 23:14:48 +01:00
2020-11-19 22:47:44 +01:00
var lang = 0;
2020-11-19 23:15:14 +01:00
var generalVals = [12,2,0,3,0,1,1,0,0,1, 0,50,20,10,1,0,0,0,1,0,1,0,0,1,1, 1,1,1,1,1,1,1,1,1,1, 1,2,3, 1,0, 1,0,1, 1,1,0,0, 0,0,0, 0,0,0,1,1, 0,1,0,1,1, 1,2,0, 0,0,1,1,1, 0,0,1,0, 8];
2020-11-19 22:47:44 +01:00
var numberOfClosings = 0;
2020-11-19 22:55:43 +01:00
var unpaidTables = "";
2020-11-19 23:11:44 +01:00
var takeawayhasopenbills = 0;
2020-11-19 23:02:33 +01:00
var version = '';
2020-11-19 23:02:49 +01:00
var newerversionavailable = 0;
2020-11-19 23:03:07 +01:00
var adminIsLoggedIn = false;
2020-11-19 23:03:20 +01:00
var managerIsLoggedIn = false;
2020-11-19 23:03:43 +01:00
var defaulttmp = '';
2020-11-19 23:03:48 +01:00
var rolesOnceExtended = false;
2020-11-19 23:11:33 +01:00
var activeusers = [];
2020-11-19 23:14:04 +01:00
var printerqueueexpanded = false;
2020-11-19 23:14:48 +01:00
var tse = null;
var closing = null;
2020-11-19 22:55:43 +01:00
2020-11-19 22:47:44 +01:00
var generalValuesSettings = [
2020-11-19 23:14:10 +01:00
["systemid",MAN_SYSTEMID[lang],"i",0,""],
2020-11-19 23:14:48 +01:00
["usstval","Allg. Steuersatz (ID 1)","i",2,"Allg. Mehrwertsteuer ist kein Zahlenwert"],
["togotaxval","Ermäßigter Steuersaz (ID 2)","i",2,"Erm. Mehrwertsteuer ist kein Zahlenwert"],
2020-11-19 23:00:31 +01:00
["taxaustrianormalval","Österreich Steuer 'Normal'","i",2,"Angabe Österreich-Steuersatz 'normal' ist kein Zahlenwert"],
["taxaustriaerm1val","Österreich Steuer 'Ermäßigt 1'","i",2,"Angabe Österreich-Steuersatz 'Ermäßigt 1' ist kein Zahlenwert"],
["taxaustriaerm2val","Österreich Steuer 'Ermäßigt 2'","i",2,"Angabe Österreich-Steuersatz 'Ermäßigt 2' ist kein Zahlenwert"],
["taxaustriaspecialval","Österreich Steuer 'Besonders'","i",2,"Angabe Österreich-Steuersatz 'Besonders' ist kein Zahlenwert"],
2020-11-19 22:47:44 +01:00
["stornocode","Stornocode","i",1,"Stornocode wurde nicht angegeben!"],
["printpass","Printcode","i",1,"Printcode wurde nicht angegeben"],
["companyinfo","Betriebsinfo","i",0],
2020-11-19 23:03:04 +01:00
["hosttext","Bewirtungsbeleg","i",0],
2020-11-19 23:11:52 +01:00
["rectemplate","Kassenbonvorlage ","i",0],
2020-11-19 23:14:48 +01:00
["clstemplate","Vorlage Tageserfassung","i",0],
["cashtemplate","Vorlage Barein-/auszahlung ","i",0],
2020-11-19 22:59:54 +01:00
["foodtemplate","Arb.bonvorlage Speisen","i",0],
["drinktemplate","Arb.bonvorlage Getränke","i",0],
2020-11-19 23:03:48 +01:00
["canceltemplate","Storno Arb.bonvorlage","i",0],
2020-11-19 23:11:49 +01:00
["clostemplate","Tageserfassung html-Vorlage","i",0],
2020-11-19 23:11:52 +01:00
["pickuptemplate","Abholbon Vorlage","i",0],
2020-11-19 22:47:44 +01:00
["serverUrl","Serveradresse","i",0],
2020-11-19 23:10:06 +01:00
["guesturl","Gastsystem-URL","i",0],
["guestcode","Gastsystem-Zugriffscode","i",0],
["dailycode","Gastsystem-Tageslosung","i",0],
2020-11-19 22:47:44 +01:00
["email","Emailadresse","i",0],
["emailbadrating","Emailadresse schlechte Bewertung","i",0],
["emailratingcontact","Emailadresse Kontaktwunsch","i",0],
["receiveremail","Empfänger-Emailadresse","i",0],
["payprinttype",MAN_PRINT_CONCEPT[lang],"s",1],
["paymentconfig",MAN_PAYMENT_CONFIG[lang],"s",3],
2020-11-19 22:48:24 +01:00
["bigfontworkreceipt",MAN_WORKFONT_CONFIG[lang],"s",7],
2020-11-19 22:52:25 +01:00
["prominentsearch",MAN_PROMINENT_SEARCH[lang],"s",8],
2020-11-19 23:03:26 +01:00
["groupworkitemsf",MAN_GROUP_WORK_ITEMS_F[lang],"s",9],
2020-11-19 22:58:17 +01:00
["discount1",MAN_DISCOUNT1[lang],"s",11],
["discount2",MAN_DISCOUNT2[lang],"s",12],
["discount3",MAN_DISCOUNT3[lang],"s",13],
["austria",MAN_AUSTRIA[lang],"s",10],
2020-11-19 22:58:36 +01:00
["digigopaysetready",MAN_DIGI_GOPAY_SET_READY[lang],"s",14],
2020-11-19 22:58:42 +01:00
["waitergopayprint",MAN_WAITER_GOPAY_PRINT[lang],"s",15],
2020-11-19 23:03:26 +01:00
["oneprodworkrecf",MAN_ONE_PROD_WORKREC_F[lang],"s",17],
2020-11-19 23:00:05 +01:00
["digiprintwork",MAN_DIGI_PRINTWORK[lang],"s",18],
2020-11-19 23:00:55 +01:00
["printandqueuejobs",MAN_PRINT_AND_QUEUE[lang],"s",19],
["cashenabled",MAN_CASH[lang],"s",20],
["beepcooked",MAN_BEEP_COOKED[lang],"s",21],
2020-11-19 23:02:57 +01:00
["closshowci",MAN_CLOSSHOWCI[lang],"s",25],
["closshowpaytaxes",MAN_CLOSSHOWPAYTAXES[lang],"s",26],
["closshowprods",MAN_CLOSSHOWPRODS[lang],"s",27],
["showpayment2",MAN_SHOWPAYMENT2[lang],"s",28],
["showpayment3",MAN_SHOWPAYMENT3[lang],"s",29],
["showpayment4",MAN_SHOWPAYMENT4[lang],"s",30],
["showpayment5",MAN_SHOWPAYMENT5[lang],"s",31],
["showpayment6",MAN_SHOWPAYMENT6[lang],"s",32],
["showpayment7",MAN_SHOWPAYMENT7[lang],"s",33],
["showpayment8",MAN_SHOWPAYMENT8[lang],"s",34],
2020-11-19 23:02:08 +01:00
["restaurantmode",MAN_RESTAURANT_MODE[lang],"s",23],
2020-11-19 23:02:16 +01:00
["returntoorder",MAN_CASH[lang],"s",24],
2020-11-19 22:59:50 +01:00
["addreceipttoprinter",MAN_ADD_RECPRINTER[lang],"s",16],
2020-11-19 22:47:44 +01:00
["workflowconfig",MAN_WORKFLOW[lang],"s",4],
["receiptfontsize",MAN_RECEIPT_FONTSIZE[lang],"s",0],
["billlanguage",MAN_LANG_OF_RECEIPT[lang],"s",2],
["reservationnote",MAN_RES_NOTE[lang],"i",0],
["remoteaccesscode",MAN_REMOTE_ACCESS[lang],"i",0,""],
["cancelunpaidcode",MAN_CANCEL_UNPAID_CODE[lang],"i",0,""],
2020-11-19 23:02:12 +01:00
["cancelguestcode",MAN_CANCEL_GUEST_CODE[lang],"i",0,""],
2020-11-19 22:47:44 +01:00
["smtphost",MAN_SMTPHOST[lang],"i",0,""],
["smtpauth",MAN_SMTPAUTH[lang],"s",5],
["smtpuser",MAN_SMTPUSER[lang],"i",0,""],
["smtppass",MAN_SMTPPASS[lang],"i",0,""],
["smtpsecure",MAN_SMTPSECURE[lang],"s",6],
["smtpport",MAN_SMTPPORT[lang],"i",0,""],
2020-11-19 23:03:31 +01:00
["startprodsearch",MAN_STARTPRODSEARCH[lang],"i",0,""],
2020-11-19 22:58:20 +01:00
["webimpressum",MAN_WEBIMPRESSUM[lang],"i",0,""],
["paydeskid",MAN_PAYDESKID[lang],"i",0,""],
["aeskey",MAN_AESKEY[lang],"i",0,""],
2020-11-19 23:00:58 +01:00
["certificatesn",MAN_CERTIFICATE_SN[lang],"i",0,""],
2020-11-19 23:02:19 +01:00
["rksvserver",MAN_RKSVSERVER[lang],"i",0,""],
2020-11-19 23:00:58 +01:00
["hotelinterface",MAN_HOTELINTERFACE[lang],"s",22],
["hsinfile",MAN_HSINFILE[lang],"i",0],
["hsoutfile",MAN_HSOUTFILE[lang],"i",0],
["hscurrency",MAN_HSCURRENCY[lang],"i",0],
2020-11-19 23:02:42 +01:00
["discountname1",MAN_DISCOUNTNAME1[lang],"i",0,""],
["discountname2",MAN_DISCOUNTNAME2[lang],"i",0,""],
["discountname3",MAN_DISCOUNTNAME3[lang],"i",0,""],
2020-11-19 23:01:04 +01:00
["memorylimit",MAN_MEMORYLIMIT[lang],"i",0,""],
2020-11-19 23:11:27 +01:00
["minbeforecome",MAN_MINBEFORECOME[lang],"i",0,""],
["minaftergo",MAN_MINAFTERGO[lang],"i",0,""],
2020-11-19 23:02:33 +01:00
["updateurl",MAN_UPDATEURL[lang],"i",0,""],
2020-11-19 23:03:43 +01:00
["tmpdir",MAN_TMPDIR[lang],"i",0,""],
["ftphost",MAN_FTPHOST[lang],"i",0,""],
["ftpuser",MAN_FTPUSER[lang],"i",0,""],
["ftppass",MAN_FTPPASS[lang],"i",0,""],
2020-11-19 23:03:20 +01:00
["hs3refresh",MAN_HS3REFRESH[lang],"i",0,""],
["dashslot1",MAN_DASHSLOT1[lang],"s",35],
["dashslot2",MAN_DASHSLOT2[lang],"s",36],
2020-11-19 23:03:29 +01:00
["dashslot3",MAN_DASHSLOT3[lang],"s",37],
["groupworkitemsd",MAN_GROUP_WORK_ITEMS_D[lang],"s",38],
["oneprodworkrecd",MAN_ONE_PROD_WORKREC_D[lang],"s",39],
2020-11-19 23:03:35 +01:00
["dblog",MAN_DBLOG[lang],"s",40],
2020-11-19 23:10:06 +01:00
["priceinlist",MAN_PRICE_IN_LIST[lang],"s",41],
["guestjobprint",MAN_GUEST_JOB_PRINT[lang],"s",42],
2020-11-19 23:10:21 +01:00
["askdaycode",MAN_ASK_DAYCODE[lang],"s",43],
["asktablecode",MAN_ASK_TABLECODE[lang],"s",44],
["guesttimeout",MAN_GUEST_TIMEOUT[lang],"i",0,""],
2020-11-19 23:10:46 +01:00
["showdaycode",MAN_SHOW_DAYCODE[lang],"s",45],
["forceprint",MAN_FORCE_PRINT[lang],"s",46],
2020-11-19 23:10:48 +01:00
["printextras",MAN_PRINT_EXTRAS[lang],"s",47],
2020-11-19 23:11:29 +01:00
["beepordered",MAN_BEEP_ORDERED[lang],"s",48],
2020-11-19 23:11:33 +01:00
["defaultview",MAN_DEFAULTVIEW[lang],"s",49],
["taskallassign",MAN_TASK_ALLASSIGN[lang],"s",50],
["taskownerempty",MAN_TASK_OWNEREMPTY[lang],"s",51],
2020-11-19 23:11:36 +01:00
["taskifempty",MAN_TASK_IF_EMPTY[lang],"s",52],
2020-11-19 23:11:42 +01:00
["showtogo",MAN_SHOWTOGO[lang],"s",53],
2020-11-19 23:11:47 +01:00
["showprepinwaiter",MAN_SHOWPREPINWAITER[lang],"s",54],
["pollbills",MAN_POLLBILLS[lang],"i",0,""],
2020-11-19 23:11:52 +01:00
["printpickups",MAN_PRINTPICKUPS[lang],"s",55],
2020-11-19 23:12:00 +01:00
["showpickupsno",MAN_SHOWPICKUPSNO[lang],"i",0,""],
["showhostprint",MAN_SHOWHOSTPRINT[lang],"s",56],
["oneclickcooked",MAN_ONECLICKCOOKED[lang],"s",57],
["showpickupdelbtn",MAN_SHOWPICKDELBTN[lang],"s",58],
["showpickhelp",MAN_SHOWPICKHELP[lang],"s",59],
2020-11-19 23:12:02 +01:00
["showpayments",MAN_SHOWPAYMENTS[lang],"s",60],
2020-11-19 23:12:07 +01:00
["cbirdfolder",MAN_CBIRD_FOLDER[lang],"i",0,""],
2020-11-19 23:12:18 +01:00
["billprintjobs",MAN_BILLPRINTJOBS[lang],"s",61],
["usebarcode",MAN_USE_BARCODE[lang],"s",62],
2020-11-19 23:12:22 +01:00
["sumupforcard",MAN_SUMUPFORCARD[lang],"s",63],
["affiliatekey","Affiliate Key","i",0],
["appid","App-Id","i",0],
2020-11-19 23:12:24 +01:00
["sumupfailuretext",MAN_SUMUPFAILURETEXT[lang],"i",0,""],
["printcash",MAN_PRINTCASH[lang],"s",64],
2020-11-19 23:12:37 +01:00
["showerrorlog",MAN_SHOW_ERRORLOG[lang],"s",65],
2020-11-19 23:12:39 +01:00
["showtransferbtns",MAN_SHOWTRANSFERBTNS[lang],"s",66],
2020-11-19 23:12:43 +01:00
["logolocation",MAN_LOGOLOCATION[lang],"s",67],
["austriabind",MAN_AUSTRIA_BIND[lang],"s",68],
2020-11-19 23:12:46 +01:00
["doublereceipt",MAN_DOUBLERECEIPT[lang],"s",69],
2020-11-19 23:13:57 +01:00
["printextraprice",MAN_PRINT_EXTRAPRICE[lang],"s",70],
["guestqrtext",MAN_GUEST_QRTEXT[lang],"i",0],
["guestqrfontsize",MAN_GUEST_QRFONTSIZE[lang],"i",0],
["guestqrsize",MAN_GUEST_QRSIZE[lang],"i",0],
2020-11-19 23:14:13 +01:00
["reservationitem",MAN_RES_ITEM[lang],"i",0],
["dsfinvk_name",MAN_DSFINVK_NAME[lang],"i",0,""],
["dsfinvk_street",MAN_DSFINVK_STREET[lang],"i",0,""],
["dsfinvk_postalcode",MAN_DSFINVK_POSTALCODE[lang],"i",0,""],
["dsfinvk_city",MAN_DSFINVK_CITY[lang],"i",0,""],
["dsfinvk_country",MAN_DSFINVK_COUNTRY[lang],"i",0,""],
["dsfinvk_stnr",MAN_DSFINVK_STNR[lang],"i",0,""],
2020-11-19 23:14:48 +01:00
["dsfinvk_ustid",MAN_DSFINVK_USTID[lang],"i",0,""],
["tseurl",MAN_TSEURL[lang],"i",0,""],
["tsepass",MAN_TSEPASS[lang],"i",0,""],
["tsepin",MAN_TSEPIN[lang],"i",0,""],
["tsepuk",MAN_TSEPUK[lang],"i",0,""],
["usetse",MAN_USETSE[lang],"s",71],
["coins",MAN_COINS,"i",0],
["notes",MAN_NOTES,"i",0],
["coinvalname",MAN_COIN_VALNAME,"i",0],
2020-11-19 23:15:04 +01:00
["notevalname",MAN_NOTE_VALNAME,"i",0],
["kitchenextrasize",MAN_KITCHEN_EXTRA_SIZE[lang],"i",0],
2020-11-19 23:15:14 +01:00
["kitchenoptionsize",MAN_KITCHEN_OPTION_SIZE[lang],"i",0],
["guesttheme",MAN_GUEST_THEME[lang],"s",72]
2020-11-19 22:47:44 +01:00
];
var predef = "";
function setLanguage(l) {
lang = l;
2020-11-19 23:03:41 +01:00
$("#closingcreationtxt").html(MAN_CREATECLOS_TXT[l]);
2020-11-19 22:47:44 +01:00
$("#closingtxt").html(MAN_CLOSING[l]);
$("#acc_exporttxt").html(MAN_ACCOUNT_EXPORT[l]);
$("#info_acc_exporttxt").html(MAN_INFO_ACCOUNT_EXPORT[l]);
$("#usertxt").html(MAN_USER[l]);
2020-11-19 23:03:48 +01:00
$("#rolestxt").html(MAN_ROLES[l]);
2020-11-19 22:47:44 +01:00
$("#configtxt").html(MAN_CONFIG[l]);
$("#dbtxt").html(MAN_DB[l]);
$("#speisekarte").html(MAN_SPEISEKARTE[l]);
$("#roomplantxt").html(MAN_ROOMPLAN[l]);
$("#dataexporttxt").html(MAN_DATAEXPORT[l]);
$("#closingdetailstxt").html(MAN_CLOSINGDET_TXT[l]);
var monthHtml = createMonthSelection("select-month");
$("#monthpart").html(monthHtml);
$("#monthpart").trigger("create");
monthHtml = createMonthSelection("select-month-export-start");
$("#datexportstartmonthpart").html(monthHtml);
$("#datexportstartmonthpart").trigger("create");
monthHtml = createMonthSelection("select-month-export-end");
$("#datexportendmonthpart").html(monthHtml);
$("#datexportendmonthpart").trigger("create");
2020-11-19 23:03:35 +01:00
$("#createclosing").html(MAN_CREATE_WITH_REC[l]);
$("#createclosingnoprint").html(MAN_CREATE_WITHOUT_REC[l]);
2020-11-19 23:12:02 +01:00
$("#changeConfigtxt").html(MAN_CHANGE[l]);
2020-11-19 22:47:44 +01:00
$("#dataexportdettxt").html(MAN_DATEXPDETTXT[l]);
2020-11-19 23:10:06 +01:00
2020-11-19 22:47:44 +01:00
$("#readspeisekarte").html(MAN_APPLY[l]);
2020-11-19 23:14:10 +01:00
$("#samplerectemplatetxt").html(MAN_SAMPLE_RECTEMPL_TXT[l]);
2020-11-19 23:14:48 +01:00
$("#sampleclstemplatetxt").html(MAN_SAMPLE_RECTEMPL_TXT[l]);
$("#samplecashtemplatetxt").html(MAN_SAMPLE_RECTEMPL_TXT[l]);
$("#samplefoodworktemplatetxt").html(MAN_SAMPLE_RECTEMPL_TXT[l]);
$("#sampledrinkfoodtemplatetxt").html(MAN_SAMPLE_RECTEMPL_TXT[l]);
$("#samplecanceltemplatetxt").html(MAN_SAMPLE_RECTEMPL_TXT[l]);
$("#samplepickuptemplatetxt").html(MAN_SAMPLE_RECTEMPL_TXT[l]);
2020-11-19 23:03:04 +01:00
$("#hosttexttxt").html(MAN_HOSTTEXT_TXT[l]);
2020-11-19 22:47:44 +01:00
$("#fromemailtxt").html(MAN_EMAIL_SENDER_TXT[l]);
$("#toemailtxt").html(MAN_DEFAULT_EMAIL_TO[l]);
$("#smtphosttxt").html(MAN_SMTPHOST[l]);
$("#smtpusertxt").html(MAN_SMTPUSER[l]);
$("#smtppasstxt").html(MAN_SMTPPASS[l]);
$("#smtpporttxt").html(MAN_SMTPPORT[l]);
2020-11-19 23:12:10 +01:00
$("#guesttimeoutxt").html(MAN_GUEST_TIMEOUT[l]);
2020-11-19 22:47:44 +01:00
2020-11-19 23:03:31 +01:00
$("#startprodsearchtxt").html(MAN_STARTPRODSEARCH[l]);
2020-11-19 23:14:10 +01:00
$("#systemidtxt").html(MAN_SYSTEMID[l]);
2020-11-19 23:03:31 +01:00
2020-11-19 23:02:42 +01:00
$("#discountname1txt").html(MAN_DISCOUNTNAME1[l]);
$("#discountname2txt").html(MAN_DISCOUNTNAME2[l]);
$("#discountname3txt").html(MAN_DISCOUNTNAME3[l]);
2020-11-19 23:00:58 +01:00
$("#memorylimittxt").html(MAN_MEMORYLIMIT[l]);
2020-11-19 23:11:27 +01:00
$("#minbeforecometxt").html(MAN_MINBEFORECOME[l]);
$("#minaftergotxt").html(MAN_MINAFTERGO[l]);
2020-11-19 23:02:33 +01:00
$("#updateurltxt").html(MAN_UPDATEURL[l]);
2020-11-19 23:03:43 +01:00
$("#tmpdirtxt").html(MAN_TMPDIR[l]);
$("#tmpdirhint").html(MAN_TMPDIRHINT[l]);
$("#ftphosttxt").html(MAN_FTPHOST[l]);
$("#ftpusertxt").html(MAN_FTPUSER[l]);
$("#ftppasstxt").html(MAN_FTPPASS[l]);
2020-11-19 23:01:04 +01:00
$("#hs3refreshtxt").html(MAN_HS3REFRESH[l]);
2020-11-19 23:00:58 +01:00
2020-11-19 22:58:20 +01:00
$("#paydeskidtxt").html(MAN_PAYDESKID[l]);
$("#austriahint").html(MAN_AUSTRIA_INCOMPLETE[l]);
2020-11-19 22:58:36 +01:00
$("#digigopaysetreadyhint").html("<p style='padding-left: 50px;padding-right: 50px;'><i>" + MAN_DIGI_GOPAY_DESCR[l] + "</i></p>");
2020-11-19 22:58:42 +01:00
$("#waitergopayprinthint").html("<p style='padding-left: 50px;padding-right: 50px;'><i>" + MAN_WAITER_GOPAY_DESCR[l] + "</i></p>");
2020-11-19 22:59:50 +01:00
$("#addrecprinterhint").html("<p style='padding-left: 50px;padding-right: 50px;'><i>" + MAN_ADD_RECPRINTER_DESCR[l] + "</i></p>");
2020-11-19 22:58:20 +01:00
$("#aeskeytxt").html(MAN_AESKEY[l]);
$("#certificatesntxt").html(MAN_CERTIFICATE_SN[l]);
2020-11-19 23:12:02 +01:00
$("#cbirdfoldertxt").html(MAN_CBIRD_FOLDER[l]);
2020-11-19 23:02:19 +01:00
$("#rksvservertxt").html(MAN_RKSVSERVER[l]);
2020-11-19 22:58:20 +01:00
2020-11-19 22:47:44 +01:00
$("#emailbadratingtxt").html(MAN_EMAIL_BAD_RATING[l]);
$("#emailratingcontacttxt").html(MAN_EMAIL_RATING_CONTACT[l]);
$("#bakrestxt").html(MAN_BAK_REST_HEAD[l]);
2020-11-19 23:02:33 +01:00
$("#updatetxt").html(MAN_UPDATE_HEAD[l]);
2020-11-19 23:03:07 +01:00
$('#dbproptxt').html(MAN_DB_PROPERTIES[l]);
2020-11-19 23:02:33 +01:00
$("#updatebtntxt").html(MAN_CHECK_UPDATE_BTN[l]);
$("#updatehinttxt").html(MAN_UPDATE_HINT[l]);
$("#availableversiontxt").html(MAN_AVAIL_UPD_VERSION[l]);
$("#urltxt").html(MAN_UPDATE_URL[l]);
2020-11-19 22:47:44 +01:00
$("#backupbtntxt").html(MAN_BAK_BTN[l]);
2020-11-19 23:02:19 +01:00
$("#backupguestsbtntxt").html(MAN_BAK_GUEST_BTN[l]);
2020-11-19 22:47:44 +01:00
$("#backupbtntxtall").html(MAN_BAK_BTN_ALL[l]);
2020-11-19 23:03:43 +01:00
$("#backupbtntxtalllogs").html(MAN_BAK_BTN_ALL_LOGS[l]);
$("#backupbtnftptxtall").html(MAN_BAK_FTP_ALL[l]);
2020-11-19 23:12:43 +01:00
$("#backupbtndebugdata").html(MAN_BAK_DEBUGDATA[l]);
2020-11-19 22:59:47 +01:00
$("#golivetxt").html(MAN_GO_LIVE[l]);
2020-11-19 22:47:44 +01:00
$("#shutdownbtntxt").html(MAN_SHUTDOWN[l]);
$("#shutdownhinttxt").html(MAN_SHUTDOWN_HINT[l]);
2020-11-19 23:00:46 +01:00
$("#optimizebtntxt").html(MAN_OPTIMIZE[l]);
2020-11-19 23:02:19 +01:00
// $("#initreceiptbtntxt").html(MAN_INIT_AUSTRIA[l]);
2020-11-19 23:00:46 +01:00
$("#optimizehinttxt").html(MAN_OPTIMIZE_HINT[l]);
2020-11-19 23:12:46 +01:00
$("#insertdemodatabtntxt").html(MAN_INSERT_DEMO_DATA[l]);
$("#insertdemodatahinttxt").html(MAN_INSERT_DEMO_DATA_HINT[l]);
2020-11-19 22:47:44 +01:00
$("#upllogotxt").html(MAN_UPLOAD_LOGO[l]);
$("#dellogobtn").html(MAN_NO_LOGO_BTN[l]);
$("#samplemenutxt").html(MAN_SAMPLE_MENU[l]);
$("#printjobsheader").html(MAN_PRINTJOBS[l]);
$("#updateprintqueue").html(MAN_UPDATE_PRINTJOBS[l]);
2020-11-19 22:59:47 +01:00
$("#clearprintqueue").html(MAN_CLEAR_PRINTJOBS[l]);
2020-11-19 22:47:44 +01:00
$("#tmimgdelbtntxt").html(MAN_TM_DEL[l]);
$("#tmimgbtntxt").html(MAN_TM[l]);
$("#tmhint").html(MAN_TM_HINT[l]);
$("#webimpressum").html(MAN_WEBIMPRESSUM[l]);
$("#taxestxt").html(MAN_TAX_ASSIGN[l]);
$("#taxesassdescr").html(MAN_TAX_ASS_DESC[l]);
$("#taxesassdescr2").html(MAN_TAX_ASS_DESC2[l]);
$("#taxesfoodtxt").html(MAN_FOOD[l]);
$("#taxesdrinkstxt").html(MAN_DRINKS[l]);
$("#taxapplytxt").html(MAN_APPLY[l]);
$("#taxusage").html("<i>(" + MAN_TAX_USE[l] + ")</i>");
2020-11-19 22:58:39 +01:00
$("#rectemplatehint").html(MAN_RECTEMPLATE_HINT[l]);
2020-11-19 23:11:49 +01:00
$("#clostemplatehint").html(MAN_CLOSTEMPLATE_HINT[l]);
2020-11-19 23:00:05 +01:00
$("#digiprinthint").html(MAN_DIGI_PRINTWORK_HINT[l]);
2020-11-19 23:00:39 +01:00
$("#generalsectiontxt").html(MAN_GENSECTION_TXT[l]);
$("#mobilviewsectiontxt").html(MAN_MOBILSECTION_TXT[l]);
2020-11-19 23:12:00 +01:00
$("#transfersectiontxt").html(MAN_TRANSFER_SECTION_TXT[l]);
$("#taxessectiontxt").html(MAN_TAXES_SECTION_TXT[l]);
$("#securitysectiontxt").html(MAN_SECURITY_SECTION_TXT[l]);
$("#generalprintsectiontxt").html(MAN_GEN_PRINT_SECTION_TXT[l]);
$("#workreceiptssectiontxt").html(MAN_WORKRECEIPS_SECTION_TXT[l]);
$("#discountsectiontxt").html(MAN_DISCOUNT_SECTION_TXT[l]);
$("#emailconfigsectiontxt").html(MAN_EMAILCONFIG_TXT[l]);
$("#pickupsectiontxt").html(MAN_PICKUP_CONFIGSECTION_TXT[l]);
$("#templatesectiontxt").html(MAN_TEMPLATESECTION_TXT[l]);
2020-11-19 23:11:27 +01:00
$("#timetrackingtxt").html(MAN_TIMETRACKING[l]);
2020-11-19 23:12:22 +01:00
$("#sumuptxt").html(MAN_SUMUP[l]);
$("#sumupfailuretexttxt").html(MAN_SUMUPFAILURETEXT[l]);
2020-11-19 23:11:33 +01:00
$("#tasktxt").html(MAN_TASKS[l]);
2020-11-19 23:02:16 +01:00
$("#desktopviewsectiontxt").html(MAN_DESKTOP_SECTION_TXT[l]);
2020-11-19 23:00:55 +01:00
$("#specialsettingssectiontxt").html(MAN_SPECIAL_SETTINGS_TXT[l]);
2020-11-19 23:12:00 +01:00
$("#dashsectiontxt").html(MAN_DASH_SECTION_TXT[l]);
2020-11-19 23:10:06 +01:00
$("#guestsystemsectiontxt").html(MAN_GUEST_SYSTEM_TXT[l]);
2020-11-19 23:02:57 +01:00
$("#closingprintstxt").html(MAN_PRINT_ON_CLOSINGS[l]);
2020-11-19 23:14:48 +01:00
$("#clountingprotocoltxt").html(MAN_COUNTING_PROTOCOL[l]);
2020-11-19 23:02:57 +01:00
$("#showpaymentstxt").html(MAN_SHOW_PAYMENTS_DLG[l]);
2020-11-19 23:00:55 +01:00
$("#printandqueuehint").html(MAN_PRINT_AND_QUEUE_HINT[l]);
$("#cashhint").html(MAN_CASH_HINT[l]);
2020-11-19 23:02:16 +01:00
$("#returntoorderhint").html(MAN_RETURN_TO_ORDER_HINT[l]);
2020-11-19 23:12:00 +01:00
$("#showpaymentshint").html(MAN_SHOWPAYMENTS_HINT[l]);
2020-11-19 23:00:58 +01:00
$("#hsinfiletxt").html(MAN_HSINFILE[l]);
$("#hsoutfiletxt").html(MAN_HSOUTFILE[l]);
$("#hscurrencytxt").html(MAN_HSCURRENCY[l]);
2020-11-19 23:02:08 +01:00
$("#restmodehint").html(MAN_REST_MODE_HINT[l]);
2020-11-19 23:02:16 +01:00
$("#workfontsizehint").html(MAN_FONTSIZE_HINT[l]);
2020-11-19 23:02:33 +01:00
$("#updateprogresslabel").html(MAN_UPD_PROGRESS[l] + ": ");
2020-11-19 23:03:20 +01:00
$("#printerinstancesheader").html(MAN_PRINT_INSTANCE_ASS_HEADER[l]);
$("#printerinstancetxt").html(MAN_PRINT_INSTANCE[l]);
$(".pia_k_txt").html(MAN_RECEIPT_TXT[l]);
$(".pia_f_txt").html(MAN_FOOD_REC_TXT[l]);
$(".pia_d_txt").html(MAN_DRINKS_REC_TXT[l]);
$(".pia_c_txt").html(MAN_PRINT_ON_CLOSINGS[l]);
2020-11-19 23:11:52 +01:00
$(".pia_p_txt").html(MAN_PICKUPQUEUE_TXT[l]);
2020-11-19 23:03:20 +01:00
$("#applyPrinterInstances").html(MAN_APPLY[l]);
$("#printerInstanceHint").html(MAN_PRINSTANCE_HINT[l]);
2020-11-19 23:10:21 +01:00
$("#guesttimeouthint").html(MAN_GUESTTIMEOUT_HINT[l]);
2020-11-19 23:11:47 +01:00
2020-11-19 23:12:00 +01:00
$("#serversectiontxt").html(MAN_SERVER_SECTION_TXT[l]);
$("#applysectiontxt").html(MAN_APPLY_SECTION_TXT[l]);
2020-11-19 23:11:47 +01:00
$("#pollhint").html(MAN_POLL_HINT[l]);
$("#pollbillstxt").html(MAN_POLLBILLS[l]);
2020-11-19 23:11:52 +01:00
$("#showpickupsnotxt").html(MAN_SHOWPICKUPSNO[l]);
2020-11-19 23:12:00 +01:00
$("#guestjobprinthint").html(MAN_GUEST_JOB_PRINT_HINT[l]);
2020-11-19 23:12:24 +01:00
$("#csvexportallhint").html(MAN_PLEASE_WAIT[l]);
2020-11-19 23:12:32 +01:00
$("#pdfexporthinthint").html(MAN_PLEASE_WAIT[l]);
$("#pdfsectiondivheader").html(MAN_PDFREPORTS[l]);
$("#exportconfigreportsdivheader").html(MAN_CONFIGREPORTS[l]);
$("#otherrundatadivheader").html(MAN_RUN_DATA[l]);
$("#datesstartendhint").html(MAN_START_END_HINT[l]);
$("#pdfreporthint").html(MAN_PDF_REPORT_HINT[l]);
2020-11-19 23:12:50 +01:00
$("#importturbohint").html(MAN_TURBO_HINT[l]);
2020-11-19 23:12:59 +01:00
$("#firstclostxt").html(MAN_VERYFIRST_CLOSING[l]);
$("#lastclostxt").html(MAN_VERYLAST_CLOSING[l]);
2020-11-19 23:13:57 +01:00
$("#guestqrheadertxt").html(MAN_GUEST_QR_HEADER[l]);
$("#guestqrinfotxt").html(MAN_GUEST_QR_INFO[l]);
2020-11-19 23:14:04 +01:00
$("#printedworkreceiptsheader").html(MAN_PRINTED_WORKRECEIPTS[l]);
2020-11-19 23:13:57 +01:00
$("#reservationitemhint").html(MAN_RES_ITEM_HINT[l]);
2020-11-19 23:14:13 +01:00
$("#dsfinvksectiontxt").html(MAN_DSFINVK_SECTION[l]);
$("#dsfinvk_nametxt").html(MAN_DSFINVK_NAME[l]);
$("#dsfinvk_streettxt").html(MAN_DSFINVK_STREET[l]);
$("#dsfinvk_postalcodetxt").html(MAN_DSFINVK_POSTALCODE[l]);
$("#dsfinvk_citytxt").html(MAN_DSFINVK_CITY[l]);
$("#dsfinvk_countrytxt").html(MAN_DSFINVK_COUNTRY[l]);
$("#dsfinvk_stnrtxt").html(MAN_DSFINVK_STNR[l]);
$("#dsfinvk_ustidtxt").html(MAN_DSFINVK_USTID[l]);
2020-11-19 23:14:48 +01:00
$("#tseurltxt").html(MAN_TSEURL[l]);
$("#tsepasstxt").html(MAN_TSEPASS[l]);
$("#tsepintxt").html(MAN_TSEPIN[l]);
$("#tsepuktxt").html(MAN_TSEPUK[l]);
$("#coinstxt").html(MAN_COINS[l]);
$("#notestxt").html(MAN_NOTES[l]);
$("#coinvalnametxt").html(MAN_COIN_VALNAME[l]);
$("#notevalnametxt").html(MAN_NOTE_VALNAME[l]);
$("#coinshinttxt").html(MAN_COINS_HINT[l]);
$("#paymenthint").html(MAN_HINT_PAYMENTS[l]);
2020-11-19 23:14:51 +01:00
$("#cashexpectedheader").html(MAN_EXPECTED_CASH_HEADER[l]);
$("#cashinpaydesk").html(MAN_EXPECTED_CASH_IN_PAYDESK[l]);
$("#unenclosedsales").html(MAN_EXPECTED_CASH[l]);
2020-11-19 23:15:04 +01:00
$("#kitchenextrasizetxt").html(MAN_KITCHEN_EXTRA_SIZE[l]);
$("#kitchenoptionsizetxt").html(MAN_KITCHEN_OPTION_SIZE[l]);
$("#kitchenfontsizehint").html(MAN_KITCHEN_FONTSIZE_HINT[l]);
2020-11-19 23:14:48 +01:00
tse = new TSE();
2020-11-19 22:47:44 +01:00
}
2020-11-19 23:12:37 +01:00
function toggleinlinedisplayelem(iconid) {
var mydiv = document.getElementById(iconid);
mydiv.style.display = (mydiv.style.display=='inline'?'none':'inline');
}
function showconfsection(id) {
var mydiv = document.getElementById(id);
mydiv.style.display = (mydiv.style.display=='block'?'none':'block');
toggleinlinedisplayelem(id + "_expandicon");
toggleinlinedisplayelem(id + "_collapseicon");
}
2020-11-19 22:47:44 +01:00
function createMonthSelection(label) {
var monthHtml = '<label for="' + label + '">' + MAN_MONTH[lang] + '</label>'
+ '<select name="' + label + '" id="' + label + '" data-theme="e">'
+ '<option value="1">' + MAN_JAN[lang] + '</option>'
+ '<option value="2">' + MAN_FEB[lang] + '</option>'
+ '<option value="3">' + MAN_MAR[lang] + '</option>'
+ '<option value="4">' + MAN_APR[lang] + '</option>'
+ '<option value="5">' + MAN_MAY[lang] + '</option>'
+ '<option value="6">' + MAN_JUN[lang] + '</option>'
+ '<option value="7">' + MAN_JUL[lang] + '</option>'
+ '<option value="8">' + MAN_AUG[lang] + '</option>'
+ '<option value="9">' + MAN_SEP[lang] + '</option>'
+ '<option value="10">' + MAN_OCT[lang] + '</option>'
+ '<option value="11">' + MAN_NOV[lang] + '</option>'
+ '<option value="12">' + MAN_DEC[lang] + '</option></select>';
return monthHtml;
}
2020-11-19 23:14:51 +01:00
function getExpectedCashSumsForNextClosing() {
doAjax("GET","php/contenthandler.php?module=closing&command=getCashSumsForNextClosing",null,insertExpectedClosingCashSums,null,true);
}
function insertExpectedClosingCashSums(answer) {
if (answer.status == "OK") {
$("#cashinpaydeskfield").html(answer.msg.cashindesk);
$("#unenclosedsalesfield").html(answer.msg.unclosedsalesincash);
}
}
2020-11-19 23:12:59 +01:00
function checkForFirstAndLastClosing() {
doAjax("GET","php/contenthandler.php?module=closing&command=getFirstAndLastClosing",null,insertFirstAndLastClosingInfo,null,true);
}
function insertFirstAndLastClosingInfo(answer) {
if (answer.status == "OK") {
$("#veryfirstclosing").html(answer.firstclosing);
$("#verylastclosing").html(answer.lastclosing);
}
}
2020-11-19 22:59:47 +01:00
function showPanelsDueToUserStatus(jsonAnswer) {
if (jsonAnswer == "admin") {
$("#dbactionui").show();
2020-11-19 23:03:07 +01:00
adminIsLoggedIn = true;
2020-11-19 23:12:16 +01:00
binddbactionuiexpand();
2020-11-19 22:59:47 +01:00
}
if (jsonAnswer == "manager" || (jsonAnswer == 'admin')) {
2020-11-19 23:03:20 +01:00
managerIsLoggedIn = true;
2020-11-19 22:59:47 +01:00
$("#userpart").show();
2020-11-19 23:03:48 +01:00
$("#rolespart").show();
2020-11-19 22:59:47 +01:00
$("#configpart").show();
$("#printerqueue").show();
$("#dataexport").show();
$("#printserverdownloadpart").show();
2020-11-19 23:03:20 +01:00
$("#printerinstances").show();
2020-11-19 22:59:47 +01:00
}
if(jsonAnswer == "No") {
$("#allpagecontent").hide();
}
2020-11-19 22:47:44 +01:00
}
2020-11-19 23:14:04 +01:00
function bindprinterqueueexpand() {
$("#printerqueue").off("collapsibleexpand").on("collapsibleexpand", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
if (!printerqueueexpanded) {
printerqueueexpanded = true;
getSpooledPrintJobs();
}
});
}
2020-11-19 23:12:16 +01:00
function binddbactionuiexpand() {
$("#dbactionui").off("collapsibleexpand").on("collapsibleexpand", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
if (lang == 0) {
$("#backuphinttxt_de").show();
$("#golivehinttxt_de").show();
} else if (lang == 1) {
$("#backuphinttxt_en").show();
$("#golivehinttxt_en").show();
} else if (lang == 2) {
$("#backuphinttxt_es").show();
$("#golivehinttxt_es").show();
}
});
}
2020-11-19 22:47:44 +01:00
function getSpeisekarte() {
2020-11-19 23:02:57 +01:00
doAjax("GET", "php/contenthandler.php?module=products&command=getSpeisekarte", null, insertSpeisekarte, "Fehler Insert Speisekarte",true);
2020-11-19 22:47:44 +01:00
}
function getGeneralConfigItems() {
2020-11-19 23:11:33 +01:00
doAjax("GET", "php/contenthandler.php?module=admin&command=getGeneralConfigItemsAndUsers", null, insertGeneralConfigItems, "Fehler Konfigurationsdaten",true);
2020-11-19 22:47:44 +01:00
}
2020-11-19 23:00:31 +01:00
function saveValueIntoForm(aValue, decpoint, formid) {
var formattedVal = aValue.replace(".", decpoint);
$(formid).val(formattedVal);
}
2020-11-19 23:03:51 +01:00
function insertGeneralConfigItems(configResult) {
2020-11-19 22:47:44 +01:00
if (configResult.status == "OK") {
2020-11-19 23:12:39 +01:00
d = new Date();
$("#logoimgpart").attr("src", "php/contenthandler.php?module=printqueue&command=getLogoAsPngWithAlphaChannel&"+d.getTime());
2020-11-19 22:47:44 +01:00
var values = configResult.msg;
2020-11-19 23:14:48 +01:00
if ((values.austria == 0) && (values.dsfinvk_name == "")) {
alert(MAN_DSFINVK_WARNING[values.userlanguage]);
}
2020-11-19 22:47:44 +01:00
setLanguage(values.userlanguage);
var decpoint = values.decpoint;
$("#admin-page").data("decpoint",values.decpoint);
2020-11-19 23:14:48 +01:00
saveValueIntoForm(values.tax,decpoint,"#usstval");
2020-11-19 23:00:31 +01:00
saveValueIntoForm(values.togotax,decpoint,"#togotaxval");
saveValueIntoForm(values.taxaustrianormal,decpoint,"#taxaustrianormalval");
saveValueIntoForm(values.taxaustriaerm1,decpoint,"#taxaustriaerm1val");
saveValueIntoForm(values.taxaustriaerm2,decpoint,"#taxaustriaerm2val");
saveValueIntoForm(values.taxaustriaspecial,decpoint,"#taxaustriaspecialval");
2020-11-19 23:02:33 +01:00
version = values.version;
2020-11-19 23:14:10 +01:00
var sn = values.sn;
$("#sn_field").html(sn);
2020-11-19 23:11:33 +01:00
activeusers = values.activeusers;
2020-11-19 23:02:33 +01:00
2020-11-19 23:14:48 +01:00
$("#systemid").val(values.paydeskid);
2020-11-19 22:47:44 +01:00
$("#companyinfo").val(values.companyinfo);
2020-11-19 23:03:04 +01:00
$("#hosttext").val(values.hosttext);
2020-11-19 22:58:39 +01:00
$("#rectemplate").val(values.rectemplate);
2020-11-19 23:14:48 +01:00
$("#clstemplate").val(values.clstemplate);
$("#cashtemplate").val(values.cashtemplate);
2020-11-19 22:59:54 +01:00
$("#foodtemplate").val(values.foodtemplate);
$("#drinktemplate").val(values.drinktemplate);
2020-11-19 23:03:48 +01:00
$("#canceltemplate").val(values.canceltemplate);
2020-11-19 23:11:49 +01:00
$("#clostemplate").val(values.clostemplate);
2020-11-19 23:11:52 +01:00
$("#pickuptemplate").val(values.pickuptemplate);
2020-11-19 22:47:44 +01:00
$("#reservationnote").val(values.reservationnote);
2020-11-19 23:13:57 +01:00
$("#reservationitem").val(values.reservationitem);
2020-11-19 23:12:43 +01:00
$("#cbirdfolder").val(values.cbirdfolder);
2020-11-19 22:47:44 +01:00
var payPrintType = values.payprinttype;
if (payPrintType == "l") {
payPrintType = 1;
generalVals[1] = 1;
}
if (payPrintType == "s") {
payPrintType = 2;
generalVals[1] = 2;
}
generalVals[3] = values.paymentconfig;
2020-11-19 23:03:20 +01:00
generalVals[4] = values.workflowconfig;
2020-11-19 22:59:50 +01:00
generalVals[16] = values.addreceipttoprinter;
2020-11-19 22:59:54 +01:00
if ((values.addreceipttoprinter == "") || (values.addreceipttoprinter == null)) {
generalVals[16] = 0;
}
2020-11-19 22:47:44 +01:00
$("#partOfPayPrintType").html(createPayPrintTypePart(payPrintType));
$("#partOfPaymentConfig").html(createPaymentConfigPart(values.paymentconfig));
2020-11-19 22:59:50 +01:00
$("#partOfAddRecPrinter").html(createAddRecPrinterPart(values.addreceipttoprinter));
2020-11-19 22:47:44 +01:00
$("#partOfWorkflowConfig").html(createWorkflowConfigPart(values.workflowconfig));
2020-11-19 23:11:29 +01:00
$("#partOfDefaultView").html(createDefaultViewPart(values.defaultview));
2020-11-19 23:11:33 +01:00
$("#partOfTaskallasssign").html(createYesNo("taskallassign",MAN_TASK_ALLASSIGN, values.taskallassign));
$("#partOfTaskifempty").html(createYesNo("taskifempty",MAN_TASK_IF_EMPTY, values.taskifempty));
$("#partOfTaskownerempty").html(createTaskOwnerEmptyPart(values.taskownerempty));
2020-11-19 23:11:36 +01:00
$("#partOfShowtogo").html(createYesNo("showtogo",MAN_SHOWTOGO, values.showtogo));
2020-11-19 23:11:42 +01:00
$("#partOfShowprepinwaiter").html(createYesNo("showprepinwaiter",MAN_SHOWPREPINWAITER, values.showprepinwaiter));
2020-11-19 23:11:33 +01:00
2020-11-19 23:03:20 +01:00
$("#partOfDashslot1").html(createDashslotPart(1,values.dashslot1));
$("#partOfDashslot2").html(createDashslotPart(2,values.dashslot2));
$("#partOfDashslot3").html(createDashslotPart(3,values.dashslot3));
2020-11-19 22:48:24 +01:00
$("#partOfBigFontWorkReceipt").html(createBigFontWorkReceiptPart(values.bigfontworkreceipt));
2020-11-19 22:52:25 +01:00
$("#partOfProminentSearch").html(createProminentSearchPart(values.prominentsearch));
2020-11-19 23:03:26 +01:00
$("#partOfGroupWorkItemsf").html(createGroupWorkItemsPartf(values.groupworkitemsf));
$("#partOfGroupWorkItemsd").html(createGroupWorkItemsPartd(values.groupworkitemsd));
2020-11-19 22:58:17 +01:00
$("#partOfAustria").html(createAustriaPart(values.austria));
2020-11-19 22:58:36 +01:00
$("#partOfDigigopaysetready").html(createDigigopaysetready(values.digigopaysetready));
2020-11-19 22:58:42 +01:00
$("#partOfWaitergopayprint").html(createWaitergopayprint(values.waitergopayprint));
2020-11-19 23:03:26 +01:00
$("#partOfOneprodworkrecf").html(createOneprodworkreceiptsf(values.oneprodworkrecf));
$("#partOfOneprodworkrecd").html(createOneprodworkreceiptsd(values.oneprodworkrecd));
2020-11-19 23:00:05 +01:00
$("#partOfDigiprintwork").html(createDigiprintwork(values.digiprintwork));
2020-11-19 23:00:55 +01:00
$("#partOfPrintAndQueueJobs").html(createPrintAndQueueJobs(values.printandqueuejobs));
$("#partOfCash").html(createCash(values.cashenabled));
2020-11-19 23:03:29 +01:00
$("#partOfReturntoorder").html(createYesNo("returntoorder",MAN_RETURNTOORDER,values.returntoorder));
$("#partOfBeepCooked").html(createYesNo("beepcooked",MAN_BEEP_COOKED, values.beepcooked));
2020-11-19 23:10:48 +01:00
$("#partOfBeepOrdered").html(createYesNo("beepordered",MAN_BEEP_ORDERED, values.beepordered));
2020-11-19 23:03:29 +01:00
$("#partOfRestaurantmode").html(createYesNo("restaurantmode",MAN_RESTAURANT_MODE, values.restaurantmode));
2020-11-19 23:12:18 +01:00
$("#partOfUsebarcode").html(createYesNo("usebarcode",MAN_USE_BARCODE, values.usebarcode));
2020-11-19 23:03:29 +01:00
$("#partOfDblog").html(createYesNo("dblog",MAN_DBLOG, values.dblog));
2020-11-19 23:12:37 +01:00
$("#partOfShowtransferbtns").html(createYesNo("showtransferbtns",MAN_SHOWTRANSFERBTNS, values.showtransferbtns));
2020-11-19 23:11:54 +01:00
$("#partOfPrintpickups").html(createPickupConfigPart(values.printpickups));
2020-11-19 23:12:07 +01:00
$("#partOfBillprintjobs").html(createBillprintjobsConfigPart(values.billprintjobs));
2020-11-19 23:10:46 +01:00
$("#partOfForceprint").html(createYesNo("forceprint",MAN_FORCE_PRINT, values.forceprint));
$("#partOfPrintextras").html(createYesNo("printextras",MAN_PRINT_EXTRAS, values.printextras));
2020-11-19 23:12:46 +01:00
$("#partOfPrintextraprice").html(createYesNo("printextraprice",MAN_PRINT_EXTRAPRICE, values.printextraprice));
2020-11-19 23:03:35 +01:00
$("#partOfPriceinlist").html(createYesNo("priceinlist",MAN_PRICE_IN_LIST, values.priceinlist));
2020-11-19 23:10:06 +01:00
$("#partOfGuestjobprint").html(createYesNo("guestjobprint",MAN_GUEST_JOB_PRINT, values.guestjobprint));
2020-11-19 23:15:14 +01:00
$("#partOfGuestTheme").html(createGuestTheme(values.guesttheme));
2020-11-19 23:10:21 +01:00
$("#partOfAskdaycode").html(createYesNo("askdaycode",MAN_ASK_DAYCODE, values.askdaycode));
$("#partOfAsktablecode").html(createYesNo("asktablecode",MAN_ASK_TABLECODE, values.asktablecode));
$("#partOfShowdaycode").html(createYesNo("showdaycode",MAN_SHOW_DAYCODE, values.showdaycode));
2020-11-19 23:02:57 +01:00
$("#partOfclosshowci").html(createYesNo("closshowci",MAN_CLOSSHOWCI,values.closshowci));
$("#partOfclosshowpaytaxes").html(createYesNo("closshowpaytaxes",MAN_CLOSSHOWPAYTAXES,values.closshowpaytaxes));
$("#partOfclosshowprods").html(createYesNo("closshowprods",MAN_CLOSSHOWPRODS,values.closshowprods));
2020-11-19 23:00:55 +01:00
2020-11-19 23:12:00 +01:00
$("#partOfshowpayments").html(createYesNo("showpayments",MAN_SHOWPAYMENTS, values.showpayments));
2020-11-19 23:02:57 +01:00
$("#partOfshowpayment2").html(createYesNo("showpayment2",MAN_SHOWPAYMENT2, values.showpayment2));
$("#partOfshowpayment3").html(createYesNo("showpayment3",MAN_SHOWPAYMENT3, values.showpayment3));
$("#partOfshowpayment4").html(createYesNo("showpayment4",MAN_SHOWPAYMENT4, values.showpayment4));
$("#partOfshowpayment5").html(createYesNo("showpayment5",MAN_SHOWPAYMENT5, values.showpayment5));
$("#partOfshowpayment6").html(createYesNo("showpayment6",MAN_SHOWPAYMENT6, values.showpayment6));
$("#partOfshowpayment7").html(createYesNo("showpayment7",MAN_SHOWPAYMENT7, values.showpayment7));
$("#partOfshowpayment8").html(createYesNo("showpayment8",MAN_SHOWPAYMENT8, values.showpayment8));
2020-11-19 23:12:00 +01:00
$("#partOfShowhostprint").html(createYesNo("showhostprint",MAN_SHOWHOSTPRINT, values.showhostprint));
$("#partOfOneclickcooked").html(createYesNo("oneclickcooked",MAN_ONECLICKCOOKED, values.oneclickcooked));
$("#partOfShowpickupdelbtn").html(createYesNo("showpickupdelbtn",MAN_SHOWPICKDELBTN, values.showpickupdelbtn));
$("#partOfShowpickhelp").html(createYesNo("showpickhelp",MAN_SHOWPICKHELP, values.showpickhelp));
2020-11-19 23:12:22 +01:00
$("#partOfSumupforcard").html(createYesNo("sumupforcard",MAN_SUMUPFORCARD, values.sumupforcard));
2020-11-19 23:12:24 +01:00
$("#partOfPrintcash").html(createYesNo("printcash",MAN_PRINTCASH, values.printcash));
2020-11-19 23:12:43 +01:00
$("#partOfDoublereceipt").html(createYesNo("doublereceipt",MAN_DOUBLERECEIPT, values.doublereceipt));
2020-11-19 23:12:30 +01:00
$("#partOfShowerrorlog").html(createYesNo("showerrorlog",MAN_SHOW_ERRORLOG, values.showerrorlog));
2020-11-19 23:14:48 +01:00
$("#partOfUsetse").html(createUsetsePart(values.usetse));
2020-11-19 23:12:43 +01:00
$("#partOfAustriabind").html(createAustriaBindPart(values.austriabind));
2020-11-19 23:02:57 +01:00
2020-11-19 22:47:44 +01:00
var language = values.billlanguage;
generalVals[2] = language;
$("#partOfBillLanguage").html(createBillLanguagePart(language));
generalVals[0] = parseInt(values.receiptfontsize);
$("#partOfReceiptFontSize").html(createReceiptFontPart());
$("#partOfBillLanguage").data("originalBillLanguage",language);
$("#admin-page").data("currency",values.currency);
$("#serverUrl").val(values.serverurl);
2020-11-19 23:10:06 +01:00
$("#guesturl").val(values.guesturl);
$("#guestcode").val(values.guestcode);
$("#dailycode").val(values.dailycode);
2020-11-19 22:47:44 +01:00
$("#email").val(values.email);
$("#emailbadrating").val(values.emailbadrating);
$("#emailratingcontact").val(values.emailratingcontact);
$("#receiveremail").val(values.receiveremail);
$("#webimpressum").val(values.webimpressum);
$("#cancelunpaidcode").val(values.cancelunpaidcode);
2020-11-19 23:02:12 +01:00
$("#cancelguestcode").val(values.cancelguestcode);
2020-11-19 22:47:44 +01:00
2020-11-19 23:00:58 +01:00
$("#hsinfile").val(values.hsinfile);
$("#hsoutfile").val(values.hsoutfile);
$("#hscurrency").val(values.hscurrency);
2020-11-19 23:13:57 +01:00
$("#guestqrtext").val(values.guestqrtext);
$("#guestqrsize").val(values.guestqrsize);
$("#guestqrfontsize").val(values.guestqrfontsize);
2020-11-19 23:00:58 +01:00
2020-11-19 23:14:13 +01:00
$("#dsfinvk_name").val(values.dsfinvk_name);
$("#dsfinvk_street").val(values.dsfinvk_street);
$("#dsfinvk_postalcode").val(values.dsfinvk_postalcode);
$("#dsfinvk_city").val(values.dsfinvk_city);
$("#dsfinvk_country").val(values.dsfinvk_country);
$("#dsfinvk_stnr").val(values.dsfinvk_stnr);
$("#dsfinvk_ustid").val(values.dsfinvk_ustid);
2020-11-19 23:14:48 +01:00
$("#tseoutput").val("");
2020-11-19 23:15:04 +01:00
$("#kitchenextrasize").val(values.kitchenextrasize);
$("#kitchenoptionsize").val(values.kitchenoptionsize);
2020-11-19 23:14:13 +01:00
2020-11-19 22:47:44 +01:00
generalVals[5] = values.smtpauth;
generalVals[6] = values.smtpsecure;
2020-11-19 22:48:24 +01:00
generalVals[7] = values.bigfontworkreceipt;
2020-11-19 22:52:25 +01:00
generalVals[8] = values.prominentsearch;
2020-11-19 23:03:26 +01:00
generalVals[9] = values.groupworkitemsf;
2020-11-19 22:47:44 +01:00
2020-11-19 22:58:17 +01:00
generalVals[11] = parseInt(values.discount1);
generalVals[12] = parseInt(values.discount2);
generalVals[13] = parseInt(values.discount3);
$("#partOfDiscount1").html(createDiscount1Part());
$("#partOfDiscount2").html(createDiscount2Part());
$("#partOfDiscount3").html(createDiscount3Part());
generalVals[10] = values.austria;
2020-11-19 22:58:36 +01:00
generalVals[14] = values.digigopaysetready;
2020-11-19 22:58:42 +01:00
generalVals[15] = values.waitergopayprint;
2020-11-19 23:03:26 +01:00
generalVals[17] = values.oneprodworkrecf;
2020-11-19 23:00:05 +01:00
generalVals[18] = values.digiprintwork;
2020-11-19 23:00:55 +01:00
generalVals[19] = values.printandqueuejobs;
generalVals[20] = values.cashenabled;
generalVals[21] = values.beepcooked;
2020-11-19 23:00:58 +01:00
generalVals[22] = values.hotelinterface;
2020-11-19 23:02:08 +01:00
generalVals[23] = values.restaurantmode;
2020-11-19 23:02:16 +01:00
generalVals[24] = values.returntoorder;
2020-11-19 22:58:17 +01:00
2020-11-19 23:02:57 +01:00
generalVals[25] = values.closshowci;
generalVals[26] = values.closshowpaytaxes;
generalVals[27] = values.closshowprods;
generalVals[28] = values.showpayment2;
generalVals[29] = values.showpayment3;
generalVals[30] = values.showpayment4;
generalVals[31] = values.showpayment5;
generalVals[32] = values.showpayment6;
generalVals[33] = values.showpayment7;
generalVals[34] = values.showpayment8;
2020-11-19 23:03:20 +01:00
generalVals[35] = values.dashslot1;
generalVals[36] = values.dashslot2;
generalVals[37] = values.dashslot3;
2020-11-19 23:03:29 +01:00
generalVals[38] = values.groupworkitemsd;
generalVals[39] = values.oneprodworkrecd;
generalVals[40] = values.dblog;
2020-11-19 23:03:35 +01:00
generalVals[41] = values.priceinlist;
2020-11-19 23:10:06 +01:00
generalVals[42] = values.guestjobprint;
2020-11-19 23:10:21 +01:00
generalVals[43] = values.askdaycode;
generalVals[44] = values.asktablecode;
generalVals[45] = values.showdaycode;
2020-11-19 23:10:46 +01:00
generalVals[46] = values.forceprint;
generalVals[47] = values.printextras;
2020-11-19 23:10:48 +01:00
generalVals[48] = values.beepordered;
2020-11-19 23:11:33 +01:00
generalVals[49] = values.defaultview;
generalVals[50] = values.taskallassign;
generalVals[51] = values.taskownerempty;
generalVals[52] = values.taskifempty;
2020-11-19 23:11:36 +01:00
generalVals[53] = values.showtogo;
2020-11-19 23:11:42 +01:00
generalVals[54] = values.showprepinwaiter;
2020-11-19 23:11:52 +01:00
generalVals[55] = values.printpickups;
2020-11-19 23:12:00 +01:00
generalVals[56] = values.showhostprint;
generalVals[57] = values.oneclickcooked;
generalVals[58] = values.showpickupdelbtn;
generalVals[59] = values.showpickhelp;
generalVals[60] = values.showpayments;
2020-11-19 23:12:07 +01:00
generalVals[61] = values.billprintjobs;
2020-11-19 23:12:18 +01:00
generalVals[62] = values.usebarcode;
2020-11-19 23:12:22 +01:00
generalVals[63] = values.sumupforcard;
2020-11-19 23:12:24 +01:00
generalVals[64] = values.printcash;
2020-11-19 23:12:30 +01:00
generalVals[65] = values.showerrorlog;
2020-11-19 23:12:37 +01:00
generalVals[66] = values.showtransferbtns;
2020-11-19 23:12:39 +01:00
generalVals[67] = values.logolocation;
2020-11-19 23:12:43 +01:00
generalVals[68] = values.austriabind;
generalVals[69] = values.doublereceipt;
2020-11-19 23:12:46 +01:00
generalVals[70] = values.printextraprice;
2020-11-19 23:14:48 +01:00
generalVals[71] = values.usetse;
2020-11-19 23:15:14 +01:00
generalVals[72] = values.guesttheme;
2020-11-19 23:03:29 +01:00
2020-11-19 23:03:43 +01:00
defaulttmp = values.defaulttmp;
2020-11-19 22:47:44 +01:00
$("#smtphost").val(values.smtphost);
$("#partOfSmtpauth").html(createSMTPAuth(values.smtpauth));
$("#smtpuser").val(values.smtpuser);
$("#smtppass").val(values.smtppass);
$("#partOfSmtpsecure").html(createSMTPSecure(values.smtpsecure));
$("#smtpport").val(values.smtpport);
2020-11-19 23:10:21 +01:00
$("#guesttimeout").val(values.guesttimeout);
2020-11-19 23:03:31 +01:00
$("#startprodsearch").val(values.startprodsearch);
2020-11-19 22:47:44 +01:00
2020-11-19 23:02:42 +01:00
$("#discountname1").val(values.discountname1);
$("#discountname2").val(values.discountname2);
$("#discountname3").val(values.discountname3);
2020-11-19 23:00:58 +01:00
$("#memorylimit").val(values.memorylimit);
2020-11-19 23:11:27 +01:00
$("#minbeforecome").val(values.minbeforecome);
$("#minaftergo").val(values.minaftergo);
2020-11-19 23:02:33 +01:00
$("#updateurl").val(values.updateurl);
2020-11-19 23:03:43 +01:00
$("#tmpdir").val(values.tmpdir);
$("#ftphost").val(values.ftphost);
$("#ftpuser").val(values.ftpuser);
$("#ftppass").val(values.ftppass);
2020-11-19 23:01:04 +01:00
$("#hs3refresh").val(values.hs3refresh);
2020-11-19 23:00:58 +01:00
2020-11-19 22:58:20 +01:00
$("#paydeskid").val(values.paydeskid);
$("#aeskey").val(values.aeskey);
$("#certificatesn").val(values.certificatesn);
2020-11-19 23:02:19 +01:00
$("#rksvserver").val(values.rksvserver);
2020-11-19 22:58:20 +01:00
2020-11-19 23:11:47 +01:00
$("#pollbills").val(values.pollbills);
$("#pollworksf").val(values.pollworksf);
$("#pollworksd").val(values.pollworksd);
$("#pollclosings").val(values.pollclosings);
2020-11-19 23:11:52 +01:00
$("#pollpickups").val(values.pollpickups);
$("#showpickupsno").val(values.showpickupsno);
2020-11-19 23:11:47 +01:00
2020-11-19 23:00:58 +01:00
$("#partOfHotelInterface").html(createHotelInterfacePart(values.hotelinterface));
2020-11-19 23:12:22 +01:00
$("#affiliatekey").val(values.affiliatekey);
$("#appid").val(values.appid);
$("#sumupfailuretext").val(values.sumupfailuretext);
2020-11-19 23:12:39 +01:00
$("#partOfLogolocation").html(createLogolocation(values.logolocation));
2020-11-19 23:12:22 +01:00
2020-11-19 23:14:48 +01:00
$("#tseurl").val(values.tseurl);
$("#tsepass").val(values.tsepass);
$("#tsepin").val(values.tsepin);
$("#tsepuk").val(values.tsepuk);
$("#coins").val(values.coins);
$("#notes").val(values.notes);
$("#coinvalname").val(values.coinvalname);
$("#notevalname").val(values.notevalname);
2020-11-19 22:47:44 +01:00
$("#configpart").trigger("create");
2020-11-19 23:12:50 +01:00
$("#importturboslider").val(values.turbo);
$("#importturboslider").slider("refresh");
2020-11-19 23:14:48 +01:00
$("#remarkfield").val('');
closing = new Closing($("#admin-page").data("decpoint"),language,$("#admin-page").data("currency"));
closing.bindNewClosingExpand(MAN_COUNTING_PROTOCOL[lang] + " - " + MAN_CASH_STATUS_CLS[lang],MAN_COINS[lang],MAN_NOTES[lang],MAN_COUNTING_HINT[lang]);
2020-11-19 23:02:57 +01:00
bindConfig();
2020-11-19 23:03:04 +01:00
continueInitialization();
2020-11-19 22:47:44 +01:00
} else {
setTimeout(function(){document.location.href = "index.html"},250); // not logged in
}
}
function insertSpeisekarte(speisekarte) {
if (speisekarte.status != "ERROR") {
predef = speisekarte.predef;
$("#speiseninfo").textinput( "option", "autogrow", true );
$("#speiseninfo").val(speisekarte.msg);
$("#speiseninfo").trigger('change');
}
2020-11-19 23:02:57 +01:00
bindingMenu();
2020-11-19 22:47:44 +01:00
}
function isSelectedOption(optionNo,option) {
if (optionNo == option) {
return " selected";
} else {
return "";
}
}
function createReceiptFontPart() {
var html = '<div class="ui-field-contain">';
html += '<label for="receiptfontsize">' + MAN_RECEIPT_FONTSIZE[lang] + ':</label>';
html += '<select name="receiptfontsize" id="receiptfontsize" data-theme="e">';
2020-11-19 23:12:43 +01:00
for(var i=7;i<=18;i++) {
html += '<option value="' + i + '"' + isSelectedOption(i,generalVals[0]) + '>' + i + '</option>';
2020-11-19 22:47:44 +01:00
}
html += '</select></div>';
return html;
}
2020-11-19 23:14:48 +01:00
function createSelectField(fieldid,options,currentValue,fieldLabel) {
2020-11-19 23:12:43 +01:00
var html = '<div class="ui-field-contain">';
2020-11-19 23:14:48 +01:00
html += '<label for="' + fieldid + '">' + fieldLabel + ':</label>';
html += '<select name="' + fieldid + '" id="' + fieldid + '" data-theme="e">';
for (var i=0;i<options.length;i++) {
html += '<option value="' + i + '"' + isSelectedOption(i,currentValue) + '>' + options[i] + '</option>';
}
html += '</select></div>';
return html;
}
function createSelectFieldDiffIds(fieldid,options,currentValue,fieldLabel) {
var html = '<div class="ui-field-contain">';
html += '<label for="' + fieldid + '">' + fieldLabel + ':</label>';
html += '<select name="' + fieldid + '" id="' + fieldid + '" data-theme="e">';
for (var i=0;i<options.length;i++) {
var anOption = options[i];
html += '<option value="' + anOption.key + '"' + isSelectedOption(anOption.key,currentValue) + '>' + anOption.key + ": " + anOption.value + "% - " + anOption.name + '</option>';
}
html += '</select></div>';
return html;
}
2020-11-19 23:12:43 +01:00
2020-11-19 23:14:48 +01:00
function createAustriaBindPart(value) {
return createSelectField('austriabind',[MAN_AUSTRIABIND_OPTIONS[0],MAN_AUSTRIABIND_OPTIONS[1],MAN_AUSTRIABIND_OPTIONS[2],MAN_AUSTRIABIND_OPTIONS[3]],value,MAN_AUSTRIA_BIND[lang]);
2020-11-19 23:12:43 +01:00
}
2020-11-19 22:47:44 +01:00
function createPaymentConfigPart(payment) {
2020-11-19 23:14:48 +01:00
return createSelectField('paymentconfig',['Maxi','Mini'],payment,MAN_PAYMENT_CONFIG[lang]);
2020-11-19 22:47:44 +01:00
}
2020-11-19 22:59:50 +01:00
function createAddRecPrinterPart(value) {
var html = '<div class="ui-field-contain">';
html += '<label for="addreceipttoprinter">' + MAN_ADD_RECPRINTER[lang] + ':</label>';
html += '<select name="addreceipttoprinter" id="addreceipttoprinter" data-theme="e">';
2020-11-19 22:59:54 +01:00
if ((value == "") || (value == "-") || (value == 0)) {
2020-11-19 22:59:50 +01:00
html += '<option value="0" selected>-</option>';
} else {
html += '<option value="0">-</option>';
}
for (var i=1;i<=6;i++) {
if (value == i) {
html += '<option value="' + i + '" selected>' + MAN_PRINTER[lang] + ' ' + i + '</option>';
} else {
html += '<option value="' + i + '">' + MAN_PRINTER[lang] + ' ' + i + '</option>';
}
}
html += '</select></div>';
return html;
}
2020-11-19 22:48:24 +01:00
function createBigFontWorkReceiptPart(theValue) {
2020-11-19 23:14:48 +01:00
return createSelectField('bigfontworkreceipt',[MAN_SIZE_NORMAL[lang],MAN_SIZE_BIG[lang]],theValue,MAN_WORKFONT_CONFIG[lang]);
2020-11-19 22:48:24 +01:00
}
2020-11-19 22:52:25 +01:00
function createProminentSearchPart(theValue) {
2020-11-19 22:58:17 +01:00
return createYesNo("prominentsearch", MAN_PROMINENT_SEARCH, theValue);
}
function createDiscountPart(label,nameOnGui,generalValIndex) {
2020-11-19 22:52:25 +01:00
var html = '<div class="ui-field-contain">';
2020-11-19 22:58:17 +01:00
html += '<label for="' + label + '">' + nameOnGui[lang] + ':</label>';
html += '<select name="' + label + '" id="' + label + '" data-theme="e">';
2020-11-19 23:02:42 +01:00
for($i=5;$i<=100;$i+=5) {
2020-11-19 22:58:17 +01:00
html += '<option value="' + $i + '"' + isSelectedOption($i,generalVals[generalValIndex]) + '>' + $i + '</option>';
2020-11-19 22:52:25 +01:00
}
html += '</select></div>';
return html;
}
2020-11-19 22:58:17 +01:00
function createDiscount1Part() {
return createDiscountPart("discount1", MAN_DISCOUNT1, 11);
}
function createDiscount2Part() {
return createDiscountPart("discount2", MAN_DISCOUNT2, 12);
}
function createDiscount3Part() {
return createDiscountPart("discount3", MAN_DISCOUNT3, 13);
}
function createAustriaPart(theValue) {
return createYesNo("austria", MAN_AUSTRIA, theValue);
}
2020-11-19 22:52:25 +01:00
2020-11-19 22:58:36 +01:00
function createDigigopaysetready(theValue) {
return createYesNo("digigopaysetready",MAN_DIGI_GOPAY_SET_READY, theValue);
}
2020-11-19 22:58:42 +01:00
function createWaitergopayprint(theValue) {
return createYesNo("waitergopayprint",MAN_WAITER_GOPAY_PRINT, theValue);
}
2020-11-19 23:03:26 +01:00
function createOneprodworkreceiptsf(theValue) {
return createYesNo("oneprodworkrecf",MAN_ONE_PROD_WORKREC_F, theValue);
}
function createOneprodworkreceiptsd(theValue) {
return createYesNo("oneprodworkrecd",MAN_ONE_PROD_WORKREC_D, theValue);
2020-11-19 23:00:05 +01:00
}
function createDigiprintwork(theValue) {
return createYesNo("digiprintwork",MAN_DIGI_PRINTWORK,theValue);
}
2020-11-19 23:03:26 +01:00
function createGroupWorkItemsPartf(theValue) {
return createYesNo("groupworkitemsf", MAN_GROUP_WORK_ITEMS_F, theValue);
}
function createGroupWorkItemsPartd(theValue) {
return createYesNo("groupworkitemsd", MAN_GROUP_WORK_ITEMS_D, theValue);
2020-11-19 22:58:17 +01:00
}
2020-11-19 23:00:55 +01:00
function createPrintAndQueueJobs(theValue) {
return createYesNo("printandqueuejobs",MAN_PRINT_AND_QUEUE, theValue);
}
function createCash(theValue) {
2020-11-19 23:13:59 +01:00
return createYesNo("cashenabled",MAN_CASH, theValue);
2020-11-19 23:00:55 +01:00
}
2020-11-19 23:15:14 +01:00
function createGuestTheme(theValue) {
return createPreferMobileThemePart(theValue,"guesttheme",MAN_GUEST_THEME[lang],lang);
}
2020-11-19 22:58:17 +01:00
function createYesNo(label,nameOnGui,theValue) {
2020-11-19 23:14:48 +01:00
return createSelectField(label,[MAN_NO[lang],MAN_YES[lang]],theValue,nameOnGui[lang]);
2020-11-19 22:53:50 +01:00
}
2020-11-19 23:03:20 +01:00
function createDashslotPart(number,value) {
var label = MAN_DASHSLOT1;
if (number == 2) {
label = MAN_DASHSLOT2;
} else if (number == 3) {
label = MAN_DASHSLOT3;
}
var html = '<div class="ui-field-contain">';
html += '<label for="dashslot' + number + '">' + label[lang] + ':</label>';
html += '<select name="dashslot' + number + '" id="dashslot' + number + '" data-theme="e">';
html += '<option value="0" ' + (value == 0 ? 'selected' : '') + '>-</option>';
html += '<option value="1" ' + (value == 1 ? 'selected' : '') + '>Kellnereinnahmen</option>';
html += '<option value="2" ' + (value == 2 ? 'selected' : '') + '>Offene/abgerechnete Tische</option>';
html += '<option value="3" ' + (value == 3 ? 'selected' : '') + '>Produktverkäufe</option>';
html += '<option value="4" ' + (value == 4 ? 'selected' : '') + '>Produkteinnahmen</option>';
html += '<option value="5" ' + (value == 5 ? 'selected' : '') + '>Monatseinnahme</option>';
html += '<option value="6" ' + (value == 6 ? 'selected' : '') + '>Tageseinnahmen</option>';
2020-11-19 23:03:23 +01:00
html += '<option value="7" ' + (value == 7 ? 'selected' : '') + '>Verweildauer</option>';
2020-11-19 23:03:20 +01:00
html += '</select></div>';
return html;
}
2020-11-19 22:53:50 +01:00
function createWorkflowConfigPart(workflow) {
2020-11-19 23:14:48 +01:00
var options = [MAN_WORKFLOW_BOTH[lang],MAN_WORKFLOW_ONLY_DIGI[lang],MAN_WORKFLOW_ONLY_WR[lang],MAN_WORKFLOW_WR_AND_TRANSFER[lang]];
var html = createSelectField('workflowconfig',options,workflow,MAN_WORKFLOW[lang]);
2020-11-19 22:55:30 +01:00
2020-11-19 23:14:48 +01:00
html += "<p style='padding-left: 50px;padding-right: 50px;'><i>" + MAN_WORKFLOW_WR_AND_TRANSFER_HLP[lang] + "</i></p>";
return html;
2020-11-19 22:47:44 +01:00
}
2020-11-19 23:11:54 +01:00
function createPickupConfigPart(workflow) {
2020-11-19 23:14:48 +01:00
var options = [MAN_NO[lang],MAN_PRINTPICKUPS_ALWAYS[lang],MAN_PRINTPICKUPS[lang]];
var html = createSelectField('printpickups',options,workflow,MAN_PRINTPICKUPS[lang]);
2020-11-19 23:11:54 +01:00
2020-11-19 23:14:48 +01:00
html += "<p style='padding-left: 50px;padding-right: 50px;'><i>" + MAN_PRINTPICKUP_HINT[lang] + "</i></p>";
return html;
2020-11-19 23:11:54 +01:00
}
2020-11-19 23:12:07 +01:00
function createBillprintjobsConfigPart(workflow) {
2020-11-19 23:14:48 +01:00
var options = [MAN_NO[lang],MAN_PRINTPICKUPS_ALWAYS[lang],MAN_PRINTPICKUPS_TOGO[lang]];
var html = createSelectField('billprintjobs',options,workflow,MAN_BILLPRINTJOBS[lang]);
2020-11-19 23:12:07 +01:00
2020-11-19 23:14:48 +01:00
html += "<p style='padding-left: 50px;padding-right: 50px;'><i>" + MAN_BILPRODUCTS_HINT[lang] + "</i></p>";
return html;
2020-11-19 23:12:07 +01:00
}
2020-11-19 23:11:29 +01:00
function createDefaultViewPart(item) {
2020-11-19 23:14:48 +01:00
return createSelectField('defaultview',[MAN_DEFAULTVIEW_MOBILE[lang],MAN_DEFAULTVIEW_DESKTOP[lang]],item,MAN_DEFAULTVIEW[lang]);
}
2020-11-19 23:11:29 +01:00
2020-11-19 23:14:48 +01:00
function createUsetsePart(item) {
return createSelectField('usetse',['Nein','Ja','Fehler'],item,MAN_USETSE[lang]);
2020-11-19 23:11:29 +01:00
}
2020-11-19 23:11:33 +01:00
function createTaskOwnerEmptyPart(item) {
var allValues = [];
allValues[0] = {
id:0,
text: "System"
};
for (var i=0;i<activeusers.length;i++) {
var anActiveUser = activeusers[i];
allValues[allValues.length] = {
id:anActiveUser.id,
text:anActiveUser.username
};
}
var txt = createLabelWithOption("","taskownerempty","",MAN_TASK_OWNEREMPTY[lang],allValues,item);
return txt;
}
2020-11-19 22:47:44 +01:00
function createSMTPAuth(smtpauth) {
2020-11-19 23:14:48 +01:00
return createSelectField('smtpauth',[MAN_NO[lang],MAN_YES[lang]],smtpauth,MAN_SMTPAUTH[lang]);
2020-11-19 22:47:44 +01:00
}
function createSMTPSecure(smtpauth) {
2020-11-19 23:14:48 +01:00
return createSelectField('smtpsecure',['SSL','TLS'],smtpauth,MAN_SMTPSECURE[lang]);
2020-11-19 22:47:44 +01:00
}
2020-11-19 23:12:39 +01:00
function createLogolocation(location) {
var html = '<div class="ui-field-contain">';
html += '<label for="logolocation">' + MAN_LOGOLOCATION[lang] + ':</label>';
html += '<select name="smtpsecure" id="logolocation" data-theme="e">';
for (var i=0;i<3;i++) {
if (location == i) {
html += '<option value="' + i + '" selected>' + MAN_LOGOLOC[i][lang] + '</option>';
} else {
html += '<option value="' + i + '">' + MAN_LOGOLOC[i][lang] + '</option>';
}
}
html += '</select></div>';
return html;
}
2020-11-19 22:47:44 +01:00
function createPayPrintTypePart(localOrServer) {
var html = '<div class="ui-field-contain">';
html += '<label for="payprinttype">' + MAN_PRINT_CONCEPT[lang] + ':</label>';
html += '<select name="payprinttype" id="payprinttype" data-theme="e">';
if ((localOrServer == 'l') || (localOrServer == '1')) {
2020-11-19 23:12:00 +01:00
html += '<option value="1" selected>' + MAN_LOCAL_PRINT_OPTION[lang] + '</option>';
html += '<option value="2">' + MAN_SERVER_PRINT_OPTION[lang] + '</option>';
2020-11-19 22:47:44 +01:00
} else {
2020-11-19 23:12:00 +01:00
html += '<option value="1">' + MAN_LOCAL_PRINT_OPTION[lang] + '</option>';
html += '<option value="2" selected>' + MAN_SERVER_PRINT_OPTION[lang] + '</option>';
2020-11-19 22:47:44 +01:00
}
html += '</select></div>';
return html;
}
function createBillLanguagePart(language) {
2020-11-19 23:14:48 +01:00
return createSelectField('billlanguage',['Deutsch','English','Español'],language,MAN_LANG_OF_RECEIPT[lang]);
2020-11-19 22:47:44 +01:00
}
2020-11-19 23:14:48 +01:00
2020-11-19 23:00:58 +01:00
function createHotelInterfacePart(hotelinterface) {
2020-11-19 23:14:48 +01:00
return createSelectField('hotelinterface',['-','HS/3'],hotelinterface,MAN_HOTELINTERFACE[lang]);
2020-11-19 23:00:58 +01:00
}
2020-11-19 22:47:44 +01:00
function changeConfig(changedEntries) {
doAjax("POST","php/contenthandler.php?module=admin&command=changeConfig",{changed:changedEntries},reactOnConfigChange,"Fehler");
}
function reactOnConfigChange(result) {
2020-11-19 22:59:47 +01:00
if (result.status == "OK") {
2020-11-19 22:59:54 +01:00
$(".genConfigEl").data("changed",false);
getGeneralConfigItems();
alert(MAN_CONFIG_CHANGED[lang]);
2020-11-19 22:47:44 +01:00
} else {
2020-11-19 23:14:10 +01:00
if ((result.code != undefined) && (result.code == 35)) {
alert(MAN_ERROR_MASTER_DATA_CHANGE[lang]);
} else {
alert(MAN_CONFIG_CHANGE_ERROR[lang] + ": " + result.msg);
}
2020-11-19 22:47:44 +01:00
}
}
2020-11-19 23:03:35 +01:00
function initRestoreFileUpload() {
var settings = {
url: "php/contenthandler.php?module=admin&command=restore",
method: "POST",
2020-11-19 23:03:43 +01:00
allowedTypes:"json,zip",
2020-11-19 23:03:35 +01:00
fileName: "userfile",
multiple: false,
uploadQueueOrder: 'replace',
showFileCounter: false,
dragDropStr: "<span>Datei zum Wiederherstellen</span>",
extErrorStr: " ist nicht erlaubt. Erlaubte Dateiendung: ",
2020-11-19 23:10:26 +01:00
onSubmit: function() {
$("#waitimportinprogress").html(MAN_IMPORT_IN_PROGRESS[lang] + ' <img id="progressimginpopup" src="php/3rdparty/images/ajax-loader.gif" />');
$("#waitimportinprogress").show();
},
2020-11-19 23:03:35 +01:00
onSuccess:function(files,data,xhr)
{
2020-11-19 23:10:26 +01:00
$("#waitimportinprogress").hide();
2020-11-19 23:03:35 +01:00
var answer = jQuery.parseJSON(data);
if (answer.status != "OK") {
alert("Upload war nicht erfolgreich: " + answer.msg);
} else {
alert("Import war erfolgreich.");
setTimeout(function(){
2020-11-19 23:24:09 +01:00
document.location.href = "index.html?v=2.0.11";
2020-11-19 23:03:35 +01:00
},250);
}
},
onError: function(files,status,errMsg)
{
2020-11-19 23:10:26 +01:00
$("#waitimportinprogress").hide();
2020-11-19 23:03:35 +01:00
$("#restorestatus").html("<font color='red'>Upload fehlgeschlagen</font>");
}
}
$("#restorefilearea").uploadFile(settings);
}
2020-11-19 22:47:44 +01:00
$(document).ready(function() {
2020-11-19 23:03:48 +01:00
$.ajaxSetup({ cache: false });
2020-11-19 22:55:43 +01:00
requestUnpaidTables();
var refreshId = setInterval(function() {
requestUnpaidTables();
}, 5000);
2020-11-19 23:03:35 +01:00
initRestoreFileUpload();
2020-11-19 22:47:44 +01:00
});
2020-11-19 22:55:43 +01:00
function requestUnpaidTables() {
doAjaxAsync("GET","php/contenthandler.php?module=queue&command=getUnpaidTables",null,insertUnpaidTables,null);
}
function insertUnpaidTables(answer) {
if (answer.status == "OK") {
unpaidTables = answer.msg;
2020-11-19 23:11:44 +01:00
takeawayhasopenbills = answer.takeawayhasopenbills;
2020-11-19 22:55:43 +01:00
}
}
2020-11-19 22:47:44 +01:00
function areYouSure(text1, text2, button, callback) {
$("#sure .sure-1").text(text1);
$("#sure .sure-2").text(text2);
$("#sure .sure-do").text(button).off("click.sure").on("click.sure", function() {
callback();
$(this).off("click.sure");
});
$.mobile.changePage("#sure");
}
function isNumeric(n) {
return !isNaN(parseFloat(n)) && isFinite(n);
}
2020-11-19 23:00:39 +01:00
2020-11-19 23:03:35 +01:00
function startCreateClosing(remark,doPrint) {
2020-11-19 23:14:48 +01:00
fieldValidity = closing.checkCoinsNotesValues();
if (!fieldValidity.status) {
alert("Fehler: " + fieldValidity.msg);
return;
}
var counting = fieldValidity.counting;
var counted = fieldValidity.counted;
var coinscount = 0;
var notescount = 0;
if (counting == 1) {
coinscount = fieldValidity.coinscount;
notescount = fieldValidity.notescount;
}
var values = {
remark: remark,
print: (doPrint ? 1 : 0),
counting: counting,
coinscount: coinscount,
notescount: notescount,
counted: counted
}
2020-11-19 23:11:44 +01:00
if ((unpaidTables.length == "") && (takeawayhasopenbills == 0)) {
2020-11-19 23:14:48 +01:00
hideClosingBtn();
showProgressPopup();
doAjax("POST","php/contenthandler.php?module=closing&command=createClosing",values,createClosing,"Tagesabschluss");
2020-11-19 22:55:43 +01:00
} else {
2020-11-19 23:11:44 +01:00
var txt = MAN_UNPAID1[lang] + unpaidTables;
if (takeawayhasopenbills == 1) {
if (unpaidTables != "") {
txt += ",";
}
txt += MAN_TOGO[lang];
}
areYouSure("Tageserfassung", txt + ". " + MAN_UNPAID2[lang], MAN_YES[lang], function() {
2020-11-19 23:00:18 +01:00
hideClosingBtn();
2020-11-19 23:10:06 +01:00
showProgressPopup();
2020-11-19 23:14:48 +01:00
doAjax("POST","php/contenthandler.php?module=closing&command=createClosing",values,createClosing,"Tagesabschluss");
2020-11-19 23:00:18 +01:00
});
2020-11-19 22:55:43 +01:00
}
}
2020-11-19 23:00:18 +01:00
function hideClosingBtn() {
2020-11-19 23:12:16 +01:00
$("#closingwaiticon").show();
$("#createclosing").hide();
$("#createclosingnoprint").hide();
$("#createclosing").off();
$("#createclosingnoprint").off();
2020-11-19 23:00:18 +01:00
}
function showClosingBtn() {
2020-11-19 23:12:16 +01:00
$("#closingwaiticon").hide();
$("#createclosing").show();
$("#createclosingnoprint").show();
bindingClosing();
2020-11-19 23:00:18 +01:00
}
2020-11-19 22:55:43 +01:00
2020-11-19 23:02:57 +01:00
function bindingClosing() {
2020-11-19 22:47:44 +01:00
$("#createclosing").off("click").on("click", function (e) {
var remarkText =$('#remarkfield').val();
$('#remarkfield').val("");
2020-11-19 23:12:16 +01:00
2020-11-19 22:47:44 +01:00
var filteredRemark = remarkText.replace(/\f/g,"").replace(/\n/g,"").replace(/\r/g,"").replace(/\t/g,"").replace(/\v/g,"");
2020-11-19 23:03:35 +01:00
startCreateClosing(filteredRemark,true);
});
$("#createclosingnoprint").off("click").on("click", function (e) {
var remarkText =$('#remarkfield').val();
$('#remarkfield').val("");
2020-11-19 23:12:16 +01:00
2020-11-19 23:03:35 +01:00
var filteredRemark = remarkText.replace(/\f/g,"").replace(/\n/g,"").replace(/\r/g,"").replace(/\t/g,"").replace(/\v/g,"");
startCreateClosing(filteredRemark,false);
2020-11-19 22:47:44 +01:00
});
$(".csvExportButton").off("click").on("click", function (e) {
var button_id = this.id;
var pos_underscore = button_id.indexOf("_");
var closingid = button_id.substr(pos_underscore+1,button_id.length-1);
window.location.href = "php/contenthandler.php?module=bill&command=exportCsvOfClosing&closingid=" + closingid;
});
2020-11-19 22:52:25 +01:00
$(".xlsxExportButton").off("click").on("click", function (e) {
var button_id = this.id;
var pos_underscore = button_id.indexOf("_");
var closingid = button_id.substr(pos_underscore+1,button_id.length-1);
window.location.href = "php/contenthandler.php?module=bill&command=exportXlsxOfClosing&closingid=" + closingid;
});
2020-11-19 22:47:44 +01:00
$(".csvExportAllButton").off("click").on("click", function (e) {
var button_id = this.id;
var pos_underscore = button_id.indexOf("_");
var closingid = button_id.substr(pos_underscore+1,button_id.length-1);
window.location.href = "php/contenthandler.php?module=closing&command=exportCsv&closingid=" + closingid;
});
2020-11-19 23:02:12 +01:00
$(".csvExportGuestButton").off("click").on("click", function (e) {
var button_id = this.id;
var pos_underscore = button_id.indexOf("_");
var closingid = button_id.substr(pos_underscore+1,button_id.length-1);
window.location.href = "php/contenthandler.php?module=closing&command=exportGuestCsv&closingid=" + closingid;
});
2020-11-19 22:47:44 +01:00
$(".csvEmailAllButton").off("click").on("click", function (e) {
var button_id = this.id;
var pos_underscore = button_id.indexOf("_");
var closingid = button_id.substr(pos_underscore+1,button_id.length-1);
var emailaddr = $("#email_" + closingid).val();
if (emailaddr == "") {
alert(MAN_EMAIL_EMPTY[lang]);
} else if (emailaddr.indexOf('@') < 0) {
alert(MAN_EMAIL_WRONG_FORMAT[lang]);
} else {
doAjax("GET","php/contenthandler.php?module=closing&command=emailCsv",{closingid: closingid,emailaddress:emailaddr,topic:MAN_CLOSING[lang]},handleResultOfDbAction,"Emailproblem");
}
});
$(".printButton").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var button_id = this.id;
//this.id = "printexport_id"
var pos_underscore = button_id.indexOf("_");
var closingid = button_id.substr(pos_underscore+1,button_id.length-1);
doAjax("GET","php/contenthandler.php?module=closing&command=getClosing",{closingid: closingid},doPrinting,"Druckproblem");
});
$(".printsummary").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var closingid = this.id.split("_")[1];
if (generalVals[1] == 2) {
doAjax("GET","php/contenthandler.php?module=printqueue&command=queueClosingSummary",{closingid: closingid},null,"Druckproblem");
} else {
doAjax("GET","php/contenthandler.php?module=closing&command=getClosingSummary",{closingid: closingid},doPrintClosingSummary,"Druckproblem");
}
});
2020-11-19 23:11:49 +01:00
$(".closhtml").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var closingid = this.id.split("_")[1];
window.open("php/contenthandler.php?module=closing&command=htmlreport&closid=" + closingid,'_blank');
});
2020-11-19 22:47:44 +01:00
$("#select-year").change(function() {
getClosingsOfSelectedDate();
});
$("#select-month").change(function() {
getClosingsOfSelectedDate();
2020-11-19 23:02:57 +01:00
});
}
2020-11-19 23:03:48 +01:00
function bindingRolesPart() {
$("#rolespart").off("collapsibleexpand").on("collapsibleexpand", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
if (!rolesOnceExtended) {
doAjax("GET","php/contenthandler.php?module=admin&command=getRoleList",null, fillRoleListIntoGui,"no role data received",true);
}
});
}
2020-11-19 23:12:50 +01:00
function bindImportTurboSlider() {
$("#importturboslider").off("slidestop").on("slidestop", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var turbo = $("#importturboslider").val();
doAjax("POST","php/contenthandler.php?module=admin&command=setTurbo",{turbo:turbo}, null,null,true);
});
}
2020-11-19 23:12:32 +01:00
function updateStartClosingForSales() {
var data = {
month: $("#select-month-export-start").find(":selected").val(),
year: $("#select-year-export-start").find(":selected").val()
};
getClosingsOfMonthYearStart(data);
}
function updateEndClosingForSales() {
var data = {
month: $("#select-month-export-end").find(":selected").val(),
year: $("#select-year-export-end").find(":selected").val()
}
getClosingsOfMonthYearEnd(data);
}
function getClosingsOfMonthYearStart(data) {
doAjax("GET","php/contenthandler.php?module=closing&command=getClosingsListOfMonthYear",data, fillClosingSelBoxStart,null,true);
}
function getClosingsOfMonthYearEnd(data) {
doAjax("GET","php/contenthandler.php?module=closing&command=getClosingsListOfMonthYear",data, fillClosingSelBoxEnd,null,true);
}
function getDayName(dayOfWeek) {
return MAN_DAYNAMES_START_SUNDAY[dayOfWeek][lang];
}
function fillClosingSelBoxStart(answer) {
fillClosingSelBox(answer,"closselstart","#closselstartdiv",MAN_1ST_CLOSING[lang],false);
}
function fillClosingSelBoxEnd(answer) {
fillClosingSelBox(answer,"closselend","#closselenddiv",MAN_LAST_CLOSING[lang],true);
}
function fillClosingSelBox(answer,selid,divid,labeltxt,lastEntryPreset) {
if (answer.status != "OK") {
return;
}
var txt = '<div class="ui-field-contain"><label for="' + selid + '">' + labeltxt + ':</label>';
txt += "<select id='" + selid + "' data-theme='e'>";
var closings = answer.msg;
if (closings.length == 0) {
txt += "<option value='-1'>" + MAN_NO_VALUE[lang] + "</option>";
} else {
var i=0;
var entryToSelect = 0;
if (lastEntryPreset) {
entryToSelect = closings.length - 1;
}
closings.forEach(function(aClosing) {
var selectTxt = "";
if (i == entryToSelect) {
selectTxt = " selected ";
}
txt += "<option value='" + aClosing.id + "' " + selectTxt + ">" + aClosing.id + ": " + getDayName(aClosing.dayofweek) + " " + aClosing.closdate;
if (aClosing.remark != "") {
txt += " (" + toHtml(aClosing.remark) + ")";
}
txt += "</option>";
i++;
});
}
txt += "</select>";
$(divid).html(txt);
$(divid).trigger("create");
}
function updateStartAndEndClosingSelectionForSalesReport() {
updateStartClosingForSales();
updateEndClosingForSales();
}
2020-11-19 23:02:57 +01:00
function bindingExports() {
2020-11-19 23:12:32 +01:00
$("#select-month-export-start").change(function() {
updateStartClosingForSales();
});
$("#select-year-export-start").change(function() {
updateStartClosingForSales();
});
$("#select-month-export-end").change(function() {
updateEndClosingForSales();
});
$("#select-year-export-end").change(function() {
updateEndClosingForSales();
});
2020-11-19 23:14:48 +01:00
$("#dsfinvkexport").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
window.location.href = "php/contenthandler.php?module=admin&command=dsinvkexport&format=zip";
});
$("#dsfinvkexporthtml").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
window.location.href = "php/contenthandler.php?module=admin&command=dsinvkexport&format=html";
});
2020-11-19 23:02:57 +01:00
$(".exportbtn").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var selectedMonthStart = $("#select-month-export-start").find(":selected").val();
var selectedYearStart = $("#select-year-export-start").find(":selected").val();
var selectedMonthEnd = $("#select-month-export-end").find(":selected").val();
var selectedYearEnd = $("#select-year-export-end").find(":selected").val();
var dateparams = "lang=" + lang + "&";
dateparams += "startMonth=" + selectedMonthStart + "&";
dateparams += "startYear=" + selectedYearStart + "&";
dateparams += "endMonth=" + selectedMonthEnd + "&";
dateparams += "endYear=" + selectedYearEnd;
2020-11-19 23:12:32 +01:00
var closidperiod = getClosingsPeriod();
2020-11-19 23:02:57 +01:00
var theId = this.id;
2020-11-19 23:12:32 +01:00
if ((theId == "createpdfexport") || (theId == "createpdfsummary")) {
if (!closidperiod.status) {
alert(MAN_INVALID_CLOS_PERIOD[lang]);
return;
}
}
var closperiod = closidperiod.period;
2020-11-19 23:02:57 +01:00
if (theId == "createprodexport") {
window.location.href = "php/contenthandler.php?module=products&command=exportCsv";
} else if (theId == "createuserexport") {
window.location.href = "php/contenthandler.php?module=admin&command=exportUserCsv";
} else if (theId == "createconfigexport") {
window.location.href = "php/contenthandler.php?module=admin&command=exportConfigCsv";
} else if (theId == "createdbexport") {
2020-11-19 23:12:24 +01:00
window.location.href = "php/contenthandler.php?module=bill&command=exportAllCsv&" + dateparams;
2020-11-19 23:02:57 +01:00
} else if (theId == "createdbexportxlsx") {
2020-11-19 23:12:24 +01:00
window.location.href = "php/contenthandler.php?module=bill&command=exportAllExcel&" + dateparams;
2020-11-19 23:02:57 +01:00
} else if (theId == "createpdfexport") {
2020-11-19 23:12:32 +01:00
window.open("php/contenthandler.php?module=bill&command=exportPdfReportClosPeriod&" + closperiod,'_blank');
2020-11-19 23:12:59 +01:00
} else if (theId == "createcsvsummary") {
window.open("php/contenthandler.php?module=bill&command=exportCsvSummaryClosPeriod&" + closperiod,'_blank');
2020-11-19 23:02:57 +01:00
} else if (theId == "createpdfsummary") {
2020-11-19 23:12:32 +01:00
window.open("php/contenthandler.php?module=bill&command=exportPdfSummaryClosPeriod&" + closperiod,'_blank');
2020-11-19 23:02:57 +01:00
} else if (theId == "createlogexport") {
window.open("php/contenthandler.php?module=admin&command=exportLog",'_blank');
2020-11-19 23:11:27 +01:00
} else if (theId == "createtimesexport") {
window.location.href = "php/contenthandler.php?module=timetracking&command=exportTimesCsv&" + dateparams;
}
2020-11-19 23:02:57 +01:00
});
}
2020-11-19 23:12:32 +01:00
function getClosingsPeriod() {
var closidstart = $("#closselstart").val();
var closidend = $("#closselend").val();
if ((closidstart < 0) || (closidend < 0)) {
return {status: false, period: ""};
} else {
var closperiod = "closidstart=" + closidstart + "&closidend=" + closidend;
return {status: true, period: closperiod};
}
}
2020-11-19 23:02:57 +01:00
function bindingMenu() {
$("#readspeisekarte").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var text = $("#speiseninfo").val();
doAjaxSuppressError("POST", "php/contenthandler.php?module=admin&command=fillSpeisekarte", {speisekarte:text}, confirmMsg, "Fehler");
});
}
function bindConfig() {
2020-11-19 22:47:44 +01:00
$( ".genConfigEl" ).keyup(function(e) {
$(this).data("changed",true);
});
2020-11-19 23:14:10 +01:00
$("#samplerectemplate").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:24:09 +01:00
doAjax("GET","php/contenthandler.php?module=admin&command=getrectemplate&v=2.0.11",null,handleGetRecTemplate,null);
2020-11-19 23:14:48 +01:00
});
$("#sampleclstemplate").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:24:09 +01:00
doAjax("GET","php/contenthandler.php?module=admin&command=getclstemplate&v=2.0.11",null,handleGetClsTemplate,null);
2020-11-19 23:14:48 +01:00
});
$("#samplecashtemplate").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:24:09 +01:00
doAjax("GET","php/contenthandler.php?module=admin&command=getcashtemplate&v=2.0.11",null,handleGetCashTemplate,null);
2020-11-19 23:14:48 +01:00
});
$("#samplefoodworktemplate").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:24:09 +01:00
doAjax("GET","php/contenthandler.php?module=admin&command=getfoodworktemplate&v=2.0.11",null,handleGetFoodTemplate,null);
2020-11-19 23:14:48 +01:00
});
$("#sampledrinkworktemplate").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:24:09 +01:00
doAjax("GET","php/contenthandler.php?module=admin&command=getdrinkworktemplate&v=2.0.11",null,handleGetDrinkTemplate,null);
2020-11-19 23:14:48 +01:00
});
$("#samplecanceltemplate").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:24:09 +01:00
doAjax("GET","php/contenthandler.php?module=admin&command=getcanceltemplate&v=2.0.11",null,handleGetCancelTemplate,null);
2020-11-19 23:14:48 +01:00
});
$("#samplepickuptemplate").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:24:09 +01:00
doAjax("GET","php/contenthandler.php?module=admin&command=getpickuptemplate&v=2.0.11",null,handleGetPickupTemplate,null);
2020-11-19 23:14:48 +01:00
});
2020-11-19 23:14:10 +01:00
2020-11-19 22:47:44 +01:00
$("#changeConfig").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var changeInfoText = "";
var changedEntries = [];
var i=0;
var aGenConfigEntry = "";
var isChanged = false;
var atLeatOneChange = false;
var entryName = "";
var type = "i";
for (i=0;i<generalValuesSettings.length;i++) {
aGenConfigEntry = generalValuesSettings[i];
type = aGenConfigEntry[2];
entryName = aGenConfigEntry[0];
if (type == "i") {
isChanged = hasChangedData("#" + entryName);
if (isChanged) {
var valueElToChange = {
name: entryName,
value: $("#" + entryName).val(),
needsCheck : aGenConfigEntry[3],
checkTxt : (aGenConfigEntry[3] ? aGenConfigEntry[4] : "")
};
2020-11-19 22:58:20 +01:00
if (entryName == "aeskey") {
var aeskey = $("#aeskey").val().trim();
if (aeskey.length != 64) {
alert(MAN_AESKEY_WRONG_LENGTH[lang]);
return;
}
var isOk = /^[0-9A-F]{64}$/i.test(aeskey);
if (!isOk) {
alert(MAN_AESKEY_NO_HEX[lang]);
return;
}
}
2020-11-19 22:47:44 +01:00
changedEntries[changedEntries.length] = valueElToChange;
}
} else if (type == "s") {
var selectedVal = $("#" + entryName).find(":selected").val();
if (generalVals[aGenConfigEntry[3]] != selectedVal) {
isChanged = true;
var valueElToChange = {
name: entryName,
value: selectedVal,
needsCheck : aGenConfigEntry[3],
checkTxt : (aGenConfigEntry[3] ? aGenConfigEntry[4] : "")
};
changedEntries[changedEntries.length] = valueElToChange;
} else {
isChanged = false;
}
}
if (isChanged) {
atLeatOneChange = true;
if (changeInfoText == "") {
changeInfoText += " " + aGenConfigEntry[1];
} else {
changeInfoText += ", " + aGenConfigEntry[1];
}
}
}
if (!atLeatOneChange) {
$( "#nochangeddata" ).popup( "open", {transition: 'flip'} );
} else {
areYouSure(MAN_CHANGE_CONFIG_HEAD[lang], MAN_CHANGE_CONFIG_CONTENT[lang] + changeInfoText, MAN_YES[lang], function() {
var isValid = true;
for (i=0;i<changedEntries.length;i++) {
var anEntryToChange = changedEntries[i];
var needsCheck = anEntryToChange.needsCheck;
var theVal = anEntryToChange.value;
if (needsCheck > 0) {
if ((typeof theVal == 'undefined') || (theVal == null)){
isValid = false;
alert(anEntryToChange.checkTxt);
return;
}
}
if (needsCheck == 1) {
if (theVal.trim() == "") {
isValid = false;
alert(anEntryToChange.checkTxt);
}
} else if (needsCheck == 2) {
anEntryToChange.value = theVal.replace(",",".");
if (!isNumeric(theVal.replace(",","."))) {
isValid = false;
alert(anEntryToChange.checkTxt);
}
}
};
if (isValid) {
changeConfig(changedEntries);
}
});
}
});
2020-11-19 23:02:57 +01:00
$("#configpart").off("collapsibleexpand").on("collapsibleexpand", function (e) {
2020-11-19 22:47:44 +01:00
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:02:57 +01:00
setVisibilityOfAustriaButtons();
setVisibilityDueToWorkflow();
setVisibilityDueToPrintType();
setVisibilityHs3DueToHotelInterface();
2020-11-19 22:47:44 +01:00
});
2020-11-19 23:14:48 +01:00
tse.binding("#tseoutput");
2020-11-19 23:02:57 +01:00
}
function binding() {
2020-11-19 22:47:44 +01:00
$("#backup_btn").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:24:09 +01:00
window.location.href = "php/contenthandler.php?module=admin&command=backup&type=configuration&v=2.0.11";
2020-11-19 22:47:44 +01:00
});
$("#backup_btnall").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:24:09 +01:00
window.location.href = "php/contenthandler.php?module=admin&command=backup&type=all&v=2.0.11";
2020-11-19 22:47:44 +01:00
});
2020-11-19 23:12:16 +01:00
2020-11-19 23:00:35 +01:00
$("#backup_btnalllogs").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:24:09 +01:00
window.location.href = "php/contenthandler.php?module=admin&command=backup&type=alllogs&v=2.0.11";
2020-11-19 23:00:35 +01:00
});
2020-11-19 22:47:44 +01:00
2020-11-19 23:03:43 +01:00
$("#backup_btnftpall").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:10:06 +01:00
showProgressPopup();
2020-11-19 23:24:09 +01:00
doAjax("GET","php/contenthandler.php?module=admin&command=ftpbackup&type=all&v=2.0.11",null,handleFtpResult,null);
2020-11-19 23:12:43 +01:00
});
$("#backup_debugdata").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:24:09 +01:00
window.open("php/contenthandler.php?module=admin&command=backup&type=debugdata&v=2.0.11",'_blank');
2020-11-19 23:03:43 +01:00
});
2020-11-19 23:02:19 +01:00
$("#backupguests_btn").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:24:09 +01:00
window.location.href = "php/contenthandler.php?module=admin&command=backup&type=confandguests&v=2.0.11";
2020-11-19 23:02:19 +01:00
});
2020-11-19 22:59:47 +01:00
$("#golive").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
areYouSure("Produktivbetrieb beginnen", "Alle Umsatz- und Logdaten löschen?", "Ja", function() {
golive();
});
});
2020-11-19 23:02:33 +01:00
$("#update_btn").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:12:18 +01:00
2020-11-19 23:02:49 +01:00
if (newerversionavailable == 0) {
2020-11-19 23:12:16 +01:00
alert(MAN_NO_NEW_UPD_VERSION[lang] + version);
2020-11-19 23:02:33 +01:00
} else {
2020-11-19 23:12:16 +01:00
alert(MAN_UPDATE_BTN_CLICK[lang]);
2020-11-19 23:02:42 +01:00
doAjax("GET","php/updatehandler.php?command=updatecheck",null,handleUpdateCheckResult,"Skriptproblem");
2020-11-19 23:02:33 +01:00
}
});
2020-11-19 22:47:44 +01:00
$("#shutdown_btn").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
doAjax("GET","php/contenthandler.php?module=admin&command=shutdown",null,handleAnswerShutdown,"Skriptproblem");
});
2020-11-19 23:00:46 +01:00
$("#optimize_btn").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
doAjax("GET","php/contenthandler.php?module=admin&command=optimize",null,handleAnswerOptimize,"Skriptproblem");
});
2020-11-19 23:12:46 +01:00
$("#insertdemodata_btn").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var r = confirm(MAN_ARE_YOU_SURE_DEMO_DATA[lang]);
if (r == true) {
doAjax("GET","php/contenthandler.php?module=demodata&command=insertdemodata",null,handleAnswerInsertDemoData,"Skriptproblem");
}
});
2020-11-19 22:47:44 +01:00
$("#dellogobtn").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
doAjax("GET","php/contenthandler.php?module=admin&command=deletelogo",null,handleDelLogo,"Skriptproblem");
});
$("#readsamplemenu").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
$("#speiseninfo").val(predef);
});
$("#updateprintqueue").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:02:16 +01:00
getSpooledPrintJobs();
2020-11-19 23:03:48 +01:00
});
2020-11-19 22:59:47 +01:00
$("#clearprintqueue").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:02:16 +01:00
2020-11-19 22:59:47 +01:00
doAjax("GET","php/contenthandler.php?module=printqueue&command=clearprintjobs",null,insertPrintQueue,null);
});
2020-11-19 22:47:44 +01:00
$("#taxass_apply").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:00:31 +01:00
var foodTax = $("#taxesassfood option:selected").val();
2020-11-19 22:47:44 +01:00
if (foodTax == "") {
foodTax = -1;
}
2020-11-19 23:00:31 +01:00
var drinksTax = $("#taxesassdrinks option:selected").val();
2020-11-19 22:47:44 +01:00
if (drinksTax == "") {
drinksTax = -1;
}
var data = {
food: foodTax,
drinks: drinksTax
};
doAjax("POST","php/contenthandler.php?module=admin&command=assignTaxes",data,confirmMsg,"Problem Steuersatzzuweisung");
});
2020-11-19 22:58:20 +01:00
2020-11-19 23:03:43 +01:00
$("#defaulttmpbtn").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
$("#tmpdir").val(defaulttmp);
$("#tmpdir").data("changed",true);
});
2020-11-19 22:58:20 +01:00
2020-11-19 22:58:36 +01:00
bindSelectionsWithActions();
}
2020-11-19 23:14:48 +01:00
function handleGetDefaultTemplate(answer,templateid) {
2020-11-19 23:14:10 +01:00
if (answer.status == "OK") {
2020-11-19 23:14:48 +01:00
$(templateid).val(answer.msg);
$(templateid).data("changed",true);
2020-11-19 23:14:10 +01:00
}
}
2020-11-19 23:14:48 +01:00
function handleGetRecTemplate(answer) {
handleGetDefaultTemplate(answer,"#rectemplate");
}
function handleGetClsTemplate(answer) {
handleGetDefaultTemplate(answer,"#clstemplate");
}
function handleGetCashTemplate(answer) {
handleGetDefaultTemplate(answer,"#cashtemplate");
}
function handleGetFoodTemplate(answer) {
handleGetDefaultTemplate(answer,"#foodtemplate");
}
function handleGetDrinkTemplate(answer) {
handleGetDefaultTemplate(answer,"#drinktemplate");
}
function handleGetCancelTemplate(answer) {
handleGetDefaultTemplate(answer,"#canceltemplate");
}
function handleGetPickupTemplate(answer) {
handleGetDefaultTemplate(answer,"#pickuptemplate");
}
2020-11-19 23:02:16 +01:00
function getSpooledPrintJobs() {
2020-11-19 23:14:48 +01:00
var data = {
n: getMillis()
};
doAjax("GET","php/contenthandler.php?module=printqueue&command=getPrintJobOverview",data,insertPrintQueue,null);
2020-11-19 23:02:16 +01:00
}
2020-11-19 23:02:33 +01:00
function getVersionInfoForUpdate() {
var data = {
n: getMillis()
};
2020-11-19 23:02:42 +01:00
doAjax("GET","php/updatehandler.php?command=getAvailableVersion",data,insertAvailableUpdateVersion,null,true);
2020-11-19 23:02:33 +01:00
}
function insertAvailableUpdateVersion(answer) {
$("#urlpath").val(answer.url);
if (answer.status == "OK") {
$("#availversion").html(answer.msg);
2020-11-19 23:02:49 +01:00
newerversionavailable = answer.neweravailable;
2020-11-19 23:02:33 +01:00
} else {
$("#availversion").html('?');
}
}
2020-11-19 23:03:43 +01:00
function handleFtpResult(answer) {
2020-11-19 23:10:06 +01:00
closeProgressPopup();
2020-11-19 23:03:43 +01:00
if (answer.status != "OK") {
alert("Error: " + answer.msg);
return;
}
alert("Aktion durchgeführt");
}
2020-11-19 23:02:33 +01:00
function handleUpdateCheckResult(answer) {
if (answer.status != "OK") {
alert("Error: " + answer.msg);
return;
}
var updateinfolines = answer.msg;
var totalLines = updateinfolines.length;
if (totalLines < 2) {
alert("Info file not valid");
return;
}
totalLines--;
2020-11-19 23:12:18 +01:00
setTimeout(function(){
$("#sliderarea").show();
},250);
updateIndex = 0;
updateTotalLines = totalLines;
updateOneSingleFile();
}
var updateIndex = 0;
var updateTotalLines = 0;
function updateOneSingleFile() {
if (updateIndex < updateTotalLines) {
2020-11-19 23:02:33 +01:00
var data = {
2020-11-19 23:12:18 +01:00
fileindex: updateIndex,
2020-11-19 23:02:33 +01:00
millis: getMillis(),
2020-11-19 23:12:18 +01:00
totalLines: updateTotalLines
2020-11-19 23:02:33 +01:00
};
2020-11-19 23:12:18 +01:00
doAjax("GET","php/updatehandler.php?command=replace",data,handleUpdateReplace,"Replace problem",true);
} else {
setTimeout(function(){
$("#sliderarea").hide();
var millis=getMillis();
2020-11-19 23:24:09 +01:00
document.location.href = "install.html?v=2.0.11&mode=onlyupdate&n=" + millis;
2020-11-19 23:12:18 +01:00
},250);
2020-11-19 23:02:33 +01:00
}
}
function handleUpdateReplace(answer) {
if (answer.status != "OK") {
alert("Fehler: " + answer.msg);
location.reload();
}
var index = parseInt(answer.msg.index) + 1;
var file = answer.msg.file;
var totalLines = parseInt(answer.msg.totalLines);
2020-11-19 23:02:42 +01:00
var porc = Math.round(index * 100 / totalLines);
2020-11-19 23:02:33 +01:00
2020-11-19 23:12:18 +01:00
setTimeout(function(){
$("#updatestatus").html(porc + "% (" + toHtml(file) + ")");
$("#updateslider").val(porc);
$("#updateslider").slider("refresh");
},250);
updateIndex++;
updateOneSingleFile();
2020-11-19 23:02:33 +01:00
}
2020-11-19 23:03:20 +01:00
function getPrinterInstance() {
var data = {
n: getMillis()
};
doAjax("GET","php/contenthandler.php?module=admin&command=getprinterinstances",data,insertPrinterInstance,null,true);
}
function insertPrinterInstance(answer) {
if (answer.status == "OK") {
setPrinterInstance("pia_k1",answer.msg.k1);
setPrinterInstance("pia_k2",answer.msg.k2);
setPrinterInstance("pia_k3",answer.msg.k3);
setPrinterInstance("pia_k4",answer.msg.k4);
setPrinterInstance("pia_k5",answer.msg.k5);
setPrinterInstance("pia_k6",answer.msg.k6);
setPrinterInstance("pia_f1",answer.msg.f1);
setPrinterInstance("pia_f2",answer.msg.f2);
2020-11-19 23:12:05 +01:00
setPrinterInstance("pia_f3",answer.msg.f3);
setPrinterInstance("pia_f4",answer.msg.f4);
2020-11-19 23:03:20 +01:00
setPrinterInstance("pia_d1",answer.msg.d1);
setPrinterInstance("pia_d2",answer.msg.d2);
2020-11-19 23:12:05 +01:00
setPrinterInstance("pia_d3",answer.msg.d3);
setPrinterInstance("pia_d4",answer.msg.d4);
2020-11-19 23:03:20 +01:00
2020-11-19 23:11:52 +01:00
setPrinterInstance("pia_p1",answer.msg.p1);
2020-11-19 23:03:20 +01:00
renderPrinterInstancesTable();
bindPrinterInstanceClick();
}
}
function setPrinterInstance(tabCellId,value) {
$("#" + tabCellId).data("instance",value);
}
function bindPrinterInstanceClick() {
$(".prinstancerow td").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var col = $(this).parent().children().index($(this));
// REM col0 is only name of row, 1-10 are the real instances numbeer
if (col > 0) {
var parts = this.id.split("_");
var cellRowId = "#pia_" + parts[1];
$(cellRowId).data("instance",col);
}
renderPrinterInstancesTable();
});
$("#applyPrinterInstances").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var k1 = $("#pia_k1").data("instance");
var k2 = $("#pia_k2").data("instance");
var k3 = $("#pia_k3").data("instance");
var k4 = $("#pia_k4").data("instance");
var k5 = $("#pia_k5").data("instance");
var k6 = $("#pia_k6").data("instance");
var f1 = $("#pia_f1").data("instance");
var f2 = $("#pia_f2").data("instance");
2020-11-19 23:12:05 +01:00
var f3 = $("#pia_f3").data("instance");
var f4 = $("#pia_f4").data("instance");
2020-11-19 23:03:20 +01:00
var d1 = $("#pia_d1").data("instance");
var d2 = $("#pia_d2").data("instance");
2020-11-19 23:12:05 +01:00
var d3 = $("#pia_d3").data("instance");
var d4 = $("#pia_d4").data("instance");
2020-11-19 23:03:20 +01:00
2020-11-19 23:11:52 +01:00
var p1 = $("#pia_p1").data("instance");
2020-11-19 23:03:20 +01:00
var data = {
k1: k1,
k2: k2,
k3: k3,
k4: k4,
k5: k5,
k6: k6,
f1: f1,
f2: f2,
2020-11-19 23:12:05 +01:00
f3: f3,
f4: f4,
2020-11-19 23:03:20 +01:00
d1: d1,
2020-11-19 23:11:52 +01:00
d2: d2,
2020-11-19 23:12:05 +01:00
d3: d3,
d4: d4,
2020-11-19 23:11:52 +01:00
p1: p1
2020-11-19 23:03:20 +01:00
};
doAjax("POST","php/contenthandler.php?module=admin&command=setprinterinstances",data,handleResultOfDbAction,null,true);
});
}
function renderPrinterInstancesTable() {
renderPrinterInstanceRow("k",6);
2020-11-19 23:12:05 +01:00
renderPrinterInstanceRow("f",4);
renderPrinterInstanceRow("d",4);
2020-11-19 23:11:52 +01:00
renderPrinterInstanceRow("p",1);
2020-11-19 23:03:20 +01:00
}
function renderPrinterInstanceRow(type,typeCount) {
for (var typeNo = 1;typeNo<=typeCount;typeNo++) {
var cellRowId = "#pia_" + type + typeNo;
var prinstance = $(cellRowId).data("instance");
for (var InstanceNo = 1;InstanceNo<=10;InstanceNo++) {
if (InstanceNo == prinstance) {
$(cellRowId + "_" + InstanceNo).html("<img src=img/ok.png />");
} else {
$(cellRowId + "_" + InstanceNo).html("");
}
}
2020-11-19 23:14:48 +01:00
}
2020-11-19 23:03:20 +01:00
}
2020-11-19 22:58:36 +01:00
function bindSelectionsWithActions() {
2020-11-19 22:58:20 +01:00
$("#austria").off("change").on("change", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 22:58:36 +01:00
var newaustriaSelectionBox = $("#austria").find(":selected").val();
$("#partOfAustria").html(createAustriaPart(newaustriaSelectionBox));
2020-11-19 22:58:20 +01:00
setVisibilityOfAustriaButtons();
2020-11-19 22:58:36 +01:00
$("#configpart").trigger("create");
bindSelectionsWithActions();
});
$("#workflowconfig").off("change").on("change", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var newworkflowSel = $("#workflowconfig").find(":selected").val();
$("#partOfWorkflowConfig").html(createWorkflowConfigPart(newworkflowSel));
2020-11-19 22:58:42 +01:00
setVisibilityDueToWorkflow();
2020-11-19 22:58:36 +01:00
$("#configpart").trigger("create");
bindSelectionsWithActions();
2020-11-19 22:58:20 +01:00
});
2020-11-19 23:11:54 +01:00
$("#printpickups").off("change").on("change", function(e) {
e.stopImmediatePropagation();
e.preventDefault();
var newSel = $("#printpickups").find(":selected").val();
$("#partOfPrintpickups").html(createPickupConfigPart(newSel));
setVisibilityDueToWorkflow();
$("#configpart").trigger("create");
bindSelectionsWithActions();
});
2020-11-19 23:11:29 +01:00
$("#defaultview").off("change").on("change", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var newworkflowSel = $("#defaultview").find(":selected").val();
$("#partOfDefaultView").html(createDefaultViewPart(newworkflowSel));
setVisibilityDueToWorkflow();
$("#configpart").trigger("create");
bindSelectionsWithActions();
});
2020-11-19 23:11:33 +01:00
$("#taskownerempty").off("change").on("change", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var newSel = $("#taskownerempty").find(":selected").val();
$("#partOfTaskownerempty").html(createTaskOwnerEmptyPart(newSel));
setVisibilityDueToWorkflow();
$("#configpart").trigger("create");
bindSelectionsWithActions();
});
2020-11-19 23:03:20 +01:00
$("#dashslot1").off("change").on("change", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var newworkflowSel = $("#dashslot1").find(":selected").val();
$("#partOfDashslot1").html(createDashslotPart(1,newworkflowSel));
$("#configpart").trigger("create");
bindSelectionsWithActions();
});
$("#dashslot2").off("change").on("change", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var newworkflowSel = $("#dashslot2").find(":selected").val();
$("#partOfDashslot2").html(createDashslotPart(2,newworkflowSel));
$("#configpart").trigger("create");
bindSelectionsWithActions();
});
$("#dashslot3").off("change").on("change", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var newworkflowSel = $("#dashslot3").find(":selected").val();
$("#partOfDashslot3").html(createDashslotPart(3,newworkflowSel));
$("#configpart").trigger("create");
bindSelectionsWithActions();
});
2020-11-19 22:59:50 +01:00
$("#payprinttype").off("change").on("change", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var newval = $("#payprinttype").find(":selected").val();
$("#partOfPayPrintType").html(createPayPrintTypePart(newval));
setVisibilityDueToPrintType();
$("#configpart").trigger("create");
bindSelectionsWithActions();
});
2020-11-19 23:00:58 +01:00
$("#hotelinterface").off("change").on("change", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var newval = $("#hotelinterface").find(":selected").val();
$("#partOfHotelInterface").html(createHotelInterfacePart(newval));
setVisibilityHs3DueToHotelInterface();
$("#configpart").trigger("create");
bindSelectionsWithActions();
});
2020-11-19 23:14:48 +01:00
$("#usetse").off("change").on("change", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var newval = $("#usetse").find(":selected").val();
$("#partOfUsetse").html(createUsetsePart(newval));
$("#configpart").trigger("create");
bindSelectionsWithActions();
});
2020-11-19 22:47:44 +01:00
}
2020-11-19 22:58:20 +01:00
function setVisibilityOfAustriaButtons() {
var austriaSelectionBox = $("#austria").find(":selected").val();
if (austriaSelectionBox == 1) {
$("#partIfAustriaEnabled").show();
} else {
$("#partIfAustriaEnabled").hide();
}
}
2020-11-19 22:47:44 +01:00
2020-11-19 22:58:42 +01:00
function setVisibilityDueToWorkflow() {
2020-11-19 22:58:36 +01:00
var workflowBox = $("#workflowconfig").find(":selected").val();
if (workflowBox == 1) {
$("#partIfDigiWorkflow").show();
} else {
$("#partIfDigiWorkflow").hide();
}
2020-11-19 22:58:42 +01:00
if (workflowBox == 2) {
$("#partIfWorkReceiptsWorkflow").show();
} else {
$("#partIfWorkReceiptsWorkflow").hide();
}
2020-11-19 22:58:36 +01:00
}
2020-11-19 22:59:50 +01:00
function setVisibilityDueToPrintType() {
var payprinttype = $("#payprinttype").find(":selected").val();
if (payprinttype == 2) {
$("#partAddrecPrinterIfServerPrint").show();
} else {
$("#partAddrecPrinterIfServerPrint").hide();
}
}
2020-11-19 23:00:58 +01:00
function setVisibilityHs3DueToHotelInterface() {
var hotelinterface = $("#hotelinterface").find(":selected").val();
if (hotelinterface == 1) {
$("#hs3area").show();
} else {
$("#hs3area").hide();
}
}
2020-11-19 22:47:44 +01:00
function confirmMsg (result) {
if (result.status != 'OK') {
var code = result.code;
if (code == 26) {
alert(MAN_PARSE_ERROR_LINE[lang] + ":\n" + result.line + "\n" + MAN_PARSE_ERROR[lang]);
} else if (code == 27) {
alert(MAN_WRONG_NUMBER_FORMAT[lang]);
2020-11-19 23:14:10 +01:00
} else if (code == 35) {
alert(MAN_ERROR_MASTER_DATA_CHANGE[lang]);
2020-11-19 22:47:44 +01:00
} else {
alert (MAN_PARSE_ERROR[lang]);
}
} else {
alert("Aktion durchgeführt");
window.location.reload();
}
}
2020-11-19 23:03:48 +01:00
function handleReprint(answer) {
if (answer.status == "OK") {
$("#reprintworkreceipt").val("");
getSpooledPrintJobs();
} else {
alert("Fehler: " + answer.msg);
}
}
2020-11-19 22:47:44 +01:00
function handleDelLogo() {
d = new Date();
2020-11-19 23:12:39 +01:00
$("#logoimgpart").attr("src", "php/contenthandler.php?module=printqueue&command=getLogoAsPngWithAlphaChannel&"+d.getTime());
2020-11-19 22:47:44 +01:00
}
function handleAnswerShutdown(result) {
if (result.status == "OK") {
alert("Der Server wird in Kürze heruntergefahren.");
} else {
alert("Fehler " + result.code + ": " + result.msg);
}
}
2020-11-19 23:00:46 +01:00
function handleAnswerOptimize(result) {
if (result.status == "OK") {
alert("Die Datenbanktabellen wurden aufgeräumt.");
} else {
alert("Fehler " + result.code + ": " + result.msg);
}
}
2020-11-19 23:12:46 +01:00
function handleAnswerInsertDemoData(result) {
if (result.status == "OK") {
alert("Es wurden Demo-Daten eingefügt.");
} else {
alert("Fehler " + result.code + ": " + result.msg);
}
}
2020-11-19 23:02:19 +01:00
function handleAnswerInitReceipt(answer) {
if (answer.status == "OK") {
alert("Startbeleg wurde erzeugt.");
} else {
alert("Fehler: " + answer.msg);
}
}
2020-11-19 22:47:44 +01:00
function hasChangedData(idOfElem) {
var fieldChangedAttr = $("" + idOfElem).data("changed");
if (typeof fieldChangedAttr != 'undefined') {
2020-11-19 22:59:54 +01:00
if ((fieldChangedAttr == null) || (fieldChangedAttr == false)) {
2020-11-19 22:47:44 +01:00
fieldChangedAttr = false;
}
} else {
return false;
}
return fieldChangedAttr;
}
2020-11-19 23:10:06 +01:00
function showProgressPopup() {
$( "#progresspopup" ).popup( "open", {transition: 'flip'} );
}
function closeProgressPopup() {
$( "#progresspopup" ).popup("close");
}
2020-11-19 22:47:44 +01:00
function createClosing(closingresult) {
2020-11-19 23:00:18 +01:00
showClosingBtn();
2020-11-19 23:10:06 +01:00
closeProgressPopup();
2020-11-19 22:58:33 +01:00
requestUnpaidTables();
2020-11-19 22:47:44 +01:00
setMonthYearSelection();
getLastClosings();
if (closingresult.status == "OK") {
2020-11-19 23:14:48 +01:00
closing.clearCountingFields();
2020-11-19 22:47:44 +01:00
var decpoint = $("#admin-page").data("decpoint");
var msg = closingresult.msg;
2020-11-19 23:14:58 +01:00
var allsales = (msg.result.toString()).replace(".", decpoint);
2020-11-19 22:47:44 +01:00
var closingid = msg.closingid;
2020-11-19 23:03:35 +01:00
var doPrint = closingresult.print;
2020-11-19 23:14:58 +01:00
var counting = closingresult.counting;
var counted = (closingresult.counted.toString()).replace(".",decpoint);
var curr = $("#admin-page").data("currency");
var output = "Errechneter Gesamtumsatz des Abschlusses: " + allsales + " " + curr;
if (counting == 1) {
output += ". Gezählt wurde folgender Bargeldbestand: " + counted + " " + curr;
}
alert(output);
2020-11-19 23:12:59 +01:00
checkForFirstAndLastClosing();
2020-11-19 23:14:51 +01:00
getExpectedCashSumsForNextClosing();
2020-11-19 22:47:44 +01:00
2020-11-19 23:03:35 +01:00
if (doPrint == 1) {
if (generalVals[1] == 2) {
doAjax("GET","php/contenthandler.php?module=printqueue&command=queueClosingSummary",{closingid: closingid},null,"Druckproblem");
} else {
doAjax("GET","php/contenthandler.php?module=closing&command=getClosingSummary",{closingid: closingid},doPrintClosingSummary,"Druckproblem");
}
2020-11-19 22:47:44 +01:00
}
} else {
2020-11-19 23:02:49 +01:00
if (closingresult.code == 33) {
alert("Fehler: " + MAN_CLOSING_TIME_LIMIT_ERROR[lang]);
} else {
alert("Fehler " + closingresult.code + ": " + closingresult.msg);
}
2020-11-19 22:47:44 +01:00
}
}
function doPrintClosingSummary(closingdata) {
if (closingdata.status == "OK") {
var msg = closingdata.msg;
if (msg != null) {
var closing = msg.closing;
var overview = msg.overview;
var details = msg.details;
var currency = $("#admin-page").data("currency");
var decpoint = $("#admin-page").data("decpoint");
var html = "<i>Tageslosung Nr.</i> " + closing.id + "<br>";
html += "<i>Datum:</i> " + closing.closingdate + "<br>";
var remark = closing.remark;
if ((remark != null) && (remark != "")) {
html += "<i>Bemerkung: " + remark + "<br>";
}
html += "<i>Brutto-Summe: " + closing.billsum + " " + currency + "<br><br>";
html += "<br><i>Übersicht:</i><br>";
html += "<table><tr><th>Summe<th>Netto<th>Zahl.weg<th>Status</tr>";
var i=0;
for (i=0;i<overview.length;i++) {
var entry = overview[i];
var sum=parseFloat(entry.sum).toFixed(2).replace(".", decpoint);
var tax=parseFloat(entry.netto).toFixed(2).replace(".", decpoint);
var name = entry.name;
var status = entry.status;
if (status == null) {
status = "";
} else if (status == "c") {
status = "Barein-/auslage";
} else if ((status == "x") || (status == "s")) {
status = "Stornovorg.";
}
html += "<tr><td>" + sum + "<td>" + tax + "<td>" + name + "<td>" + status + "</tr>";
}
html += "</table><br><br>Nach Produkten:<br>";
html += "<table><tr><th>Anzahl<th>Prod.<th>Preis<th>Steuer<th>Summe</tr>";
for (i=0;i<details.length;i++) {
var entry = details[i];
var count = entry.count;
var prodname = entry.productname;
var price = parseFloat(entry.price).toFixed(2).replace(".", decpoint);
var tax = parseFloat(entry.tax).toFixed(2).replace(".", decpoint);
var sum = parseFloat(entry.sumprice).toFixed(2).replace(".", decpoint);
html += "<tr><td>" + count + "<td>" + prodname + "<td>" + price + "<td>" + tax + "<td>" + sum + "</tr>";
}
html += "</table>";
$("#tableforprint").html(html);
window.print();
}
} else {
alert("Fehler " + closingdata.code + ": " + closingdata.msg);
}
}
function doPrinting(closingdata) {
if (closingdata.status == "OK") {
var currency = $("#admin-page").data("currency");
var styleTxt5td = "<td style='width:5%; overflow: hidden;text-overflow: ellipsis; font-size:8px;'>";
var styleTxt9td = "<td style='width:9%; overflow: hidden;text-overflow: ellipsis; font-size:8px;'>";
var styleTxt7td = "<td style='width:7%; overflow: hidden;text-overflow: ellipsis; font-size:8px;'>";
var styleTxt13td = "<td style='width:13%; overflow: hidden;text-overflow: ellipsis; font-size:8px;'>";
var styleTxt18td = "<td style='width:18%; overflow: hidden;text-overflow: ellipsis; font-size:8px; white-space:nowrap'>";
var styleTxt27td = "<td style='width:27%; overflow: hidden;text-overflow: ellipsis; font-size:8px;'>";
var styleTxt5th = "<th style='width:5%; overflow: hidden;text-overflow: ellipsis;word-wrap:break-word;font-size:8px;'>";
var styleTxt9th = "<th style='width:9%; overflow: hidden;text-overflow: ellipsis;word-wrap:break-word;font-size:8px;'>";
var styleTxt7th = "<th style='width:7%; overflow: hidden;text-overflow: ellipsis;word-wrap:break-word;font-size:8px;'>";
var styleTxt13th = "<th style='width:13%; overflow: hidden;text-overflow: ellipsis;word-wrap:break-word;font-size:8px;'>";
var styleTxt18th = "<th style='width:18%; overflow: hidden;text-overflow: ellipsis;word-wrap:break-word;font-size:8px;'>";
var styleTxt27th = "<th style='width:27%; overflow: hidden;text-overflow: ellipsis;word-wrap:break-word;font-size:8px;'>";
var closingid = closingdata.closingid;
var closingdate = closingdata.closingdate;
var previousClosingDate = closingdata.previousClosingDate;
var tableText = "";
tableText = "<h2>" + MAN_CLOSING2[lang] + closingid + MAN_OF[lang] + closingdate + "</h2>";
if (previousClosingDate != null) {
tableText += MAN_PERIOD[lang] + previousClosingDate + " - " + closingdate + '<br>';
} else {
2020-11-19 22:58:27 +01:00
tableText += MAN_1ST_CLOSING[lang] + '<br>';
2020-11-19 22:47:44 +01:00
}
tableText += '<table class="closingtable" style="table-layout:fixed; width:100%;" border=1 >';
tableText += "<tr>" + styleTxt5th + MAN_ID[lang];
tableText += styleTxt27th + MAN_DATE[lang];
tableText += styleTxt18th + MAN_PROD[lang];
tableText += styleTxt7th + MAN_BRUTTO[lang] + " (" + currency + ")";
tableText += styleTxt7th + MAN_NETTO[lang] + " (" + currency + ")";
tableText += styleTxt7th + MAN_MWST[lang];
tableText += styleTxt18th + MAN_PAYWAY[lang];
tableText += styleTxt5th + MAN_USER_ID[lang];
tableText += styleTxt9th + MAN_USER_NAME[lang];
tableText += styleTxt13th + MAN_STATE[lang];
tableText += styleTxt5th + MAN_REF[lang] + "</tr>";
$.each(closingdata.msg, function (i, aClosing) {
var billid = aClosing.billid;
var price = aClosing.price;
var netto = aClosing.netto;
var tax = aClosing.tax;
var productname = aClosing.productname;
var paidtime = aClosing.paidtime;
var payment = aClosing.payment;
var userid = aClosing.userid;
var username = aClosing.username;
var ref = aClosing.ref;
ref = ((ref != '') && (ref != null) ? ref : '&nbsp;');
var status = aClosing.status;
status = ((status != '') && (status != null) ? status : '&nbsp;');
tableText += "<tr>";
tableText += styleTxt5td + billid;
tableText += styleTxt27td + paidtime;
tableText += styleTxt18td + productname;
tableText += styleTxt9td + price;
tableText += styleTxt9td + netto;
tableText += styleTxt9td + tax;
tableText += styleTxt18td + payment;
tableText += styleTxt5td + userid;
tableText += styleTxt9td + username;
tableText += styleTxt13td + status;
tableText += styleTxt5td + ref;
tableText += "</tr>";
});
tableText += "</table>";
$("#tableforprint").html(tableText);
window.print();
} else {
alert("Fehler " + closingdata.code + ": " + closingdata.msg);
}
}
function getClosingsOfSelectedDate() {
var selectedYear = $("#select-year").find(":selected").val();
var selectedMonth = $("#select-month").find(":selected").val();
getClosings(selectedMonth,selectedYear);
}
function getLastClosings() {
var today = new Date();
var yyyy = today.getFullYear();
var month = today.getMonth()+1;
getClosings(month,yyyy);
}
function displayReceivedClosings(closingresult) {
if (closingresult.status == "OK") {
numberOfClosings = closingresult.msg.length;
2020-11-19 23:14:48 +01:00
closing.displayClosings(closingresult.msg);
2020-11-19 23:02:57 +01:00
bindingClosing();
bindingExports();
2020-11-19 23:03:48 +01:00
bindingRolesPart();
2020-11-19 23:12:50 +01:00
bindImportTurboSlider();
2020-11-19 22:47:44 +01:00
}
}
function getClosings(month,year) {
var data = {
month: month,
year: year
};
2020-11-19 23:02:57 +01:00
doAjax("GET","php/contenthandler.php?module=closing&command=getClosings",data,displayReceivedClosings,"Keine Abschluesse erhalten",true);
2020-11-19 22:47:44 +01:00
}
2020-11-19 23:03:48 +01:00
function createButtonWithTextField(id,displayedName,defaultText) {
2020-11-19 22:47:44 +01:00
var text = '<div class="ui-field-contain">';
2020-11-19 23:11:29 +01:00
text += '<input id="userpassword_' + id + '" type="text" value="" data-mini="true" placeholder="' + defaultText + '" style="background-color:white;color:black;" />';
2020-11-19 23:03:48 +01:00
text += '<button data-theme="f" data-icon="check" class="changepassword" id="changepassword_' + id + '" >' + displayedName + '</button>';
2020-11-19 22:47:44 +01:00
text += '</div>';
return text;
}
2020-11-19 23:03:48 +01:00
function createYesNoArr() {
var yesnoarr = [
{id:1,text:MAN_YES[lang]},
{id:0,text:MAN_NO[lang]}
];
return yesnoarr;
}
function createRolesArr(roles) {
var rolesArr = [];
for (var i=0;i<roles.length;i++) {
var aRole = roles[i];
rolesArr[rolesArr.length] = {
id:aRole.id,
text:aRole.name
};
}
return rolesArr;
}
2020-11-19 23:11:33 +01:00
function createTableAreaValueArr() {
var vals = [];
vals[vals.length] = {text: ' ', id: 0};
for (var i=0;i<26;i++) {
var character = String.fromCharCode(65 + i);
vals[vals.length] = {text: character, id: (i+1)};
}
return vals;
};
2020-11-19 22:47:44 +01:00
/*
* Creates a table for a user with the info about the user, i.e.
* the username and the rights that the user has to work in the
* various modules.
*/
2020-11-19 23:14:48 +01:00
function createCollapsibeOfUser(userid,id,username,roleid,area,forNewUser,roles) {
d = new Date();
2020-11-19 23:03:48 +01:00
var collapsiblePart = '<div data-role="collapsible" id="userdef_' + id + '"';
2020-11-19 22:47:44 +01:00
if (forNewUser) {
collapsiblePart += ' data-theme="d" data-content-theme="d">';
} else {
collapsiblePart += ' data-theme="c" data-content-theme="c">';
2020-11-19 23:14:48 +01:00
collapsiblePart += '<p /><img src="php/contenthandler.php?module=admin&command=getuserphotoinsession&userid=' + userid + '&d=' +d.getTime() + '" style="width:100px;" />';
2020-11-19 22:47:44 +01:00
}
2020-11-19 23:14:48 +01:00
2020-11-19 22:47:44 +01:00
collapsiblePart += '<h3>'+ username + '</h3>';
collapsiblePart += '<form>';
if (forNewUser) {
2020-11-19 23:03:48 +01:00
collapsiblePart += createLabelWithTextField("userlabel_username_new",MAN_USER_NAME[lang],MAN_USER_NAME[lang]);
collapsiblePart += createLabelWithTextField("userlabel_password_new",MAN_USER_PASS[lang],MAN_USER_PASS[lang]);
2020-11-19 23:12:35 +01:00
} else {
collapsiblePart += createLabelWithTextFieldWithContent("userlabel_username_" + id,MAN_USER_NAME[lang],MAN_USER_NAME[lang],username);
2020-11-19 23:03:48 +01:00
}
var rolesArr = createRolesArr(roles);
collapsiblePart += createLabelWithOption("userlabel_",id,"userrole",MAN_ROLE[lang],rolesArr,roleid);
2020-11-19 23:11:33 +01:00
collapsiblePart += createLabelWithOption("userlabel_",id,"userarea",MAN_AREA[lang],createTableAreaValueArr(),area);
2020-11-19 22:47:44 +01:00
if (forNewUser) {
collapsiblePart += '<button data-theme="f" data-icon="plus" id="CreateNewUser">' + MAN_CREATE[lang] + '</button>';
} else {
2020-11-19 23:11:33 +01:00
collapsiblePart += '<button data-theme="f" data-icon="check" class="userUpdateButton" id="userupdatebtn_' + id + '">' + MAN_CHANGE_ROLE_AREA[lang] + '</button>';
2020-11-19 23:03:48 +01:00
collapsiblePart += createButtonWithTextField("changepasswordbtn_"+id, "Passwort ändern", "Anderes Passwort");
collapsiblePart += '<button data-theme="d" data-icon="minus" class="userDeleteButton" id="deleteuserbtn_' + id + '">Löschen</button>';
}
collapsiblePart += '<form>';
collapsiblePart += '</div>';
return collapsiblePart;
}
2020-11-19 23:11:52 +01:00
function createCollapsibeOfRole(id,name,isAdmin,rWaiter,rKitchen,rBar,rSupply,rPay,rStat,rBill,rProd,rReservation,rRating,rChangeprice,rCustomers,rPickups,rClosing, rDash, rTimetracking, rTimeManager, rTasks, rTasksManagement, rManager,forNewRole) {
2020-11-19 23:03:48 +01:00
var collapsiblePart = '<div data-role="collapsible" id="' + id + '"';
if (forNewRole) {
collapsiblePart += ' data-theme="d" data-content-theme="d">';
} else {
collapsiblePart += ' data-theme="c" data-content-theme="c">';
}
collapsiblePart += '<h3>'+ toHtml(name) + '</h3>';
collapsiblePart += '<form>';
var possibleValues = createYesNoArr();
collapsiblePart += createLabelWithTextField("rolelabel_name_" + id,MAN_ROLE_NAME[lang],MAN_ROLE_NAME[lang]);
collapsiblePart += createLabelWithOption("rolelabel_",id,"admin",MAN_ADMIN[lang],possibleValues,isAdmin);
collapsiblePart += createLabelWithOption("rolelabel_",id,"waiter",MAN_WAITER[lang],possibleValues,rWaiter);
collapsiblePart += createLabelWithOption("rolelabel_",id,"kitchen",MAN_KITCHEN[lang],possibleValues,rKitchen);
collapsiblePart += createLabelWithOption("rolelabel_",id,"bar",MAN_BAR[lang],possibleValues,rBar);
collapsiblePart += createLabelWithOption("rolelabel_",id,"supplydesk",MAN_SUPPLY[lang],possibleValues,rSupply);
collapsiblePart += createLabelWithOption("rolelabel_",id,"paydesk",MAN_PAYDESK[lang],possibleValues,rPay);
collapsiblePart += createLabelWithOption("rolelabel_",id,"stat",MAN_STAT[lang],possibleValues,rStat);
collapsiblePart += createLabelWithOption("rolelabel_",id,"bill",MAN_BILLS[lang],possibleValues,rBill);
collapsiblePart += createLabelWithOption("rolelabel_",id,"products",MAN_PRODUCTS[lang],possibleValues,rProd);
collapsiblePart += createLabelWithOption("rolelabel_",id,"reservation",MAN_RESERVATION[lang],possibleValues,rReservation);
collapsiblePart += createLabelWithOption("rolelabel_",id,"rating",MAN_RATING[lang],possibleValues,rRating);
collapsiblePart += createLabelWithOption("rolelabel_",id,"changeprice",MAN_CHANGEPRICE[lang],possibleValues,rChangeprice);
collapsiblePart += createLabelWithOption("rolelabel_",id,"customers",MAN_CUSTOMERS[lang],possibleValues,rCustomers);
2020-11-19 23:11:52 +01:00
collapsiblePart += createLabelWithOption("rolelabel_",id,"pickups",MAN_PICKUPS[lang],possibleValues,rPickups);
2020-11-19 23:03:48 +01:00
collapsiblePart += createLabelWithOption("rolelabel_",id,"closingright",MAN_CLOSINGRIGHT[lang],possibleValues,rClosing);
collapsiblePart += createLabelWithOption("rolelabel_",id,"dash",MAN_DASHRIGHT[lang],possibleValues,rDash);
2020-11-19 23:11:27 +01:00
collapsiblePart += createLabelWithOption("rolelabel_",id,"timetracking",MAN_TIMETRACKINGRIGHT[lang],possibleValues,rTimetracking);
collapsiblePart += createLabelWithOption("rolelabel_",id,"timemanager",MAN_TIMEMANAGERRIGHT[lang],possibleValues,rTimeManager);
2020-11-19 23:11:33 +01:00
collapsiblePart += createLabelWithOption("rolelabel_",id,"tasks",MAN_TASKSRIGHT[lang],possibleValues,rTasks);
collapsiblePart += createLabelWithOption("rolelabel_",id,"tasksmanagement",MAN_TASKSMANAGERRIGHT[lang],possibleValues,rTasksManagement);
2020-11-19 23:03:48 +01:00
collapsiblePart += createLabelWithOption("rolelabel_",id,"manager",MAN_MANAGER[lang],possibleValues,rManager);
if (forNewRole) {
collapsiblePart += '<button data-theme="f" data-icon="plus" id="CreateNewRole">' + MAN_CREATE[lang] + '</button>';
} else {
collapsiblePart += '<button data-theme="f" data-icon="check" class="roleUpdateButton" id="updaterolebtn_' + id + '">Rechte ändern</button>';
collapsiblePart += '<button data-theme="d" data-icon="minus" class="roleDeleteButton" id="deleterolebtn_' + id + '">Löschen</button>';
2020-11-19 22:47:44 +01:00
}
collapsiblePart += '<form>';
collapsiblePart += '</div>';
return collapsiblePart;
}
2020-11-19 23:03:48 +01:00
function fillUserListIntoGui(answer) {
2020-11-19 22:47:44 +01:00
var userPart = "";
2020-11-19 23:03:48 +01:00
var userinfo = answer.users;
var roles = answer.roles;
2020-11-19 22:47:44 +01:00
$.each(userinfo, function (i, aUser) {
var userid = aUser.id;
var username = aUser.username;
2020-11-19 22:59:47 +01:00
2020-11-19 23:14:48 +01:00
userPart += createCollapsibeOfUser(userid,
2020-11-19 22:47:44 +01:00
"userid_" + userid,
username,
2020-11-19 23:03:48 +01:00
aUser.roleid,
2020-11-19 23:11:33 +01:00
aUser.tablearea,
2020-11-19 23:03:48 +01:00
false,
roles
2020-11-19 22:47:44 +01:00
);
});
2020-11-19 23:14:48 +01:00
userPart += createCollapsibeOfUser(null,
2020-11-19 23:03:48 +01:00
"userid_newuser_newuser",
2020-11-19 22:47:44 +01:00
MAN_NEW_USER[lang],
2020-11-19 23:03:48 +01:00
0,
2020-11-19 23:11:33 +01:00
0,
2020-11-19 23:03:48 +01:00
true,roles);
2020-11-19 22:47:44 +01:00
$("#userlist").html(userPart);
$('#userpart').trigger('create');
dynamicUserBinding();
}
2020-11-19 23:03:48 +01:00
function fillRoleListIntoGui(answer) {
if (answer.status != "OK") {
return;
}
rolesOnceExtended = true;
var roles = answer.msg;
var rolesPart = "";
for (var i=0;i<roles.length;i++) {
var aRole = roles[i];
var roleid = aRole.id;
var name = aRole.name;
rolesPart += createCollapsibeOfRole(
"roleid_" + roleid,
name,
aRole.is_admin,
aRole.right_waiter,
aRole.right_kitchen,
aRole.right_bar,
aRole.right_supply,
aRole.right_paydesk,
aRole.right_statistics,
aRole.right_bill,
aRole.right_products,
aRole.right_reservation,
aRole.right_rating,
aRole.right_changeprice,
aRole.right_customers,
2020-11-19 23:11:52 +01:00
aRole.right_pickups,
2020-11-19 23:03:48 +01:00
aRole.right_closing,
aRole.right_dash,
2020-11-19 23:11:27 +01:00
aRole.right_timetracking,
aRole.right_timemanager,
2020-11-19 23:11:33 +01:00
aRole.right_tasks,
aRole.right_tasksmanagement,
2020-11-19 23:03:48 +01:00
aRole.right_manager,
false
);
}
rolesPart += createCollapsibeOfRole(
"roleid_newrole",MAN_NEW_ROLE[lang],
2020-11-19 23:11:52 +01:00
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,true);
2020-11-19 23:03:48 +01:00
$("#rolescontentpart").html(rolesPart);
$("#rolescontentpart").trigger("create");
for (var j=0;j<roles.length;j++) {
var aRole = roles[j];
var roleid = aRole.id;
var name = aRole.name;
$("#rolelabel_name_roleid_" + roleid).val(name);
}
dynamicRolesBinding();
}
2020-11-19 22:47:44 +01:00
function askAndFillUserList() {
2020-11-19 23:02:57 +01:00
doAjax("GET","php/contenthandler.php?module=admin&command=getUserList",null, fillUserListIntoGui,"no user data received",true);
2020-11-19 22:47:44 +01:00
}
2020-11-19 23:03:20 +01:00
function collectUserInfo(userInfoContainer,colIndexForDecision) {
var userData = [
["username", "#userlabel_username", true,false],
["password", "#userlabel_password", true,false],
2020-11-19 23:03:48 +01:00
["roleid", "#userlabel_userrole", true,true],
2020-11-19 23:03:20 +01:00
];
var data = {};
for (var i=0;i<userData.length;i++) {
var anEntry = userData[i];
if (anEntry[colIndexForDecision]) {
data[anEntry[0]] = userInfoContainer.find(anEntry[1]).val();
}
}
return data;
}
2020-11-19 23:03:48 +01:00
function collectRoleInfo(roleid) {
var roleData = [
2020-11-19 23:11:33 +01:00
["isAdmin", "#rolelabel_admin", true,true],
["rWaiter", "#rolelabel_waiter", true,true],
["rKitchen", "#rolelabel_kitchen", true,true],
["rBar", "#rolelabel_bar", true,true],
["rSupply", "#rolelabel_supplydesk", true,true],
["rPayDesk", "#rolelabel_paydesk", true,true],
["rStat", "#rolelabel_stat", true,true],
["rBill", "#rolelabel_bill", true,true],
["rProducts", "#rolelabel_products", true,true],
["rReservation", "#rolelabel_reservation", true,true],
["rRating", "#rolelabel_rating", true,true],
["rChangeprice", "#rolelabel_changeprice", true,true],
["rCustomers", "#rolelabel_customers", true,true],
2020-11-19 23:11:52 +01:00
["rPickups", "#rolelabel_pickups", true,true],
2020-11-19 23:11:33 +01:00
["rManager", "#rolelabel_manager", true,true],
["rClosing", "#rolelabel_closingright", true,true],
["rDash", "#rolelabel_dash", true,true],
["rTimetracking", "#rolelabel_timetracking", true,true],
["rTimemanager", "#rolelabel_timemanager", true,true],
["rTasks", "#rolelabel_tasks", true,true],
["rTasksmanagement", "#rolelabel_tasksmanagement",true,true]
2020-11-19 23:03:48 +01:00
];
var data = {};
data["username"] = $("#rolelabel_name_roleid_" + roleid).val().trim();
for (var i=0;i<roleData.length;i++) {
var anEntry = roleData[i];
data[anEntry[0]] = $(anEntry[1] + "_roleid_" + roleid).val();
}
return data;
}
function dynamicRolesBinding() {
$("#CreateNewRole").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var data = collectRoleInfo("newrole");
if (data["username"].length == 0) {
alert ("Name ist nicht gesetzt");
} else {
doAjax("POST","php/contenthandler.php?module=admin&command=createNewRole",data,doCreateNewRole,"Anlegen neue Rolle");
}
});
$(".roleDeleteButton").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var id = this.id.split("_")[2];
var data = {
roleid: id
};
doAjax("POST","php/contenthandler.php?module=admin&command=deleteRole",data,handleDelOrUpdateRole,"Entfernen einer Rolle");
});
$(".roleUpdateButton").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var id = this.id.split("_")[2];
var data = collectRoleInfo(id);
data["roleid"] = id;
doAjax("POST","php/contenthandler.php?module=admin&command=updateRole",data,handleDelOrUpdateRole,"Ändern einer Rolle");
});
}
2020-11-19 22:47:44 +01:00
function dynamicUserBinding() {
$("#CreateNewUser").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:03:20 +01:00
2020-11-19 23:03:48 +01:00
var username = $("#userlabel_username_new").val();
var password = $("#userlabel_password_new").val();
var roleid = $("#userlabel_userrole_userid_newuser_newuser").val();
2020-11-19 23:11:33 +01:00
var area = $("#userlabel_userarea_userid_newuser_newuser").val();
2020-11-19 23:03:20 +01:00
2020-11-19 23:03:48 +01:00
var data = {
name: username.trim(),
password: password,
2020-11-19 23:11:33 +01:00
roleid: roleid,
area: area
2020-11-19 23:03:48 +01:00
};
2020-11-19 23:03:20 +01:00
2020-11-19 23:03:48 +01:00
if ((data["name"].length == 0) || (data["password"].length == 0)) {
2020-11-19 22:47:44 +01:00
alert ("Benutzername oder Passwort sind nicht gesetzt");
} else {
doAjax("POST","php/contenthandler.php?module=admin&command=createNewUser",data,doCreateNewUser,"Anlegen neuer Benutzer");
}
});
$(".userUpdateButton").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:03:48 +01:00
var userid = this.id.split("_")[2];
2020-11-19 23:12:35 +01:00
var username = $("#userlabel_username_userid_" + userid).val();
2020-11-19 23:03:48 +01:00
var roleid = $("#userlabel_userrole_userid_" + userid).val();
2020-11-19 23:11:33 +01:00
var area = $("#userlabel_userarea_userid_" + userid).val();
2020-11-19 23:03:48 +01:00
var data = {
userid: userid,
2020-11-19 23:12:35 +01:00
username: username,
2020-11-19 23:11:33 +01:00
roleid: roleid,
area: area
2020-11-19 23:03:48 +01:00
};
2020-11-19 22:47:44 +01:00
doAjax("POST","php/contenthandler.php?module=admin&command=updateUser",data,askAndFillUserListNoData,"Benutzerdaten");
});
$(".userDeleteButton").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:03:48 +01:00
var userid = this.id.split("_")[2];
2020-11-19 22:47:44 +01:00
var data = {
2020-11-19 23:03:48 +01:00
userid: userid
2020-11-19 22:47:44 +01:00
};
doAjax("POST","php/contenthandler.php?module=admin&command=deleteUser",data,handleDelUser,"Benutzer entfernen");
});
$(".changepassword").off("click").on("click", function (e) {
2020-11-19 23:11:33 +01:00
e.stopImmediatePropagation();
e.preventDefault();
2020-11-19 23:03:48 +01:00
var userid = this.id.split("_")[3];
var newPassword = $("#userpassword_changepasswordbtn_userid_" + userid).val();
2020-11-19 22:47:44 +01:00
if (newPassword.length == 0) {
alert ("Passwort ist leer!");
} else {
var data = {
userid: userid,
password: newPassword
};
doAjax("POST","php/contenthandler.php?module=admin&command=changepassword",data,askAndFillUserListNoData,"Neues Passwort");
}
});
}
function handleDelUser(result) {
if (result == "noadmin") {
alert(MAN_NO_ADMIN_DEL[lang]);
} else if (result == "lastadmin") {
alert(MAN_LAST_ADMIN[lang]);
} else {
setTimeout(function(){document.location.href = "manager.html"},250);
}
}
function askAndFillUserListNoData(data) {
if (data == "noadmin") {
alert (MAN_NO_ADMIN[lang]);
} else {
2020-11-19 23:03:48 +01:00
askAndFillUserList();
2020-11-19 22:47:44 +01:00
}
}
function reloadPage(dummyData) {
location.reload();
}
function doCreateNewUser(result) {
2020-11-19 22:59:47 +01:00
if (result.status == "OK") {
2020-11-19 23:03:48 +01:00
askAndFillUserList();
2020-11-19 22:59:47 +01:00
} else {
alert("Fehler: " + result.msg);
}
2020-11-19 22:47:44 +01:00
}
2020-11-19 23:03:48 +01:00
function handleDelOrUpdateRole(result) {
if (result.status == "OK") {
askAndFillUserList();
doAjax("GET","php/contenthandler.php?module=admin&command=getRoleList",null, fillRoleListIntoGui,"no role data received",true);
} else {
alert("Fehler: " + result.msg);
}
}
function doCreateNewRole(result) {
if (result.status == "OK") {
askAndFillUserList();
doAjax("GET","php/contenthandler.php?module=admin&command=getRoleList",null, fillRoleListIntoGui,"no role data received",true);
} else {
alert("Fehler: " + result.msg);
}
}
2020-11-19 22:47:44 +01:00
function handleResultOfDbAction(jsonText) {
if (jsonText.status == "OK") {
alert("Kommando ausgeführt");
} else {
alert("Fehler " + jsonText.code + ": " + jsonText.msg);
}
}
function invokeCmd(theCommand) {
doAjax("GET","php/contenthandler.php?module=admin&command=" + theCommand,null,handleResultOfDbAction,"Problemkommando " . theCommand);
}
function createYearPartFor(label,selectionid,container) {
var today = new Date();
var yyyy = today.getFullYear();
var htmlText = '<form><div class="ui-field-contain"><label for="' + label + '">Jahr:</label>';
htmlText += '<select name="' + label + '" id="' + label + '" data-theme="e">';
for (var i=2013;i<=yyyy;i++)
{
htmlText += '<option value="' + i + '">' + i + '</option>';
}
htmlText += '</select></div>';
$(selectionid).html(htmlText);
$(container).trigger('create');
$("#" + label).val(yyyy).attr('selected', true).siblings('option').removeAttr('selected');
$("#" + label).selectmenu("refresh", true);
}
function setMonthYearSelection() {
var today = new Date();
var month = today.getMonth()+1; //January is 0!
var yyyy = today.getFullYear();
$("#select-month").val(month).attr('selected', true).siblings('option').removeAttr('selected');
$("#select-year").val(yyyy).attr('selected', true).siblings('option').removeAttr('selected');
$("#select-month-export-end").val(month).attr('selected', true).siblings('option').removeAttr('selected');
$("#select-year-export-end").val(yyyy).attr('selected', true).siblings('option').removeAttr('selected');
$("#select-month").selectmenu("refresh", true);
$("#select-year").selectmenu("refresh", true);
$("#select-month-export-end").selectmenu("refresh", true);
$("#select-year-export-end").selectmenu("refresh", true);
2020-11-19 23:12:32 +01:00
updateStartAndEndClosingSelectionForSalesReport();
2020-11-19 22:47:44 +01:00
}
function tablelist(no,rowId) {
var i=0;
var text = "";
for (i=0;i<no;i++) {
text += '<td><input style="background:white;" type="text" size="3" id="t_' + rowId.toString() + '_' + i.toString() + '"/>';
}
return text;
}
2020-11-19 23:03:07 +01:00
function getDbStat() {
doAjax("GET","php/contenthandler.php?module=admin&command=getDbStat",null,fillDbStat,"DB Eigenschaften",true);
}
function fillDbStat(answer) {
if (answer.status != "OK") {
return;
}
var max = answer.msg.max;
var tablesizes = answer.msg.tablesizes;
var txt = '<table class="reporttable">';
txt += '<tr><th style="width:220px;">' + MAN_DBTABLENAME[lang] + '<th style="width:200px;">' + MAN_DBTABLESIZE[lang] + '<th>&nbsp;</tr>';
for (var i=0;i<tablesizes.length;i++) {
var tblname = tablesizes[i].table_name;
var sizeInKb = tablesizes[i].tablesizeinmb;
var porcentage = 100/max * sizeInKb;
var img = '<img src="img/green.png" style="height:20px;width:' + porcentage + '%" />';
txt += '<tr><td>' + tblname + '<td>' + sizeInKb + '<td>' + img + '</tr>';
}
txt += '</table>';
$("#dbtablearea").html(txt);
}
2020-11-19 22:59:47 +01:00
function golive() {
2020-11-19 23:02:19 +01:00
alert(MAN_GOLIVE_WAIT_HINT[lang]);
doAjax("POST","php/contenthandler.php?module=admin&command=golive",null,handleGoLive,"Produktivbetriebsstart");
2020-11-19 22:59:47 +01:00
}
function handleGoLive(answer) {
if (answer.status == "OK") {
alert(MAN_CONFIRM_GO_LIVE[lang]);
setTimeout(function(){document.location.href = "logout.php"},250);
} else {
alert("Error: " + answer.msg);
}
}
2020-11-19 23:14:04 +01:00
2020-11-19 23:15:07 +01:00
function renderSingleWorkReceipt(printjobid,job,allowreprint,allowdelete) {
2020-11-19 23:14:04 +01:00
var headertxt = job.workid + " - " + job.time + " - " + job.table;
var txt = '<h3>' + headertxt + '</h3><p />';
var prods = job.products;
var currency = $("#admin-page").data("currency");
prods.forEach(function(aProd) {
txt += toHtml(aProd.longname) + ' (' + aProd.price + currency + ')<br>';
var extras = aProd.extras;
if (extras.length > 0) {
extras.forEach(function(anExtra) {
2020-11-19 23:14:48 +01:00
txt += "&nbsp;&nbsp;&nbsp;+ " + toHtml(anExtra.name) + "<br>";
2020-11-19 23:14:04 +01:00
});
}
});
2020-11-19 23:14:07 +01:00
if (allowreprint) {
2020-11-19 23:15:07 +01:00
txt += '<button class="reprintworkreceiptbtn" type="submit" data-theme="f" data-icon="check" id="reprintworkreceiptbtn_' + printjobid + '">' + MAN_PRINTVERB[lang] + '</button>';
2020-11-19 23:14:07 +01:00
}
if (allowdelete) {
2020-11-19 23:15:07 +01:00
txt += '<button type="submit" data-theme="d" class="spooledprintjob" data-icon="delete" id="spooledJob_' + printjobid + '">' + MAN_DELETE[lang] + '</button>';
2020-11-19 23:14:07 +01:00
}
2020-11-19 23:14:04 +01:00
return txt;
}
function renderPrintedWorkReceipts(jobs) {
var txt = '';
for (var i=0;i<jobs.length;i++) {
var aJob = jobs[i];
txt += '<p />';
txt += '<div data-role="collapsible" data-collapsed="true" data-theme="e" data-content-theme="a" class="noprint" >';
2020-11-19 23:15:07 +01:00
txt += renderSingleWorkReceipt(aJob.id,aJob.content,true,false);
2020-11-19 23:14:04 +01:00
txt += '</div>';
}
return txt;
}
2020-11-19 23:02:16 +01:00
function createSpooledPrintJobButton(id,text) {
var txt = '<button type="submit" data-theme="d" class="spooledprintjob" data-icon="delete" id="' + id + '">' + text + '</button>';
return txt;
}
2020-11-19 23:14:07 +01:00
function createSpooledPrintWorkJobButton(aJob) {
var txt = '<p />';
txt += '<div data-role="collapsible" data-collapsed="true" data-theme="e" data-content-theme="a" class="noprint" >';
2020-11-19 23:15:07 +01:00
txt += renderSingleWorkReceipt(aJob.id,aJob.content,false,true);
2020-11-19 23:14:07 +01:00
txt += '</div>';
return txt;
}
2020-11-19 23:02:16 +01:00
function createSpooledRecPrintButtons(jobs) {
var currency = $("#admin-page").data("currency");
var decpoint = $("#admin-page").data("decpoint");
txt = '';
for (var i=0;i<jobs.length;i++) {
var aJob = jobs[i];
2020-11-19 23:02:24 +01:00
var theType = aJob.type;
if (theType == 4) {
txt += createSpooledPrintJobButton(
2020-11-19 23:02:57 +01:00
'spooledJob_' + aJob.id,MAN_CLOSINGRIGHT[lang] + " (" + aJob.closingid + ": "+ aJob.closingdate + ")");
2020-11-19 23:02:24 +01:00
} else {
txt += createSpooledPrintJobButton(
'spooledJob_' + aJob.id,MAN_TABLE_TXT[lang]
+ ": " + aJob.tablename + " (" + aJob.billid + ": "
+ aJob.billdate + " " + aJob.brutto.replace('.',decpoint) + " " + currency + ")");
}
2020-11-19 23:02:16 +01:00
}
if (jobs.length > 0) {
txt += "<i>(" + MAN_DEL_HINT[lang] + ")</i>";
}
return txt;
}
function createSpooledWorkPrintButtons(jobs) {
2020-11-19 23:14:04 +01:00
var txt = '';
2020-11-19 23:02:16 +01:00
for (var i=0;i<jobs.length;i++) {
var aJob = jobs[i];
2020-11-19 23:14:07 +01:00
txt += createSpooledPrintWorkJobButton(aJob);
2020-11-19 23:02:16 +01:00
}
if (jobs.length > 0) {
2020-11-19 23:14:07 +01:00
txt += "<i>(" + MAN_OPEN_AND_DEL_HINT[lang] + ")</i>";
2020-11-19 23:02:16 +01:00
}
return txt;
}
function bindSpooledPrintJob() {
$(".spooledprintjob").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var id = this.id.split("_")[1];
doAjax("POST","php/contenthandler.php?module=printqueue&command=deleteSpooledPrintJob",{id:id},getSpooledPrintJobs,"Problem Printjob löschen");
});
2020-11-19 23:14:04 +01:00
$(".reprintworkreceiptbtn").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
var data = {
2020-11-19 23:15:07 +01:00
id: this.id.split("_")[1]
2020-11-19 23:14:04 +01:00
};
doAjax("GET","php/contenthandler.php?module=printqueue&command=reprintworkreceipt",data,handleReprint,null);
});
2020-11-19 23:02:16 +01:00
}
2020-11-19 22:47:44 +01:00
function insertPrintQueue(queue) {
if (queue.status == "OK") {
var jobs = queue.msg;
var li = "";
for (var i=0;i<jobs.length;i++) {
var printer = parseInt(jobs[i].printer);
2020-11-19 23:02:16 +01:00
var number = jobs[i].count;
2020-11-19 22:47:44 +01:00
var printertxt = MAN_PRINTER[lang] + " #" + printer;
if (printer == 7) {
printertxt = MAN_FOOD_PRINTER[lang];
} else if (printer == 8) {
printertxt = MAN_DRINK_PRINTER[lang];
2020-11-19 23:11:52 +01:00
} else if (printer == 9) {
printertxt = MAN_PICKUP_PRINTER[lang];
2020-11-19 22:47:44 +01:00
}
li += '<ul id="printqueue_' + i + '" data-role="listview" data-divider-theme="a" data-inset="true">';
li += '<li data-role="list-divider" data-theme="b" data-role="heading">' + printertxt + '</li>';
2020-11-19 23:02:16 +01:00
li += '<li data-role="list-divider" data-theme="a">' + number + " " + MAN_PRINT_JOBS_COUNT[lang];
if (printer < 7) {
li += createSpooledRecPrintButtons(jobs[i].jobs);
} else {
li += createSpooledWorkPrintButtons(jobs[i].jobs);
}
li += '</li>';
2020-11-19 22:47:44 +01:00
li += '</ul>';
}
2020-11-19 23:14:04 +01:00
var printedWorkReceipts = queue.printedworkreceips;
var jobsList = renderPrintedWorkReceipts(printedWorkReceipts);
$("#printedworkreceiptsarea").html(jobsList);
$("#printedworkreceipts").trigger("create");
2020-11-19 22:47:44 +01:00
$("#printjobsarea").html(li);
$("#printjobsarea").trigger("create");
2020-11-19 23:02:16 +01:00
bindSpooledPrintJob();
2020-11-19 22:47:44 +01:00
}
}
2020-11-19 23:03:04 +01:00
function continueInitialization() {
2020-11-19 23:14:48 +01:00
doAjax("GET","php/contenthandler.php?module=admin&command=isLoggedinUserAdminOrManagerOrTE",null,showPanelsDueToUserStatus,"Fehler",false);
2020-11-19 23:12:59 +01:00
checkForFirstAndLastClosing();
2020-11-19 23:14:51 +01:00
getExpectedCashSumsForNextClosing();
2020-11-19 22:47:44 +01:00
askAndFillUserList();
hideMenu();
createYearPartFor("select-year","#yearselection",'#closinglist');
createYearPartFor("select-year-export-start","#yearselectionexportstart",'#dataexport');
createYearPartFor("select-year-export-end","#yearselectionexportend",'#dataexport');
setMonthYearSelection();
getLastClosings();
2020-11-19 23:03:07 +01:00
if (adminIsLoggedIn) {
getSpeisekarte();
2020-11-19 23:10:06 +01:00
var groundplan = new Groundplan();
groundplan.init();
2020-11-19 23:03:07 +01:00
getDbStat();
}
2020-11-19 22:47:44 +01:00
$("#userfile").val('');
2020-11-19 23:03:20 +01:00
if (adminIsLoggedIn || managerIsLoggedIn) {
2020-11-19 23:14:04 +01:00
bindprinterqueueexpand();
2020-11-19 23:03:20 +01:00
getVersionInfoForUpdate();
getPrinterInstance();
}
2020-11-19 23:02:57 +01:00
binding();
2020-11-19 23:14:55 +01:00
initLogoFileUpload();
}
function initLogoFileUpload() {
var settings = {
url: "php/contenthandler.php?module=admin&command=readlogo",
method: "POST",
allowedTypes:"jpg,png,gif",
fileName: "logofile",
multiple: false,
uploadQueueOrder: 'replace',
showFileCounter: false,
dragDropStr: "<span>Bilddatei</span>",
extErrorStr: " ist nicht erlaubt. Erlaubte Dateiendung: ",
onSuccess:function(files,data,xhr)
{
var answer = jQuery.parseJSON(data);
if (answer.status != "OK") {
alert("Upload war nicht erfolgreich: " + answer.msg);
} else {
handleLogoUploadAnswer(null);
}
},
onError: function(files,status,errMsg)
{
$("#uploadlogostatus").html("<font color='red'>Upload fehlgeschlagen</font>");
}
};
$("#uploadlogofilearea").uploadFile(settings);
$("#uploadlogofilearea").trigger("create");
}
function handleLogoUploadAnswer(answer) {
d = new Date();
$("#logoimgpart").attr("src", "php/contenthandler.php?module=printqueue&command=getLogoAsPngWithAlphaChannel&"+d.getTime());
2020-11-19 23:03:04 +01:00
}
$(document).on("pageinit", "#admin-page", function () {
initializeMainMenu("#modulemenu");
getGeneralConfigItems();
2020-11-19 22:47:44 +01:00
});
</script>
2020-11-19 23:11:29 +01:00
<div data-role="page" id="admin-page" data-theme="c">
2020-11-19 22:47:44 +01:00
<div data-role="panel" id="modulepanel" data-position="right" data-display="overlay" class="noprint">
<ul data-role="listview" id="modulemenu" data-divider-theme="a" data-inset="true">
2020-11-19 23:02:16 +01:00
<li data-role="list-divider" data-theme="b" data-role="heading">Hauptmenü</li>
2020-11-19 22:47:44 +01:00
</ul>
</div><!-- /panel -->
2020-11-19 23:11:29 +01:00
<div data-role="header" data-theme="b" data-position="fixed" id="theheader" class="noprint" style="background-color:black;">
2020-11-19 23:14:48 +01:00
<h1>Administration <img src="img/connection.png" class="connectionstatus" style="display:none;" /> <img src="img/printerstatus.png" class="printerstatus" style="display:none;" /> <img src="img/tsestatus.png" class="tsestatus" style="display:none;" /> <img src="img/tasksstatus.png" class="tasksstatus" style="display:none;" /></h1>
2020-11-19 22:47:44 +01:00
<div data-type="horizontal" style="top:0px;position:absolute;float:right;z-index:10;display:inline;" align="right" class="ui-btn-right">
2020-11-19 23:02:16 +01:00
<a href="#" data-role="button" data-icon="arrow-d" data-ajax="false" id="menuswitch">Hauptmenü</a>
2020-11-19 22:47:44 +01:00
</div>
</div>
<div data-role="content" id="allpagecontent">
<div data-role="collapsible" data-collapsed="false" data-theme="e" data-content-theme="c" class="noprint">
<h3><span id="acc_exporttxt">Abrechnung und Datenexport</span></h3>
<p><span id="info_acc_exporttxt">Hier finden sich die Menüpunkte zum Tagesabschluss oder Datenexport.</span></p>
<div id="closinglist" data-role="collapsible" data-theme="c" data-content-theme="c">
<h3><span id="closingtxt">Tagesabschluss</span></h3>
<p><span id="closingdetailstxt">Hier können Sie die seit dem letzten <i>Abschluss</i> getätigten neuen Transaktionen
zu einem neuen Abschluss führen. Anschließend sind alle bis zu diesem Zeitpunkt
erstellten Transaktionen/Kassenbons nicht mehr stornierbar!</span></p>
<form>
<div class="ui-field-contain" id="monthpart">
</div>
</form>
<div id=yearselection>
<form>
<div class="ui-field-contain">
<label for="select-native-1">Jahr:</label>
<select name="select-year" id="select-year">
<option value="2014">2014</option>
</select>
</div>
</div> <!-- yearselection -->
2020-11-19 23:03:41 +01:00
<div class="grouparea">
<b><span id="closingcreationtxt">TE erstellen</span></b>
2020-11-19 23:14:51 +01:00
2020-11-19 22:47:44 +01:00
<input type="text" id="remarkfield" value="" data-mini="true" placeholder="Bemerkung" />
2020-11-19 23:03:41 +01:00
2020-11-19 23:14:51 +01:00
<div id="expectedclosingsums">
<p /><span id="cashexpectedheader">Bargeld</span>
<ul>
<li><span id="cashinpaydesk">In Kassse</span>: <span id="cashinpaydeskfield">?</span>
<li><span id="unenclosedsales">Nicht abgeschl. Cash</span>: <span id="unenclosedsalesfield" >?</span>
</ul>
</div>
2020-11-19 23:14:48 +01:00
<div id="countingprotocol"></div>
2020-11-19 23:03:41 +01:00
<button type="submit" data-theme="f" class="cancelButton" data-icon="plus" id="createclosing">Erstellen/Bon</button>
<button type="submit" data-theme="f" class="cancelButton" data-icon="plus" id="createclosingnoprint">Erstellen/kein Bon</button>
</div>
2020-11-19 23:03:35 +01:00
2020-11-19 23:00:18 +01:00
<img id="closingwaiticon" src="php/3rdparty/images/ajax-loader.gif" style="display:none;"/>
2020-11-19 22:47:44 +01:00
<div id=partofclosings>
<div data-role="collapsible" data-theme="d" data-content-theme="d">
<h3>Tagesabschlussbeispiel</h3>
<p>Dieser Eintrag sollte hier nicht mehr stehen...</p>
</div><!-- /section 1A -->
</div>
</div><!-- closinglist -->
2020-11-19 22:59:47 +01:00
<div id="dataexport" data-role="collapsible" data-content-theme="c" style="display:none;">
2020-11-19 22:47:44 +01:00
<h3><span id="dataexporttxt">Datenexport</span></h3>
2020-11-19 23:12:59 +01:00
<p><span id="dataexportdettxt">Hier können Sie eine csv-Datei erzeugen lassen, die ...</span>
<p><span id="firstclostxt">Erste TE</span>: <span id="veryfirstclosing"></span>
<p><span id="lastclostxt">Letzte TE</span>: <span id="verylastclosing"></span>
2020-11-19 22:47:44 +01:00
2020-11-19 23:12:59 +01:00
<p><b>Startdatum Umsätze:</b>
2020-11-19 22:47:44 +01:00
<div class="ui-field-contain" id="datexportstartmonthpart"></div>
<div id=yearselectionexportstart>
<div class="ui-field-contain">
<label for="select-year-export-start">Jahr:</label>
<select name="select-year-export-start" id="select-year-export-start">
<option value="2014">2014</option>
</select>
2020-11-19 23:12:00 +01:00
</div>
2020-11-19 22:47:44 +01:00
</div>
<b>Enddatum Umsätze</b>:
<div class="ui-field-contain" id="datexportendmonthpart"></div>
<div id=yearselectionexportend>
<div class="ui-field-contain">
<label for="select-year-export-end">Jahr:</label>
<select name="select-year-export-end" id="select-year-export-end">
<option value="2014">2014</option>
</select>
</div>
</div>
2020-11-19 23:12:32 +01:00
<i id="datesstartendhint" style="padding-left: 50px;padding-right: 50px;">Hinweis Start-Ende-Datum</i>
<div class="ui-grid-a noprint">
2020-11-19 22:52:25 +01:00
<div class="ui-block-a"><button type="submit" data-theme="f" class="cancelButton exportbtn" data-icon="check" id="createdbexport">Export Umsätze CSV</button></div>
<div class="ui-block-b"><button type="submit" data-theme="f" class="cancelButton exportbtn" data-icon="check" id="createdbexportxlsx">... Excel</button></div>
</div><!-- /grid-a -->
2020-11-19 23:12:24 +01:00
<i id="csvexportallhint" style="padding-left: 50px;padding-right: 50px;">Bitte warten nach Klick</i>
2020-11-19 23:12:32 +01:00
<hr />
<div id="pdfsectiondivheader" class="headertext">Berichte</div>
<p><i id="pdfreporthint" style="padding-left: 50px;padding-right: 50px;">Bitte zuvor Datumsbereich auswählen</i>
<div id="closselstartdiv"></div>
<div id="closselenddiv"></div>
2020-11-19 22:47:44 +01:00
<button type="submit" data-theme="f" class="cancelButton exportbtn" data-icon="check" id="createpdfexport">PDF-Umsatzbericht</button>
<button type="submit" data-theme="f" class="cancelButton exportbtn" data-icon="check" id="createpdfsummary">PDF-Zusammenfassung</button>
2020-11-19 23:12:59 +01:00
<button type="submit" data-theme="f" class="cancelButton exportbtn" data-icon="check" id="createcsvsummary">Tageserfassungen als CSV</button>
2020-11-19 23:12:32 +01:00
<i id="pdfexporthinthint" style="padding-left: 50px;padding-right: 50px;">Bitte warten nach Klick</i>
<hr />
2020-11-19 23:14:48 +01:00
<div class="headertext">DSFinV-Export</div>
<button type="submit" data-theme="f" data-icon="check" id="dsfinvkexporthtml">DSFInV-K Export (html)</button>
<button type="submit" data-theme="f" data-icon="check" id="dsfinvkexport">DSFInV-K Export (zip)</button>
<i style="padding-left: 50px;padding-right: 50px;">Das temp-Verzeichnis muss definiert sein, damit dieser Export vorgenommen werden kann.</i>
<hr>
2020-11-19 23:12:32 +01:00
<div id="exportconfigreportsdivheader" class="headertext">Export Programmierung</div>
2020-11-19 22:47:44 +01:00
<button type="submit" data-theme="f" class="cancelButton exportbtn" data-icon="check" id="createprodexport">Export Produktdaten</button>
<button type="submit" data-theme="f" class="cancelButton exportbtn" data-icon="check" id="createuserexport">Export Benutzerdaten</button>
<button type="submit" data-theme="f" class="cancelButton exportbtn" data-icon="check" id="createconfigexport">Export Konfiguration</button>
2020-11-19 23:12:32 +01:00
<div id="otherrundatadivheader" class="headertext">Verlaufsdaten</div>
2020-11-19 23:11:27 +01:00
<button type="submit" data-theme="f" class="cancelButton exportbtn" data-icon="check" id="createtimesexport">Export Zeiterfassung</button>
2020-11-19 23:00:18 +01:00
<button type="submit" data-theme="f" class="cancelButton exportbtn" data-icon="check" id="createlogexport">Export Log</button>
2020-11-19 22:47:44 +01:00
</div><!-- Datenexport -->
</div> <!-- collapsible Abrechnung und Datenexport -->
2020-11-19 23:03:48 +01:00
<div id="rolespart" data-role="collapsible" data-collapsed="true" data-theme="e" data-content-theme="c" class="noprint" style="display:none;">
<h3><span id="rolestxt">Rollen</span></h3>
<p><div id="rolescontentpart">
<img id="roleswaiticon" src="php/3rdparty/images/ajax-loader.gif" />
</div>
</div> <!-- Benutzer -->
2020-11-19 22:59:47 +01:00
<div id="userpart" data-role="collapsible" data-collapsed="true" data-theme="e" data-content-theme="c" class="noprint" style="display:none;">
2020-11-19 22:47:44 +01:00
<h3><span id="usertxt">Benutzer</span></h3>
<div id="userlist" data-role="collapsible" data-theme="c" data-content-theme="c">
</div> <!-- userlist -->
</div> <!-- Benutzer -->
2020-11-19 22:59:47 +01:00
<div data-role="collapsible" data-collapsed="true" data-theme="e" data-content-theme="c" class="noprint" id="configpart" style="display:none;">
2020-11-19 22:47:44 +01:00
<h3><span id="configtxt">Konfiguration</span></h3>
2020-11-19 23:14:10 +01:00
<p />System-SN: <span id="sn_field">?</span>
2020-11-19 23:00:39 +01:00
2020-11-19 23:12:37 +01:00
<p><a class="genconflink" href="" onclick="javascript:showconfsection('confgensection'); return false">
<span id="generalsectiontxt">GENERAL</span> <span id="confgensection_expandicon" style="display:inline;">&#8690;</span><span id="confgensection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="confgensection" class="confblock">
2020-11-19 23:02:08 +01:00
2020-11-19 23:11:29 +01:00
<div id="partOfDefaultView"></div>
2020-11-19 23:10:46 +01:00
2020-11-19 23:02:08 +01:00
<div id="partOfRestaurantmode"></div>
<i id=restmodehint style="padding-left: 50px;padding-right: 50px;">Hinweis: siehe Anleitung</i>
2020-11-19 23:12:00 +01:00
2020-11-19 23:12:18 +01:00
<div id="partOfUsebarcode"></div>
2020-11-19 23:14:10 +01:00
<div data-role="fieldcontain">
<label for="systemid"><span id="systemidtxt">Systemid:</span></label>
2020-11-19 23:14:48 +01:00
<input type="text" value="" data-mini="true" placeholder="3" id="systemid" data-theme="c" class="genConfigEl" disabled/>
2020-11-19 23:14:10 +01:00
</div>
2020-11-19 22:47:44 +01:00
<div data-role="fieldcontain">
<label for="companyinfo">Betriebsinfo:</label>
2020-11-19 23:11:29 +01:00
<textarea cols="40" rows="8" name="companyinfo" id="companyinfo" class="genConfigEl" style="background-color:#FFFFFF;color:black;"></textarea>
2020-11-19 22:47:44 +01:00
</div>
2020-11-19 23:12:00 +01:00
2020-11-19 22:47:44 +01:00
<div data-role="fieldcontain">
<label for="serverUrl">Webserver:</label>
2020-11-19 23:11:29 +01:00
<textarea cols="40" rows="1" name="serverUrl" id="serverUrl" class="genConfigEl" style="background-color:#FFFFFF;color:black;">localhost</textarea>
2020-11-19 22:47:44 +01:00
</div>
<div data-role="fieldcontain">
<label for="webimpressum">Webimpressum:</label>
2020-11-19 23:11:29 +01:00
<textarea cols="40" rows="1" name="webimpressum" id="webimpressum" class="genConfigEl" style="background-color:#FFFFFF;color:black;"></textarea>
2020-11-19 23:10:06 +01:00
</div>
2020-11-19 23:00:58 +01:00
2020-11-19 23:12:00 +01:00
2020-11-19 22:47:44 +01:00
<div id="partOfBillLanguage"></div>
2020-11-19 23:12:00 +01:00
2020-11-19 23:14:48 +01:00
<div id="partOfReceiptFontSize"></div>
<div id="partOfPaymentConfig" style="display:none;"></div>
2020-11-19 22:47:44 +01:00
<div id="partOfWorkflowConfig"></div>
2020-11-19 23:12:00 +01:00
2020-11-19 22:58:36 +01:00
<div id="partIfDigiWorkflow">
<div id="partOfDigigopaysetready"></div>
<span id=digigopaysetreadyhint></span>
</div>
2020-11-19 23:03:20 +01:00
2020-11-19 23:00:58 +01:00
<div id="partOfHotelInterface"></div>
<div id="hs3area">
<div data-role="fieldcontain">
<label for="hsinfile"><span id="hsinfiletxt">HS/3 CASH.IN:</span></label>
<input type="text" value="" data-mini="true" placeholder="c:\\HS3CASH.IN" id="hsinfile" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
2020-11-19 23:01:04 +01:00
<label for="hsoutfile"><span id="hsoutfiletxt">HS/3 CASH.OUT:</span></label>
2020-11-19 23:00:58 +01:00
<input type="text" value="" data-mini="true" placeholder="c:\\HS3CASH.OUT" id="hsoutfile" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
2020-11-19 23:01:04 +01:00
<label for="hscurrency"><span id="hscurrencytxt">HS/3 Währung:</span></label>
2020-11-19 23:00:58 +01:00
<input type="text" value="" data-mini="true" placeholder="EUR" id="hscurrency" data-theme="c" class="genConfigEl"/>
</div>
2020-11-19 23:01:04 +01:00
<div data-role="fieldcontain">
2020-11-19 23:11:27 +01:00
<label for="hs3refresh"><span id="hs3refreshtxt">HS/3 Refresh:</span></label>
2020-11-19 23:01:04 +01:00
<input type="text" value="" data-mini="true" placeholder="60" id="hs3refresh" data-theme="c" class="genConfigEl"/>
</div>
2020-11-19 23:00:58 +01:00
</div>
2020-11-19 22:58:20 +01:00
2020-11-19 23:12:39 +01:00
<div id="partOfLogolocation"></div>
2020-11-19 23:12:43 +01:00
<div id="partOfAustria"></div>
2020-11-19 23:12:39 +01:00
2020-11-19 22:58:20 +01:00
<div id="partIfAustriaEnabled">
<i><b><span id=austriahint></span></b></i>
2020-11-19 23:12:02 +01:00
<div data-role="fieldcontain" style="display:none;">
2020-11-19 22:58:20 +01:00
<label for="aeskey"><span id="aeskeytxt">AES-Schlüssel:</span></label>
<input type="text" value="" data-mini="true" placeholder="" id="aeskey" data-theme="c" class="genConfigEl"/>
</div>
2020-11-19 23:12:02 +01:00
<div data-role="fieldcontain" style="display:none;">
2020-11-19 23:02:19 +01:00
<label for="rksvserver"><span id="rksvservertxt">RKSV-Modul:</span></label>
<input type="text" value="" data-mini="true" placeholder="http://localhost/rksv:8099" id="rksvserver" data-theme="c" class="genConfigEl"/>
</div>
2020-11-19 23:12:02 +01:00
<div data-role="fieldcontain" style="display:none;">
2020-11-19 22:58:20 +01:00
<label for="certificatesn"><span id="certificatesntxt">Zert.Seriennummer:</span></label>
<input type="text" value="" data-mini="true" placeholder="1234567" id="certificatesn" data-theme="c" class="genConfigEl"/>
</div>
2020-11-19 23:00:31 +01:00
<div data-role="fieldcontain">
<label for="taxaustrianormalval">Steuersatz 'Normal':</label>
<input type="text" value="" data-mini="true" placeholder="7,0" id="taxaustrianormalval" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="taxaustriaerm1val">Steuersatz 'Ermäßigt-1':</label>
<input type="text" value="" data-mini="true" placeholder="7,0" id="taxaustriaerm1val" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="taxaustriaerm2val">Steuersatz 'Ermäßigt-2':</label>
<input type="text" value="" data-mini="true" placeholder="7,0" id="taxaustriaerm2val" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="taxaustriaspecialval">Steuersatz 'Besonders':</label>
<input type="text" value="" data-mini="true" placeholder="7,0" id="taxaustriaspecialval" data-theme="c" class="genConfigEl"/>
</div>
2020-11-19 23:12:02 +01:00
2020-11-19 23:12:43 +01:00
<div id="partOfAustriabind"></div>
2020-11-19 23:12:02 +01:00
<div data-role="fieldcontain">
2020-11-19 23:12:43 +01:00
<label for="cbirdfolder"><span id="cbirdfoldertxt">CBird Imporfolder</span>:</label>
2020-11-19 23:12:05 +01:00
<input type="text" value="" data-mini="true" placeholder="" id="cbirdfolder" data-theme="c" class="genConfigEl"/>
2020-11-19 23:12:02 +01:00
</div>
2020-11-19 23:12:37 +01:00
</div> <!-- partIfAustriaEnabled -->
</div> <!-- confgensection -->
2020-11-19 23:12:00 +01:00
2020-11-19 23:14:13 +01:00
<p><a class="genconflink" href="" onclick="javascript:showconfsection('confdsfinvksection'); return false">
<span id="dsfinvksectiontxt">DSFINVK</span> <span id="confdsfinvksection_expandicon" style="display:inline;">&#8690;</span><span id="confdsfinvksection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="confdsfinvksection" class="confblock">
2020-11-19 23:14:13 +01:00
<div data-role="fieldcontain">
<label for="dsfinvk_name"><span id="dsfinvk_nametxt">Name:</span></label>
2020-11-19 23:14:48 +01:00
<input type="text" value="" data-mini="true" id="dsfinvk_name" data-theme="c" class="genConfigEl"/>
2020-11-19 23:14:13 +01:00
</div>
<div data-role="fieldcontain">
<label for="dsfinvk_street"><span id="dsfinvk_streettxt">Str</span></label>
2020-11-19 23:14:48 +01:00
<input type="text" value="" data-mini="true" id="dsfinvk_street" data-theme="c" class="genConfigEl"/>
2020-11-19 23:14:13 +01:00
</div>
<div data-role="fieldcontain">
<label for="dsfinvk_postalcode"><span id="dsfinvk_postalcodetxt">PLZ</span></label>
2020-11-19 23:14:48 +01:00
<input type="text" value="" data-mini="true" id="dsfinvk_postalcode" data-theme="c" class="genConfigEl"/>
2020-11-19 23:14:13 +01:00
</div>
<div data-role="fieldcontain">
<label for="dsfinvk_city"><span id="dsfinvk_citytxt">Stadt</span></label>
2020-11-19 23:14:48 +01:00
<input type="text" value="" data-mini="true" id="dsfinvk_city" data-theme="c" class="genConfigEl"/>
2020-11-19 23:14:13 +01:00
</div>
<div data-role="fieldcontain">
<label for="dsfinvk_country"><span id="dsfinvk_countrytxt">Land</span></label>
2020-11-19 23:14:48 +01:00
<input type="text" value="" data-mini="true" id="dsfinvk_country" data-theme="c" class="genConfigEl"/>
2020-11-19 23:14:13 +01:00
</div>
<div data-role="fieldcontain">
<label for="dsfinvk_stnr"><span id="dsfinvk_stnrtxt">STNR</span></label>
2020-11-19 23:14:48 +01:00
<input type="text" value="" data-mini="true" id="dsfinvk_stnr" data-theme="c" class="genConfigEl"/>
2020-11-19 23:14:13 +01:00
</div>
<div data-role="fieldcontain">
<label for="dsfinvk_ustid"><span id="dsfinvk_ustidtxt">USTID</span></label>
2020-11-19 23:14:48 +01:00
<input type="text" value="" data-mini="true" id="dsfinvk_ustid" data-theme="c" class="genConfigEl"/>
2020-11-19 23:14:13 +01:00
</div>
</div> <!-- confdsfinvksection -->
2020-11-19 23:12:37 +01:00
<p><a class="genconflink" href="" onclick="javascript:showconfsection('confdatatransfersection'); return false">
<span id="transfersectiontxt">Datentransfer</span> <span id="confdatatransfersection_expandicon" style="display:inline;">&#8690;</span><span id="confdatatransfersection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="confdatatransfersection" class="confblock">
2020-11-19 23:12:00 +01:00
<div data-role="fieldcontain">
<label for="ftphost"><span id="ftphosttxt">FTP-Server:</span></label>
<input type="text" value="" data-mini="true" placeholder="" id="ftphost" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="ftpuser"><span id="ftpusertxt">FTP-User:</span></label>
<input type="text" value="" data-mini="true" placeholder="" id="ftpuser" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="ftppass"><span id="ftppasstxt">FTP-Pass:</span></label>
<input type="password" value="" data-mini="true" placeholder="" id="ftppass" data-theme="c" class="genConfigEl"/>
</div>
2020-11-19 23:12:37 +01:00
</div> <!-- confdatatransfersection -->
2020-11-19 23:12:00 +01:00
2020-11-19 23:12:37 +01:00
<p><a class="genconflink" href="" onclick="javascript:showconfsection('conftaxsection'); return false">
<span id="taxessectiontxt">Steuern</span> <span id="conftaxsection_expandicon" style="display:inline;">&#8690;</span><span id="conftaxsection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="conftaxsection" class="confblock">
2020-11-19 23:12:00 +01:00
2020-11-19 23:14:48 +01:00
<!-- <div id="partOfTaxConfig"></div>
<div id="partOfTogoTaxConfig"></div>-->
2020-11-19 23:12:00 +01:00
<div data-role="fieldcontain">
<label for="usstval">MwSt/Tax/IVA:</label>
<input type="text" value="" data-mini="true" placeholder="19,0" id="usstval" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="togotaxval">MwSt/Tax/IVA (ToGo):</label>
<input type="text" value="" data-mini="true" placeholder="7,0" id="togotaxval" data-theme="c" class="genConfigEl"/>
</div>
<i id="taxusage" style="padding-left: 50px;padding-right: 50px;">Hinweis zu Steuern</i><br><br>
2020-11-19 23:12:37 +01:00
</div> <!-- conftaxsection -->
2020-11-19 23:12:00 +01:00
2020-11-19 23:12:37 +01:00
<p><a class="genconflink" href="" onclick="javascript:showconfsection('confsecsection'); return false">
<span id="securitysectiontxt">Sicherheit</span> <span id="confsecsection_expandicon" style="display:inline;">&#8690;</span><span id="confsecsection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="confsecsection" class="confblock">
2020-11-19 23:12:37 +01:00
2020-11-19 23:12:00 +01:00
<div data-role="fieldcontain">
<label for="stornocode">Stornocode (Bons):</label>
<input type="password" value="" data-mini="true" id="stornocode" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="cancelunpaidcode">Stornocode (unbez. Bestellungen):</label>
<input type="password" value="" data-mini="true" id="cancelunpaidcode" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="cancelguestcode">Stornocode (Modul Gast):</label>
<input type="password" value="" data-mini="true" id="cancelguestcode" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="remoteaccesscode">Fernzugriffscode:</label>
<input type="password" value="" data-mini="true" id="remoteaccesscode" class="genConfigEl"/>
</div>
2020-11-19 23:12:37 +01:00
</div> <!-- consecsection -->
<p><a class="genconflink" href="" onclick="javascript:showconfsection('confprintsection'); return false">
<span id="generalprintsectiontxt">Drucken allg.:</span> <span id="confprintsection_expandicon" style="display:inline;">&#8690;</span><span id="confprintsection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="confprintsection" class="confblock">
2020-11-19 23:12:00 +01:00
2020-11-19 23:12:18 +01:00
<div id="partOfPayPrintType" style="display:none;"></div>
2020-11-19 23:12:00 +01:00
<div data-role="fieldcontain">
<label for="printpass">Printcode:</label>
2020-11-19 23:14:48 +01:00
<input type="password" value="abc" data-mini="true" id="printpass" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="pollbills"><span id="pollbillstxt">Abfrageintervall Rechnungen:</span></label>
<input type="text" value="" data-mini="true" placeholder="2" id="pollbills" data-theme="c" class="genConfigEl"/>
2020-11-19 23:12:00 +01:00
</div>
<div id="partOfForceprint"></div>
<div id="partOfPrintextras"></div>
2020-11-19 23:12:46 +01:00
<div id="partOfPrintextraprice"></div>
2020-11-19 23:12:00 +01:00
<div id="partOfShowhostprint"></div>
<div id="partAddrecPrinterIfServerPrint">
<div id="partOfAddRecPrinter"></div>
<span id=addrecprinterhint></span>
</div>
2020-11-19 23:12:24 +01:00
<div id="partOfPrintcash"></div>
2020-11-19 23:12:43 +01:00
<div id="partOfDoublereceipt"></div>
2020-11-19 23:12:37 +01:00
</div> <!-- confprintsection -->
<p><a class="genconflink" href="" onclick="javascript:showconfsection('confworkrecsection'); return false">
<span id="workreceiptssectiontxt">Arbeitsbons</span> <span id="confworkrecsection_expandicon" style="display:inline;">&#8690;</span><span id="confworkrecsection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="confworkrecsection" class="confblock">
2020-11-19 23:12:00 +01:00
<div id="partOfDigiprintworkContainer">
<div id="partOfDigiprintwork"></div>
<i id=digiprinthint style="padding-left: 50px;padding-right: 50px;">Hinweis: siehe Anleitung</i>
</div>
<div id="partIfWorkReceiptsWorkflow">
<div id="partOfWaitergopayprint"></div>
<span id=waitergopayprinthint></span>
</div>
<div id="partOfOneprodworkrecf"></div>
<div id="partOfOneprodworkrecd"></div>
<div>
<div id="partOfBigFontWorkReceipt"></div>
<i id=workfontsizehint style="padding-left: 50px;padding-right: 50px;">Hinweis: Nicht für eigene Layouts</i>
</div>
<div id="partOfGroupWorkItemsf"></div>
<div id="partOfGroupWorkItemsd"></div>
2020-11-19 23:12:07 +01:00
<div id="partOfBillprintjobs"></div>
2020-11-19 23:12:37 +01:00
</div> <!-- confworkrecsection -->
<p><a class="genconflink" href="" onclick="javascript:showconfsection('confdiscountssection'); return false">
<span id="discountsectiontxt">Rabatte</span> <span id="confdiscountssection_expandicon" style="display:inline;">&#8690;</span><span id="confdiscountssection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="confdiscountssection" class="confblock">
2020-11-19 23:12:37 +01:00
2020-11-19 23:12:00 +01:00
<div data-role="fieldcontain">
<label for="discountname1"><span id="discountname1txt">Rabattname 1:</span></label>
<input type="text" value="" data-mini="true" placeholder="Bezeichnung" id="discountname1" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="discountname2"><span id="discountname2txt">Rabattname 2:</span></label>
<input type="text" value="" data-mini="true" placeholder="Bezeichnung" id="discountname2" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="discountname3"><span id="discountname3txt">Rabattname 3:</span></label>
<input type="text" value="" data-mini="true" placeholder="Bezeichnung" id="discountname3" data-theme="c" class="genConfigEl"/>
</div>
<div id="partOfDiscount1"></div>
<div id="partOfDiscount2"></div>
<div id="partOfDiscount3"></div>
2020-11-19 23:12:37 +01:00
</div> <!-- confdiscountssection -->
<p><a class="genconflink" href="" onclick="javascript:showconfsection('confpickupsection'); return false">
<span id="pickupsectiontxt">Abholansicht</span> <span id="confpickupsection_expandicon" style="display:inline;">&#8690;</span>
<span id="confpickupsection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="confpickupsection" class="confblock">
2020-11-19 23:12:00 +01:00
<div id="partOfPrintpickups"></div>
<div data-role="fieldcontain">
<label for="showpickupsno"><span id="showpickupsnotxt">Max Abholjobs</span></label>
<input type="text" value="" data-mini="true" placeholder="2" id="showpickupsno" data-theme="c" class="genConfigEl"/>
</div>
<div id="partOfShowpickupdelbtn"></div>
<div id="partOfShowpickhelp"></div>
2020-11-19 23:12:37 +01:00
</div> <!-- confpickupsection -->
<p><a class="genconflink" href="" onclick="javascript:showconfsection('confemailsection'); return false">
<span id="emailconfigsectiontxt">Email</span> <span id="confemailsection_expandicon" style="display:inline;">&#8690;</span>
<span id="confemailsection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="confemailsection" class="confblock">
2020-11-19 23:12:00 +01:00
<div data-role="fieldcontain">
<label for="smtphost"><span id="smtphosttxt">SMTP Host:</span></label>
<input type="text" value="" data-mini="true" placeholder="beispiel.email.provider.de" id="smtphost" data-theme="c" class="genConfigEl"/>
</div>
<div id="partOfSmtpauth"></div>
<div data-role="fieldcontain">
<label for="smtpuser"><span id="smtpusertxt">SMTP Benutzer:</span></label>
<input type="text" value="" data-mini="true" placeholder="Benutzer" id="smtpuser" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="smtppass"><span id="smtppasstxt">SMTP Passwort:</span></label>
<input type="password" value="" data-mini="true" placeholder="password" id="smtppass" data-theme="c" class="genConfigEl"/>
</div>
<div id="partOfSmtpsecure"></div>
<div data-role="fieldcontain">
<label for="smtpport"><span id="smtpporttxt">SMTP Port:</span></label>
<input type="text" value="" data-mini="true" placeholder="587" id="smtpport" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="email"><span id="fromemailtxt">Sender-Email:</span></label>
<input type="email" value="" data-mini="true" placeholder="gastwirt@anbieter.de" id="email" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="emailbadrating"><span id="emailbadratingtxt">Sender-Email:</span></label>
<input type="email" value="" data-mini="true" placeholder="gastwirt@anbieter.de" id="emailbadrating" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="emailratingcontact"><span id="emailratingcontacttxt">Sender-Email:</span></label>
<input type="email" value="" data-mini="true" placeholder="gastwirt@anbieter.de" id="emailratingcontact" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="receiveremail"><span id="toemailtxt">Standard Emailempfänger:</span></label>
<input type="email" value="" data-mini="true" placeholder="gastwirt@anbieter.de" id="receiveremail" data-theme="c" class="genConfigEl"/>
</div>
2020-11-19 23:12:37 +01:00
</div> <!-- confemailsection -->
<p><a class="genconflink" href="" onclick="javascript:showconfsection('conftemplatessection'); return false">
<span id="templatesectiontxt">Templates</span> <span id="conftemplatessection_expandicon" style="display:inline;">&#8690;</span>
<span id="conftemplatessection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="conftemplatessection" class="confblock">
<p /><i id=rectemplatehint style="padding-left: 50px;padding-right: 50px;">Hinweis: siehe Anleitung</i>
2020-11-19 23:12:37 +01:00
2020-11-19 23:12:00 +01:00
<div data-role="fieldcontain">
<label for="rectemplate">Kassenbonvorlage:</label>
<textarea cols="40" rows="8" name="rectemplate" id="rectemplate" class="genConfigEl" style="background-color:#FFFFFF;color:black;"></textarea>
2020-11-19 23:14:10 +01:00
<button id="samplerectemplate" data-theme="e"><span id="samplerectemplatetxt">Beispielvorlage</span></button>
2020-11-19 23:12:00 +01:00
</div>
2020-11-19 23:14:48 +01:00
<div data-role="fieldcontain">
<label for="cashtemplate">Vorlage Barein-/auslage:</label>
<textarea cols="40" rows="8" name="cashtemplate" id="cashtemplate" class="genConfigEl" style="background-color:#FFFFFF;color:black;"></textarea>
<button id="samplecashtemplate" data-theme="e"><span id="samplecashtemplatetxt">Beispielvorlage</span></button>
</div>
2020-11-19 23:12:00 +01:00
<div data-role="fieldcontain">
<label for="hosttext"><span id="hosttexttxt">Bewirtungsbeleg</span>:</label>
<textarea cols="40" rows="8" name="hosttext" id="hosttext" class="genConfigEl" style="background-color:#FFFFFF;color:black;"></textarea>
</div>
<div data-role="fieldcontain">
<label for="foodtemplate">Vorlage Speisebons:</label>
<textarea cols="40" rows="8" name="foodtemplate" id="foodtemplate" class="genConfigEl" style="background-color:#FFFFFF;color:black;"></textarea>
2020-11-19 23:14:48 +01:00
<button id="samplefoodworktemplate" data-theme="e"><span id="samplefoodworktemplatetxt">Beispielvorlage</span></button>
2020-11-19 23:12:00 +01:00
</div>
<div data-role="fieldcontain">
<label for="drinktemplate">Vorlage Getränkebons:</label>
<textarea cols="40" rows="8" name="drinktemplate" id="drinktemplate" class="genConfigEl" style="background-color:#FFFFFF;color:black;"></textarea>
2020-11-19 23:14:48 +01:00
<button id="sampledrinkworktemplate" data-theme="e"><span id="sampledrinkworktemplatetxt">Beispielvorlage</span></button>
2020-11-19 23:12:00 +01:00
</div>
<div data-role="fieldcontain">
<label for="canceltemplate">Vorlage Storno-Arbeitsbon:</label>
<textarea cols="40" rows="8" name="canceltemplate" id="canceltemplate" class="genConfigEl" style="background-color:#FFFFFF;color:black;"></textarea>
2020-11-19 23:14:48 +01:00
<button id="samplecanceltemplate" data-theme="e"><span id="samplecanceltemplatetxt">Beispielvorlage</span></button>
2020-11-19 23:12:00 +01:00
</div>
<div data-role="fieldcontain">
<label for="pickuptemplate">Vorlage Abholbon:</label>
<textarea cols="40" rows="8" name="pickuptemplate" id="pickuptemplate" class="genConfigEl" style="background-color:#FFFFFF;color:black;"></textarea>
2020-11-19 23:14:48 +01:00
<button id="samplepickuptemplate" data-theme="e"><span id="samplepickuptemplatetxt">Beispielvorlage</span></button>
</div>
<div data-role="fieldcontain">
<label for="clstemplate">Druckvorlage Tageserfassung:</label>
<textarea cols="40" rows="8" name="clstemplate" id="clstemplate" class="genConfigEl" style="background-color:#FFFFFF;color:black;"></textarea>
<button id="sampleclstemplate" data-theme="e"><span id="sampleclstemplatetxt">Beispielvorlage</span></button>
2020-11-19 23:12:00 +01:00
</div>
2020-11-19 23:14:48 +01:00
2020-11-19 23:12:00 +01:00
<div data-role="fieldcontain">
<label for="clostemplate">Vorlage html-Tageserfassung:</label>
<textarea cols="40" rows="8" name="clostemplate" id="clostemplate" class="genConfigEl" style="background-color:#FFFFFF;color:black;"></textarea>
<i id=clostemplatehint style="padding-left: 50px;padding-right: 50px;">Hinweis: siehe Anleitung</i>
</div>
<div data-role="fieldcontain">
<label for="reservationnote">Reservierungstemplate Email:</label>
<textarea cols="40" rows="8" name="reservationnote" id="reservationnote" class="genConfigEl" style="background-color:#FFFFFF;color:black;"></textarea>
2020-11-19 23:12:22 +01:00
</div>
2020-11-19 23:13:57 +01:00
<div data-role="fieldcontain">
<label for="reservationitem">Reservierungstemplate Eintrag:</label>
<textarea cols="40" rows="8" name="reservationitem" id="reservationitem" class="genConfigEl" style="background-color:#FFFFFF;color:black;"></textarea>
<i id=reservationitemhint style="padding-left: 50px;padding-right: 50px;">Hinweis zu Platzhalter</i>
</div>
2020-11-19 23:12:37 +01:00
</div> <!-- conftemplatessection -->
2020-11-19 23:15:04 +01:00
<p><a class="genconflink" href="" onclick="javascript:showconfsection('conflayoutsection'); return false">
Layout <span id="conflayoutsection_expandicon" style="display:inline;">&#8690;</span>
<span id="conflayoutsection_collapseicon" style="display:none;">&#8689</span></a>
<div style="display: none" id="conflayoutsection" class="confblock">
<div data-role="fieldcontain">
<label for="kitchenextrasize"><span id="kitchenextrasizetxt">Größe (Pixel)</span>:</label>
<input type="text" value="" data-mini="true" id="kitchenextrasize" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="kitchenoptionsize"><span id="kitchenoptionsizetxt">Größe (Pixel)</span>:</label>
<input type="text" value="" data-mini="true" id="kitchenoptionsize" data-theme="c" class="genConfigEl"/>
</div>
<i style="padding-left: 50px;padding-right: 50px;"><span id="kitchenfontsizehint">Hinweis bei Fontgröße 0</span></i>
</div> <!-- conflayoutsection -->
2020-11-19 23:12:37 +01:00
<p><a class="genconflink" href="" onclick="javascript:showconfsection('confsumupsection'); return false">
<span id="sumuptxt">SumUp-Anbindung</span> <span id="confsumupsection_expandicon" style="display:inline;">&#8690;</span>
<span id="confsumupsection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="confsumupsection" class="confblock">
2020-11-19 23:12:37 +01:00
2020-11-19 23:12:22 +01:00
<div id="partOfSumupforcard"></div>
<div data-role="fieldcontain">
<label for="affiliatekey">Affiliate Key:</label>
<input type="text" value="" data-mini="true" placeholder="" id="affiliatekey" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="appid">App-Id:</label>
<input type="text" value="" data-mini="true" placeholder="" id="appid" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="sumupfailuretext"><span id="sumupfailuretexttxt">Stornotext:</span></label>
<input type="text" value="" data-mini="true" placeholder="" id="sumupfailuretext" data-theme="c" class="genConfigEl"/>
</div>
2020-11-19 23:12:37 +01:00
</div> <!-- confsumupsection -->
<p><a class="genconflink" href="" onclick="javascript:showconfsection('conftimetracksection'); return false">
<span id="timetrackingtxt">Zeitmanagement</span> <span id="conftimetracksection_expandicon" style="display:inline;">&#8690;</span>
<span id="conftimetracksection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="conftimetracksection" class="confblock">
2020-11-19 23:12:00 +01:00
2020-11-19 23:11:27 +01:00
<div data-role="fieldcontain">
<label for="minbeforecome"><span id="minbeforecometxt">Stempelminuten früher:</span></label>
<input type="text" value="" data-mini="true" placeholder="0" id="minbeforecome" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="minaftergo"><span id="minaftergotxt">Stempelminuten später</span></label>
<input type="text" value="" data-mini="true" placeholder="0" id="minaftergo" data-theme="c" class="genConfigEl"/>
</div>
2020-11-19 23:12:37 +01:00
</div> <!-- conftimetracksection -->
<p><a class="genconflink" href="" onclick="javascript:showconfsection('conftaskssection'); return false">
<span id="tasktxt">Aufgaben</span> <span id="conftaskssection_expandicon" style="display:inline;">&#8690;</span>
<span id="conftaskssection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="conftaskssection" class="confblock">
2020-11-19 23:11:33 +01:00
<div id="partOfTaskallasssign"></div>
<div id="partOfTaskifempty"></div>
<div id="partOfTaskownerempty"></div>
2020-11-19 23:12:37 +01:00
</div> <!-- conftaskssection -->
<p><a class="genconflink" href="" onclick="javascript:showconfsection('confmobilsection'); return false">
<span id="mobilviewsectiontxt">MOBILANSICHT</span> <span id="confmobilsection_expandicon" style="display:inline;">&#8690;</span>
<span id="confmobilsection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="confmobilsection" class="confblock">
2020-11-19 23:00:39 +01:00
2020-11-19 23:00:55 +01:00
<div id="partOfProminentSearch"></div>
2020-11-19 23:00:39 +01:00
2020-11-19 23:03:31 +01:00
<div data-role="fieldcontain">
<label for="startprodsearch"><span id="startprodsearchtxt">Starte Prodsuche:</span></label>
<input type="text" value="" data-mini="true" placeholder="3" id="startprodsearch" data-theme="c" class="genConfigEl"/>
</div>
2020-11-19 23:03:35 +01:00
<div id="partOfPriceinlist"></div>
2020-11-19 23:12:37 +01:00
</div> <!-- confmobilsection -->
<p><a class="genconflink" href="" onclick="javascript:showconfsection('confdesksection'); return false">
<span id="desktopviewsectiontxt">DESKTOPANSICHT</span> <span id="confdesksection_expandicon" style="display:inline;">&#8690;</span>
<span id="confdesksection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="confdesksection" class="confblock">
2020-11-19 23:02:16 +01:00
<div>
<div id="partOfReturntoorder"></div>
<i id=returntoorderhint style="padding-left: 50px;padding-right: 50px;">Hinweis: siehe Anleitung</i>
</div>
2020-11-19 23:12:37 +01:00
</div> <!-- confdesksection -->
<p><a class="genconflink" href="" onclick="javascript:showconfsection('confclosingssection'); return false">
<span id="closingprintstxt">Tageserfassungsbons</span> <span id="confclosingssection_expandicon" style="display:inline;">&#8690;</span>
<span id="confclosingssection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="confclosingssection" class="confblock">
2020-11-19 23:02:57 +01:00
<div id="partOfclosshowci"></div>
<div id="partOfclosshowpaytaxes"></div>
<div id="partOfclosshowprods"></div>
2020-11-19 23:14:48 +01:00
<p /><span id="clountingprotocoltxt" class="subsectionheader">Zählpr.</span>:
<div id="partofcountings"></div>
<div data-role="fieldcontain">
<label for="coins"><span id="coinstxt">Münzen</span>:</label>
<input type="text" value="" data-mini="true" placeholder="" id="coins" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="coinvalname"><span id="coinvalnametxt">Einheitsname Münzen</span>:</label>
<input type="text" value="" data-mini="true" placeholder="" id="coinvalname" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="notes"><span id="notestxt">Noten</span>:</label>
<input type="text" value="" data-mini="true" placeholder="" id="notes" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="notevalname"><span id="notevalnametxt">Einheitsname Banknoten</span>:</label>
<input type="text" value="" data-mini="true" placeholder="" id="notevalname" data-theme="c" class="genConfigEl"/>
</div>
<i id="coinshinttxt" style="padding-left: 50px;padding-right: 50px;">Hinweis</i><br>
2020-11-19 23:12:37 +01:00
</div> <!-- confclosingssection -->
<p><a class="genconflink" href="" onclick="javascript:showconfsection('confpaywaysection'); return false">
<span id="showpaymentstxt">Zahlungswege</span> <span id="confpaywaysection_expandicon" style="display:inline;">&#8690;</span>
<span id="confpaywaysection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="confpaywaysection" class="confblock">
2020-11-19 23:02:57 +01:00
2020-11-19 23:12:00 +01:00
<div id="partOfshowpayments"></div>
<i id=showpaymentshint style="padding-left: 50px;padding-right: 50px;">Hinweis: alles Bar</i><br>
2020-11-19 23:02:57 +01:00
<div id="partOfshowpayment2"></div>
2020-11-19 23:12:43 +01:00
<div id="partOfshowpayment3"></div>
2020-11-19 23:02:57 +01:00
<div id="partOfshowpayment4"></div>
<div id="partOfshowpayment5"></div>
<div id="partOfshowpayment6"></div>
<div id="partOfshowpayment7"></div>
2020-11-19 23:14:48 +01:00
<div id="partOfshowpayment8"></div>
<i id="paymenthint" style="padding-left: 50px;padding-right: 50px;">Hinweis zu Zahlungswegen</i><br><br>
2020-11-19 23:12:37 +01:00
</div> <!-- confpaywaysection -->
<p><a class="genconflink" href="" onclick="javascript:showconfsection('confdashsection'); return false">
<span id="dashsectiontxt">Dashboard</span> <span id="confdashsection_expandicon" style="display:inline;">&#8690;</span>
<span id="confdashsection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="confdashsection" class="confblock">
2020-11-19 23:12:00 +01:00
<div id="partOfDashslot1"></div>
<div id="partOfDashslot2"></div>
<div id="partOfDashslot3"></div>
2020-11-19 23:12:37 +01:00
</div> <!-- confdashsection -->
2020-11-19 23:12:00 +01:00
2020-11-19 23:12:37 +01:00
<p><a class="genconflink" href="" onclick="javascript:showconfsection('confguestsyssection'); return false">
<span id="guestsystemsectiontxt">Gastsystem</span> <span id="confguestsyssection_expandicon" style="display:inline;">&#8690;</span>
<span id="confguestsyssection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="confguestsyssection" class="confblock">
2020-11-19 23:12:37 +01:00
2020-11-19 23:10:06 +01:00
<div data-role="fieldcontain">
<label for="guesturl">Webserver-Gastsystem:</label>
<input type="text" value="" data-mini="true" placeholder="http://www.restaurant.de" id="guesturl" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="guestcode">Zugriffscode-Gastsystem:</label>
<input type="password" value="" data-mini="true" placeholder="123456" id="guestcode" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="dailycode">Gastsystem-Tageslosung:</label>
<input type="text" value="" data-mini="true" placeholder="Code" id="dailycode" data-theme="c" class="genConfigEl"/>
</div>
<div id="partOfGuestjobprint"></div>
2020-11-19 23:12:00 +01:00
<i id="guestjobprinthint" style="padding-left: 50px;padding-right: 50px;">Hinweis: Nicht drucken heißt digitalen Workflow.</i>
2020-11-19 23:15:14 +01:00
<div id="partOfGuestTheme"></div>
2020-11-19 23:10:21 +01:00
<div id="partOfAskdaycode"></div>
<div id="partOfAsktablecode"></div>
<div id="partOfShowdaycode"></div>
2020-11-19 23:12:37 +01:00
2020-11-19 23:10:21 +01:00
<div data-role="fieldcontain">
<label for="guesttimeout"><span id="guesttimeoutxt">Timeout</span>:</label>
<input type="text" value="" data-mini="true" placeholder="5" id="guesttimeout" data-theme="c" class="genConfigEl"/><br>
<i id=guesttimeouthint style="padding-left: 50px;padding-right: 50px;">Hinweis: 0 = kein Timeout</i>
</div>
2020-11-19 23:13:57 +01:00
2020-11-19 23:14:48 +01:00
<p><span id="guestqrheadertxt" class="subsectionheader">QR</span>:<br><p />
2020-11-19 23:13:57 +01:00
<div data-role="fieldcontain">
<label for="guestqrtext">Beschriftung:</label>
<input type="text" value="" data-mini="true" placeholder="Gastbestellung" id="guestqrtext" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="guestqrsize">Größe (Pixel):</label>
2020-11-19 23:15:04 +01:00
<input type="text" value="" data-mini="true" id="guestqrsize" data-theme="c" class="genConfigEl"/>
2020-11-19 23:13:57 +01:00
</div>
<div data-role="fieldcontain">
<label for="guestqrfontsize">Beschriftung Fontgröße:</label>
2020-11-19 23:15:04 +01:00
<input type="text" value="" data-mini="true" id="guestqrfontsize" data-theme="c" class="genConfigEl"/>
2020-11-19 23:13:57 +01:00
</div>
<i style="padding-left: 50px;padding-right: 50px;"><span id="guestqrinfotxt">Druck in Datenbank/Raumplan/Anbindunbg Gastbestellsystem</span></i>
2020-11-19 23:12:37 +01:00
</div> <!-- confguestsyssection -->
2020-11-19 23:15:04 +01:00
2020-11-19 23:12:37 +01:00
<p><a class="genconflink" href="" onclick="javascript:showconfsection('confspecialssection'); return false">
<span id="specialsettingssectiontxt">Spezialeinstellungen</span> <span id="confspecialssection_expandicon" style="display:inline;">&#8690;</span>
<span id="confspecialssection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="confspecialssection" class="confblock">
2020-11-19 23:00:55 +01:00
2020-11-19 23:12:00 +01:00
<div id="partOfOneclickcooked"></div>
2020-11-19 23:00:55 +01:00
<div>
<div id="partOfPrintAndQueueJobs"></div>
<i id=printandqueuehint style="padding-left: 50px;padding-right: 50px;">Hinweis: siehe Anleitung</i>
</div>
<div>
<div id="partOfCash"></div>
<i id=cashhint style="padding-left: 50px;padding-right: 50px;">Hinweis: siehe Anleitung</i>
</div>
2020-11-19 23:02:16 +01:00
2020-11-19 23:10:48 +01:00
<div id="partOfBeepOrdered"></div>
<div id="partOfBeepCooked"></div>
2020-11-19 23:11:36 +01:00
<div id="partOfShowtogo"></div>
2020-11-19 23:11:42 +01:00
<div id="partOfShowprepinwaiter"></div>
2020-11-19 23:12:37 +01:00
<div id="partOfShowtransferbtns"></div>
2020-11-19 23:03:29 +01:00
<div id="partOfDblog"></div>
2020-11-19 23:12:37 +01:00
</div> <!-- confspecialssection -->
<p><a class="genconflink" href="" onclick="javascript:showconfsection('confserversection'); return false">
<span id="serversectiontxt">Server</span> <span id="confserversection_expandicon" style="display:inline;">&#8690;</span>
<span id="confserversection_collapseicon" style="display:none;">&#8689</span></a>
2020-11-19 23:14:48 +01:00
<div style="display: none" id="confserversection" class="confblock">
2020-11-19 23:12:37 +01:00
2020-11-19 23:12:00 +01:00
<div data-role="fieldcontain">
<label for="memorylimit"><span id="memorylimittxt">PHP Memory Limit:</span></label>
<input type="text" value="" data-mini="true" placeholder="256" id="memorylimit" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="updateurl"><span id="updateurltxt">Update-Server:</span></label>
<input type="text" value="" data-mini="true" placeholder="" id="updateurl" data-theme="c" class="genConfigEl"/>
</div>
2020-11-19 23:12:30 +01:00
<div id="partOfShowerrorlog"></div>
2020-11-19 23:12:00 +01:00
<div class="grouparea">
<div data-role="fieldcontain">
<label for="tmpdir"><span id="tmpdirtxt">PHP-Tmp:</span></label>
<input type="text" value="" data-mini="true" placeholder="" id="tmpdir" data-theme="c" class="genConfigEl"/><br><br>
<button type="submit" data-theme="f" data-icon="check" id="defaulttmpbtn">Default</button><br>
<i><span id="tmpdirhint">Hinweis</span></i>
</div>
</div>
2020-11-19 23:00:55 +01:00
<p>&nbsp;
2020-11-19 23:12:37 +01:00
</div> <!-- confserversection -->
2020-11-19 23:14:48 +01:00
<p><a class="genconflink" href="" onclick="javascript:showconfsection('conftsesection'); return false">
TSE <span id="conftsesection_expandicon" style="display:inline;">&#8690;</span>
<span id="conftsesection_collapseicon" style="display:none;">&#8689</span></a>
<div style="display: none" id="conftsesection" class="confblock">
<div id="partOfUsetse"></div>
<div data-role="fieldcontain">
<label for="tseurl"><span id="tseurltxt">TSEConnector-URL:</span></label>
<input type="text" value="" data-mini="true" placeholder="" id="tseurl" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="tsepass"><span id="tsepasstxt">TSEConnector-Passwort:</span></label>
<input type="text" value="" data-mini="true" placeholder="" id="tsepass" data-theme="c" class="genConfigEl"/>
</div>
<div style="border-style: solid;border-color: black;border-width: 2px;background-color:tomato;padding:20px;">
<div data-role="fieldcontain">
<label for="tsepin"><span id="tsepintxt">TSE-PIN:</span></label>
<input type="text" value="" data-mini="true" placeholder="" id="tsepin" data-theme="c" class="genConfigEl"/>
</div>
<div data-role="fieldcontain">
<label for="tsepuk"><span id="tsepuktxt">TSE-PUK:</span></label>
<input type="text" value="" data-mini="true" placeholder="" id="tsepuk" data-theme="c" class="genConfigEl"/>
</div>
<button id="dotsesetup" data-theme="f" />TSE-Setup</button>
</div>
<div data-role="fieldcontain">
<label for="tsecmdsel">TSE-Operation:</label>
<select id="tsecmdsel" data-theme="e">
<option value="factory_reset">Factory Reset</option>
2020-11-19 23:24:04 +01:00
<option value="forceselftest" >Selbsttest</option>
<option value="getinfo" selected>Information auslesen</option>
2020-11-19 23:14:48 +01:00
<option value="getlog">Protokoll</option>
<!-- <option value="exportdownload">TAR-Export Download</option>-->
<option value="exportlocal">TAR-Export lokal</option>
<option value="decom">Dekommissionierung</option>
</select>
<button id="submittsecmd" data-theme="f" />&rarr; TSE</button>
</div>
<div data-role="fieldcontain">
<label for="tseoutput">TSEConnector-Ausgabe:</label>
<textarea cols="40" rows="8" name="tseoutput" id="tseoutput" class="genConfigEl" style="background-color:#FFFFFF;color:black;"></textarea>
</div>
<div class="legend">
<p /><b>Information</b>
<ul>
<li>TSEConnector-URL: Webadresse des TSEConnectors (Teil des OrderSprinter-Programmsuite)</li>
<li>TSEConnector-Passwort: Damit der TSEConnector nur authorisierte Aktionen durchführen darf, ist der Zugriff mit einem Passwort geschützt.</li>
<li>TSE-Setup: Anmelden der TSE. Dabei kann die PIN und die PUK eingestellt werden.</li>
<li>TSE-Operation: Hier lassen sich administrative Aktionen auf der TSE ausführen. Die Aktioon muss in der Auswahkbox zunächst ausgewählt und über den darunterliegenden Button gestartet werden.
<ul>
<li>Factory Reset: Damit kann die TSE wieder zurückgesetzt werden. Diese Aktion funktioniert nur aiuf Emtwickler-TSE-Geräten! Die TSE führt anschließend einen Selbsttest durch. Dieser kann ein paar Minuten dauern. Das Ergebnis wird anschließend in der Textbox unten aufgeführt.</li>
<li>Selbsttest: Die TSE führt einen Selbsttest durch. Dieser kann ein paar Minuten dauern. Das Ergebnis wird anschließend in der Textbox unten aufgeführt.</li>
<li>Information auslesen: Informationen über die TSE und dem aktuellen Status werden aus der TSE gelesen.</li>
<li>Protokoll: Die Aktionen, die der TSEConnector ausgeführt hat, werden seit dessen Start aufgelistet.</li>
<li>TAR-Export: Auslesen der Daten aus der TSE als tar-Export, wie er vom Finanzamt gefordert wird.</li>
<li>Dekommissionierung: Stillegung der TSE. Die TSE ist anschließend beim Finanzamt abzumelden!</li>
</ul>
</li>
<li>TSEConnector-Ausgabe: Rückmeldung vom TSEConnector
</ul>
</div>
</div> <!-- TSE -->
2020-11-19 23:12:00 +01:00
<br><b><u><span id="applysectiontxt">Ändern</span></u></b><br><br>
<div style="margin-left:30px;margin-right:30px;">
2020-11-19 23:12:02 +01:00
<button type="submit" data-theme="f" data-icon="check" id="changeConfig" style="height:150px;">
<span id="changeConfigtxt" >Ändern</span></button>
2020-11-19 23:12:00 +01:00
</div>
2020-11-19 22:47:44 +01:00
2020-11-19 23:12:00 +01:00
<br><b><u>Logo:</u></b><br><br>
2020-11-19 23:12:39 +01:00
<img id="logoimgpart" style="height:70px;" src="php/contenthandler.php?module=printqueue&command=getLogoAsPngWithAlphaChannel" />
2020-11-19 23:14:55 +01:00
<p /><div id="uploadlogofilearea">Logo</div>
<div id="uploadlogostatus"></div>
2020-11-19 22:47:44 +01:00
<form>
<a href="#" data-theme="d" data-role="button" data-icon="delete" data-ajax="false" id="dellogobtn">Kein Logo</a>
</form>
</div> <!-- Konfiguration -->
2020-11-19 23:03:20 +01:00
<div data-role="collapsible" data-collapsed="true" data-theme="e" data-content-theme="c" class="noprint" id="printerinstances" style="display:none;">
<h3><span id="printerinstancesheader">Druckerinstanzzuordnung</span></h3>
<p><div id=printerinstancesarea>
<table id="printerinstancestable" class="gridtable">
<tr><th>&nbsp;<th colspan="10" id="printerinstancetxt">Instanz</tr>
<tr><th>&nbsp;<th>1<th>2<th>3<th>4<th>5<th>6<th>7<th>8<th>9<th>10</tr>
<tr id="pia_k1" class="prinstancerow"><td class="rowname"><span class="pia_k_txt">Kasse</span> 1<td id="pia_k1_1"><td id="pia_k1_2"><td id="pia_k1_3"><td id="pia_k1_4"><td id="pia_k1_5"><td id="pia_k1_6"><td id="pia_k1_7"><td id="pia_k1_8"><td id="pia_k1_9"><td id="pia_k1_10"></tr>
<tr id="pia_k2" class="prinstancerow"><td class="rowname"><span class="pia_k_txt">Kasse</span> 2<td id="pia_k2_1"><td id="pia_k2_2"><td id="pia_k2_3"><td id="pia_k2_4"><td id="pia_k2_5"><td id="pia_k2_6"><td id="pia_k2_7"><td id="pia_k2_8"><td id="pia_k2_9"><td id="pia_k2_10"></tr>
<tr id="pia_k3" class="prinstancerow"><td class="rowname"><span class="pia_k_txt">Kasse</span> 3<td id="pia_k3_1"><td id="pia_k3_2"><td id="pia_k3_3"><td id="pia_k3_4"><td id="pia_k3_5"><td id="pia_k3_6"><td id="pia_k3_7"><td id="pia_k3_8"><td id="pia_k3_9"><td id="pia_k3_10"></tr>
<tr id="pia_k4" class="prinstancerow"><td class="rowname"><span class="pia_k_txt">Kasse</span> 4<td id="pia_k4_1"><td id="pia_k4_2"><td id="pia_k4_3"><td id="pia_k4_4"><td id="pia_k4_5"><td id="pia_k4_6"><td id="pia_k4_7"><td id="pia_k4_8"><td id="pia_k4_9"><td id="pia_k4_10"></tr>
<tr id="pia_k5" class="prinstancerow"><td class="rowname"><span class="pia_k_txt">Kasse</span> 5<td id="pia_k5_1"><td id="pia_k5_2"><td id="pia_k5_3"><td id="pia_k5_4"><td id="pia_k5_5"><td id="pia_k5_6"><td id="pia_k5_7"><td id="pia_k5_8"><td id="pia_k5_9"><td id="pia_k5_10"></tr>
<tr id="pia_k6" class="prinstancerow"><td class="rowname"><span class="pia_k_txt">Kasse</span> 6<td id="pia_k6_1"><td id="pia_k6_2"><td id="pia_k6_3"><td id="pia_k6_4"><td id="pia_k6_5"><td id="pia_k6_6"><td id="pia_k6_7"><td id="pia_k6_8"><td id="pia_k6_9"><td id="pia_k6_10"></tr>
<tr id="pia_f1" class="prinstancerow"><td class="rowname"><span class="pia_f_txt">Speise</span> 1<td id="pia_f1_1"><td id="pia_f1_2"><td id="pia_f1_3"><td id="pia_f1_4"><td id="pia_f1_5"><td id="pia_f1_6"><td id="pia_f1_7"><td id="pia_f1_8"><td id="pia_f1_9"><td id="pia_f1_10"></tr>
<tr id="pia_f2" class="prinstancerow"><td class="rowname"><span class="pia_f_txt">Speise</span> 2<td id="pia_f2_1"><td id="pia_f2_2"><td id="pia_f2_3"><td id="pia_f2_4"><td id="pia_f2_5"><td id="pia_f2_6"><td id="pia_f2_7"><td id="pia_f2_8"><td id="pia_f2_9"><td id="pia_f2_10"></tr>
2020-11-19 23:12:05 +01:00
<tr id="pia_f3" class="prinstancerow"><td class="rowname"><span class="pia_f_txt">Speise</span> 3<td id="pia_f3_1"><td id="pia_f3_2"><td id="pia_f3_3"><td id="pia_f3_4"><td id="pia_f3_5"><td id="pia_f3_6"><td id="pia_f3_7"><td id="pia_f3_8"><td id="pia_f3_9"><td id="pia_f3_10"></tr>
<tr id="pia_f4" class="prinstancerow"><td class="rowname"><span class="pia_f_txt">Speise</span> 4<td id="pia_f4_1"><td id="pia_f4_2"><td id="pia_f4_3"><td id="pia_f4_4"><td id="pia_f4_5"><td id="pia_f4_6"><td id="pia_f4_7"><td id="pia_f4_8"><td id="pia_f4_9"><td id="pia_f4_10"></tr>
2020-11-19 23:03:20 +01:00
<tr id="pia_d1" class="prinstancerow"><td class="rowname"><span class="pia_d_txt">Getränke</span> 1<td id="pia_d1_1"><td id="pia_d1_2"><td id="pia_d1_3"><td id="pia_d1_4"><td id="pia_d1_5"><td id="pia_d1_6"><td id="pia_d1_7"><td id="pia_d1_8"><td id="pia_d1_9"><td id="pia_d1_10"></tr>
<tr id="pia_d2" class="prinstancerow"><td class="rowname"><span class="pia_d_txt">Getränke</span> 2<td id="pia_d2_1"><td id="pia_d2_2"><td id="pia_d2_3"><td id="pia_d2_4"><td id="pia_d2_5"><td id="pia_d2_6"><td id="pia_d2_7"><td id="pia_d2_8"><td id="pia_d2_9"><td id="pia_d2_10"></tr>
2020-11-19 23:12:05 +01:00
<tr id="pia_d3" class="prinstancerow"><td class="rowname"><span class="pia_d_txt">Getränke</span> 3<td id="pia_d3_1"><td id="pia_d3_2"><td id="pia_d3_3"><td id="pia_d3_4"><td id="pia_d3_5"><td id="pia_d3_6"><td id="pia_d3_7"><td id="pia_d3_8"><td id="pia_d3_9"><td id="pia_d3_10"></tr>
<tr id="pia_d4" class="prinstancerow"><td class="rowname"><span class="pia_d_txt">Getränke</span> 4<td id="pia_d4_1"><td id="pia_d4_2"><td id="pia_d4_3"><td id="pia_d4_4"><td id="pia_d4_5"><td id="pia_d4_6"><td id="pia_d4_7"><td id="pia_d4_8"><td id="pia_d4_9"><td id="pia_d4_10"></tr>
2020-11-19 23:11:52 +01:00
<tr id="pia_p1" class="prinstancerow"><td class="rowname"><span class="pia_p_txt">Abholung</span><td id="pia_p1_1"><td id="pia_p1_2"><td id="pia_p1_3"><td id="pia_p1_4"><td id="pia_p1_5"><td id="pia_p1_6"><td id="pia_p1_7"><td id="pia_p1_8"><td id="pia_p1_9"><td id="pia_p1_10"></tr>
2020-11-19 23:03:20 +01:00
</table>
<span id="printerInstanceHint" id=printandqueuehint style="padding-left: 50px;padding-right: 50px;">Hinweis: Printserver ab 1.3.14</span>
<button type="submit" data-theme="f" data-icon="check" id="applyPrinterInstances">Anwenden</button>
</div>
</div>
2020-11-19 22:59:47 +01:00
<div data-role="collapsible" data-collapsed="true" data-theme="e" data-content-theme="c" class="noprint" id="printerqueue" style="display:none;">
2020-11-19 22:47:44 +01:00
<h3><span id="printjobsheader">Druckerwarteschlangen</span></h3>
2020-11-19 22:59:47 +01:00
<p><div id=printjobsarea>Daten</div>
2020-11-19 23:14:04 +01:00
<p /><div data-role="collapsible" data-collapsed="true" data-theme="e" data-content-theme="c" class="noprint" id="printedworkreceipts" >
<h3><span id="printedworkreceiptsheader">Gedruckte Arbeitsbons</span></h3>
<div id="printedworkreceiptsarea"></div>
</div>
2020-11-19 23:03:48 +01:00
2020-11-19 23:14:04 +01:00
<div class="ui-grid-a noprint">
2020-11-19 23:03:48 +01:00
<div class="ui-block-a"><button type="submit" data-theme="f" data-icon="check" id="updateprintqueue">Refresh</button></div>
<div class="ui-block-b"><button type="submit" data-theme="d" data-icon="delete" id="clearprintqueue">Clear print jobs</button></div>
</div><!-- /grid-a -->
2020-11-19 22:59:47 +01:00
2020-11-19 22:47:44 +01:00
</div> <!-- Druckerwarteschlangen -->
2020-11-19 22:59:47 +01:00
<div data-role="collapsible" data-collapsed="true" data-theme="e" data-content-theme="c" class="noprint" id="dbactionui" style="display:none;">
2020-11-19 22:47:44 +01:00
<h3><span id="dbtxt">Datenbank</span></h3>
<div data-role="collapsible" data-collapsed="true" data-theme="f" data-content-theme="c" class="noprint" id="dbactionspeisenconfig">
2020-11-19 23:14:04 +01:00
<p /><h3><span id="speisekarte">Speisekarte</span></h3>
<div class="ui-grid-a noprint">
2020-11-19 22:47:44 +01:00
<div class="ui-block-a"><button data-theme="e" data-icon="plus" id="readsamplemenu"><span id=samplemenutxt>Beispielkarte</span></button></div>
<div class="ui-block-b grid_right"><button type="submit" data-theme="f" class="applySpeisekarte" data-icon="check" id="readspeisekarte">Anwenden</button></div>
</div><!-- /grid-a -->
2020-11-19 22:59:47 +01:00
<div data-role="collapsible" data-collapsed="true" data-theme="e" data-collapsed-icon="info" data-expanded-icon="info" data-content-theme="c" class="noprint" id="menulegenddiv">
<p><h3><span id="legendheader">Legende</span></h3>
<h2>Aufbau der Speisekarte</h2>
<p>Die Syntax der Speisekarte ist sehr strikt. Das Format, insbesondere die Einrückungen, müssen genau
eingehalten werden, damit der Inhalt korrekt übernommen werden kann!
<h3>Struktur</h3>
<p>Einrückungen bilden das Produktangebot hierarchisch ab. Die tiefsten Einrückungen stellen die <i>Produkte</i> dar,
alle Eebenen darüber die <i>Kategorien</i>.
2020-11-19 23:12:37 +01:00
<p>Die einfachste Form einer Speisekarte (Angabe des Produktnamens und des Preises für alle Preisstufen) sieht folgendermaßen aus:
2020-11-19 22:59:47 +01:00
<pre>
Speisen
Gericht 1 ; 2,90
Gericht 2 ; 3,90
Untergruppe xy
Gericht 3 ; 2,90
Getränke
...
</pre>
<p>In diesem Beispiel wurde jedem Produkt ein Preis zugewiesen, der für alle Preisstufen verwendet wird. Kategorien und Produkte können zusätzlich noch weiter spezifiziert werden.
<h3>Produkteinträge</h3>
<p>Ein Produkteintrag hat in der einfachsten Schreibweise folgende Syntax: <i>Produktname; Preis</i>. Sollen jedoch weitere Eigenschaften
2020-11-19 23:12:37 +01:00
festgelegt werden, können diese hinter einem Doppelkreuz per Semikolon getrennt angegeben werden: <i>Produktname; Preis # Eigenschaft1:Wert1; Eigenschaft2: Wert2</i>.
2020-11-19 22:59:47 +01:00
<p>Folgende Eigenschaften können angegeben werden:
<ul>
<li><b>ID</b>: Eine ID wird vom System festgelegt, sobald ein Produkt erstmalig angelegt wurde. Wenn ein Produkt verändert wird,
so sollte man die ID-Kennzeichnung beibehalten. Nur so kann das System das Produkt eindeutig identifizieren und in der
Statistik später eindeutig zuordnen. Es ist wichtig, keine eigenen IDs zu vergeben, denn neue IDs werden stets
vom OrderSprinter erzeugt!
2020-11-19 23:12:37 +01:00
<li><b>Kurzname</b>: Dies ist die Produktbezeichnung, die auf dem Bestellterminal erscheint. Wenn beispielsweise die übergeordnete
Kategorie <i>Cola</i> lautet, kann man darunter Produkte mit den Bestellansichtsnamen <i>0,3l</i> und <i>0,5l</i> eintragen und damit die Übersicht auf
mobilen Geräten verbessern. Der Produktname sollte jedoch die komplette Bezeichnung enthalten (<i>Cola 0,2l</i> und <i>Cola 0,5l</i>). Wird
der Name für die Bestellansicht nicht angegeben, wird automatisch der Produktname verwendet.
2020-11-19 22:59:47 +01:00
<li><b>vorhanden</b>: Wenn ein Produkt zwar in der Speisekarte eingetragen werden soll, jedoch temporär nicht verfügbar ist, kann man dies
kennzeichnen, indem man den Wert auf <i>0</i> oder <i>nein</i> setzt.
<li><b>PreisB</b>: Preis der Preisstufe B. Wird diese Eigenschaft nicht angegeben, wird der Preis A verwendet, d.h. der Preis vor dem Doppelkreuz.
<li><b>PreisC</b>: Preis der Preisstufe C. Wird diese Eigenschaft nicht angegeben, wird der Preis A verwendet, d.h. der Preis vor dem Doppelkreuz.
2020-11-19 23:14:48 +01:00
<li><b>Normal-Steuersatz</b>: Angabe des Steuersatzes, der in der Regel angewandt werden soll, d.h. für alle Bestellungen dieses Produktes, die im Haus verzehrt werden sollen.
Der Steuersatz ist der Ust-Schlüssel, wie er in der DSFinv-k festgelegt ist. Wird der Steuersatz nicht angegeben, so wird der Allgemeine Steuersatz (ID 1) verwendet.
<li><b>To-Go-Steuersatz</b>: Angabe des Steuersatzes, der in für To-Go-Artikel angewandt werden soll, d.h. für alle Bestellungen dieses Produktes, die außer Haus verzehrt werden sollen.
Der Steuersatz ist der Ust-Schlüssel, wie er in der DSFinv-k festgelegt ist. Wird der Steuersatz nicht angegeben, so wird der ermäßigte Steuersatz (ID 2) verwendet.
2020-11-19 23:00:31 +01:00
<li><b>Steuersatz-Austria</b>: Diese Einstellung ist für Österreichische Betriebe wichtig: 1: Steuersatz 'Normal', 2: Ermäßigt-1, 3: Ermäßigt-2, 4: Steuersatz 'Besonders'. Ist der Betriebsmodus 'Österreich' ausgewählt, so wird <u><i>immer</i></u> dieser Steuersatz verwendet.
<li><b>Menge</b>: Die verfügbare Menge. Bei jeder Bestellung wird die Anzahl um 1 vermindert. Kurz vor Erreichen der Anzahl 0 bekommt der Kellner einen Warnhinweis bei dem Produkt.
2020-11-19 23:02:49 +01:00
<li><b>Einheit</b>:
<ul>
<li>Stück: Die Preisangaben beziehen sich auf ein Stück dieses Artikels (in diesem Fall muss diese Eigenschaft nicht angegeben werden.)
<li>Eingabe: Preis des Produktes wird bei der Bestellaufnahme abgefragt.
2020-11-19 23:12:35 +01:00
<li>kg: Gewicht (kg)
<li>mg: Gewicht (g)
<li>mg: Gewicht (mg)
<li>l: Volumen (Liter)
<li>ml: Volumen (ml)
<li>m: Länge (m)
2020-11-19 23:02:49 +01:00
</ul>
<li><b>Tage</b>: Man kann die Tage einschränken, an denen ein Produkt bestellt werden kann. 0=Sonntag, 1=Montag, usw. bis 6=Samstag. Wird ein Produkt an allen Tagen verkauft, ist keine Angabe erforderlich. Ein Produkt, welches nur an Wochenenden verkauft wird, muss mit '06' oder '60' ausgezeichnet werden.
2020-11-19 23:03:35 +01:00
<li><b>Bildnr</b>: Produkte können mit Bildern versehen werden. Jedes Bild in der Bilddatenbank besitzt eine eindeutige ID. Über die Angabe der Bildnummer können Bilder mehreren Produkten zugeordnet werden. Bilder, die keine Referenz mehr besitzen, werden regelmäßig aus der Datenbank entfernt.
2020-11-19 23:10:06 +01:00
<li><b>Anzeige</b>: K: Anzeige nur in der Kellneransicht, G: Anzeige nur in der Gastbestellansicht, KG: Anzeige in beiden Ansichten (Standard)
2020-11-19 23:12:18 +01:00
<li><b>Barcode</b>: Der Barcode des Produkts. Dieser Wert ist nur dann von Interesse, wenn nicht im Restaurantmodus gearbeitet wird.
2020-11-19 23:02:49 +01:00
</ul>
2020-11-19 22:59:47 +01:00
<p>Ein Produkteintrag mit weiteren Eigenschaften kann beispielsweise so aussehen:
<pre>
Cola 0,2l; 2,30 # Kurzname: 0.2l; vorhanden:nein; PreisB: 1,90
</pre>
2020-11-19 23:12:37 +01:00
Der Kurzname ist der Name des Produktes, wie es in der Bestellansicht aufgeführt ist.
2020-11-19 22:59:47 +01:00
<h3>Kategorien</h3>
<p>Das Gleichheitszeichen dient als Trenner zwischen Namen und weiteren Eigenschaften.
2020-11-19 23:11:49 +01:00
Wird ein <i>K</i> und <i>B</i> mitgegeben, so werden diese Produkte über die Küchen/Bar (K) -
und Bereitstellungsansicht (B) geführt. Die Einstellung wird auf die Unterkategorien
2020-11-19 22:59:47 +01:00
vererbt, wenn die darunter liegenden Kategorien keine Angabe dazu enthalten.
<p>Wenn ein <i>D</i> angegeben ist, wird als Typ <b>Getränk</b> angenommen, bei einem <i>F</i> <b>Speise</b>.
Wenn die Angabe fehlt, wird die Eigenschaft des übergeordneten Eintrags verwendet.
2020-11-19 23:12:05 +01:00
<p>Hinter dem zweiten Gleichheitszeichen kann die Nummer eines Arbeitsbondruckers
des jeweiligen Typs (Speise/Getränk) angegeben werden.
<p>Nach dem dritten Gleichheitszeichen kann die Priorität der Druckerauswahl angegeben werden: RD bedeitet, dass der Raumdrucker höhere Priorität als der Kategoriedrucker besitzt (Default), anderenfalls der Kategoriedrucker (KD)
2020-11-19 22:59:47 +01:00
<h3>Extras</h3>
<p>Extras werden mit einem Ausrufezeichen am Zeilenanfang deklariert. Nach dem Namen und der (vom OrderSprinter vergebenenen ID, die also
2020-11-19 23:12:39 +01:00
nicht vom Benutzer angegeben werden muss), können nach einem Doppelkreuz (#) weitere Parameter angegeben werden:
<ul>
<li>der Preis, den das Extra kostet</li>
<li>die maximale Anzahl, die dieses Extra einem Produkt zugewiesen werden darf</li>
<li>die Produkte, die mit diesem Extra verkauft werden dürfen. Zur Angabe eines Produktes kann man dessen Name oder in Klammern dessen ID verwenden.</li>
</ul>
<p> Ein Eintrag hat demnach folgendes Aussehen (Beispiel):
2020-11-19 22:59:47 +01:00
<pre>
2020-11-19 23:12:39 +01:00
!Extraname (ID:8) # Preis: 12,34 ; Max: 8; Zugewiesen: (45),Produktname,(49),(50)
2020-11-19 22:59:47 +01:00
</pre>
<p>Dabei gilt:
<ul>
<li>Die ID-Angabe ist optional (kann weggelassen werden). Wenn OrderSprinter diese hinzugefügt hat, sollte man sie
beibehalten. Ein selbt erstellter neuer Extras-Eintrag sollte keine ID-Nummer enthalten.
<li>Der Wert 12,34 ist der Aufpreis.
<li>Hinter dem Semikolon wurden Komma-getrennt Produkte angegeben, die mit diesem Extra bestellt werden können, in diesem Fall
2020-11-19 23:12:37 +01:00
die Produkte mit der ID 45, 49 und 50 sowie ein Produkt mit dem Namen <i>Produktname</i>.
2020-11-19 22:59:47 +01:00
</ul>
2020-11-19 23:12:37 +01:00
<p><i>Hinweis:</i> Gibt es den Produktnamen mehrfach, wird das Extra auch mehrfach zugewiesen.
2020-11-19 22:59:47 +01:00
<h3>Reservierte Buchstaben</h3>
<p>Aus der beschriebenen Syntax ergibt sich, dass einige Buchstaben eine spezielle Bedeutung haben und nicht überall
verwendet werden dürfen:
<ul>
<li><b>#</b>: Ein Doppelkreuz zu Beginn einer Zeile leitet einen Kommentar ein, d.h. diese Zeile wird nicht interpretiert. Innerhalb
einer Zeile trennt das Doppelkreuz die Grundeigenschaften eines Produkts von den optionalen Eigenschaften.
<li><b>=</b>: Das Gleichheitszeichen hat bei einem Kategorieneintrag die Funktion eines Trennzeichens.
<li><b>;</b>: Das Semikolon wird bei einem Produkteintrag als Trenner der Eigenschaften verwendet.
<li><b>!</b>: Das Ausrufezeichen am Anfang einer Zeile leitet die Deklaration eines Extras ein.
</ul>
</div>
2020-11-19 22:47:44 +01:00
<textarea cols="40" rows="8" name="speiseninfo" id="speiseninfo" data-theme="a" style='font-family:"monospace"'></textarea>
2020-11-19 23:02:57 +01:00
2020-11-19 22:47:44 +01:00
</div> <!-- Speisekarte -->
<p>
<div data-role="collapsible" data-collapsed="true" data-theme="f" data-content-theme="c" class="noprint">
<p><h3><span id="taxestxt">Umsatzsteuer-Zuw.</span></h3></p>
<p id="taxesassdescr"></p>
<p id="taxesassdescr2"></p>
<p>
<table>
2020-11-19 23:00:31 +01:00
<tr><td><span id=taxesfoodtxt></span> (%): <td>
<select id='taxesassfood'>
<option value='1'>Steuersatz 'Normal'</option>
<option value='2'>Steuersatz 'Ermäßigt-1'</option>
<option value='3'>Steuersatz 'Ermäßigt-2'</option>
<option value='4'>Steuersatz 'Besonders'</option>
</select>
</tr>
<tr><td><span id=taxesdrinkstxt></span> (%): <td>
<select id='taxesassdrinks'>
<option value='1'>Steuersatz 'Normal'</option>
<option value='2'>Steuersatz 'Ermäßigt-1'</option>
<option value='3'>Steuersatz 'Ermäßigt-2'</option>
<option value='4'>Steuersatz 'Besonders'</option>
</select>
</tr>
2020-11-19 22:47:44 +01:00
<tr><td colspan=2><button type="submit" data-theme="e" id="taxass_apply"><span id=taxapplytxt>Anwenden</span></button></tr>
</table>
</p>
</div>
</p>
<div data-role="collapsible" data-collapsed="true" data-theme="f" data-content-theme="c" class="noprint" id="dbactionroomconfig">
<p><h3><span id="roomplantxt">Raumplan</span></h3></p>
<form>
2020-11-19 23:10:06 +01:00
2020-11-19 22:47:44 +01:00
<div id=roomfield>
</div>
</form>
<div id="tablemap" class="tmcontainer noprint" style="background-color:white;border-radius: 25px;border: 2px solid #8AC007;padding: 20px;width:95%; ">
<div id="tablemaps">Inhalt</div>
<hr>
<div id=tablenav></div>
<form id="tablemapimgform" enctype="multipart/form-data" method="POST" data-ajax="false">
<input name="tmimgfile" id="tmimgfile" type="file" />
2020-11-19 23:12:32 +01:00
<div class="ui-grid-a noprint">
2020-11-19 22:47:44 +01:00
<div class="ui-block-a"><button type="submit" data-theme="f" id="tmimgbtn"><span id=tmimgbtntxt>Laden</span></button></div>
<div class="ui-block-b grid_right"><button type="submit" data-theme="d" id="tmimgdelbtn"><span id=tmimgdelbtntxt>Löschen</span></button></div>
</div><!-- /grid-a -->
</form>
<p id=tmhint></p>
<p>
<img id="mapimgpart" style="width:100%;" src=img/empty-room.png />
</p>
</div>
</div>
2020-11-19 22:59:47 +01:00
2020-11-19 22:47:44 +01:00
<p>
<div data-role="collapsible" data-collapsed="true" data-theme="f" data-content-theme="c" class="noprint" id="dbactionbakrest">
2020-11-19 23:02:19 +01:00
<p><h3><span id="bakrestxt">Sicherung und Import</span></h3>
2020-11-19 23:12:16 +01:00
<div id="backuphinttxt_de" style="display:none;">
<b>Hinweis:</b>
<p>Es gibt verschiedene Möglichkeiten, den Inhalt der Datenbank zu sichern:
<ul>
<li><i>Konfiguration:</i> Nur die Konfiguration (Speisekarte, Benutzer, Einstellungen, Raumplan usw.) werden gesichert.
<li><i>Konfiguration + Gäste:</i> Die Sicherung enthält zusätzlich zur Konfiguration auch die Informationen über die Gäste (Personen, Gruppen, Aufenthalte)
</ul>
<p>Möchte man auch die Umsatzdaten sichern, so muss man eine "Alles"-Sicherungsart auswählen. Dabei stehen folgende Möglichkeiten zur Verfügung:
<ul>
<li><i>Alles ohne Logs:</i> Die Konfiguration und Gästeinformation werden gesichert. Die Protokolldaten (hauptsächlich Informationen über die Abarbeitung von Druckjobs) werden nicht abgespeichert. Dies ist die Sicherung, die man durchführen sollte, wenn man zu einem anderen Zeitpunkt eine komplette Wiederherstellung vornehmen möchte. Diese Sicherungsart wird auch standardmäßig verwendet, wenn man über ein Skript eine Sicherung veranlasst.
<li><i>Alles mit Logs:</i> Diese Sicherung enthält alle Daten inklusive der Protokolle. Die Protokolle werden nur benötigt, wenn man bestimmte Fehler erkennen möchte, z.B. fehlgeschlagene Druckjobs. Dieser Export kann vom Entwickler angefragt werden, für den typischen Benutzer ist diese Sicherungsart nicht von Interesse.
2020-11-19 23:12:43 +01:00
<li><i>Export Debug-Daten:</i> Dieser Datenexport kann dem Entwickler helfen, Fehler oder Supportanfragen zu beantworten.</li>
2020-11-19 23:12:16 +01:00
</ul>
<p>Üblicherweise wird die Sicherungsdatei zum Download an den Browser übermittelt. Zusätzlich kann man jedoch auch über die Sicherungsart "Alles ohne Logs" auf einen ftp-Server hochladen, wenn der Zugang zum ftp-Server zuvor in der Konfiguration festgelegt wurde.
<p>Die Sicherung besteht standardmäßig aus einer textbasierten Datei (json-Format). Wurde in der Konfiguration ein tmp-Verzeichnis eingetragen, so werden die Sicherungsdaten als zip-File erstellt.
<p>Wenn der Download der Sicherungsdatei nicht funktioniert, wurde wahrscheinlich der Wert memory_limit in der PHP-Konfiguration des Servers nicht genügend groß konfiguriert.
<p>Beim Import kann eine Sicherung, egal welcher Art, wieder zurückimportiert werden. Import-Aktionen werden protokolliert und sind für Betriebsprüfer einsehbar.
</div>
<div id="backuphinttxt_en" style="display:none;">
<b>Note:</b>
<p>There are several ways to save the contents of the database:
<p><ul>
<li><i>Configuration:</i> Only the configuration (menu, users, settings, room map, etc.) is saved.
<li><i>Configuration + Guests:</i> In addition to the configuration, the backup also contains the information about the guests (persons, groups, stays).
</ul>
<p>If you also want to save the sales data, you must select an "All" backup type. The following options are available:
<ul>
<li><i>All without logs:</i> The configuration and guest information are saved. The log data (mainly information about the processing of print jobs) is not saved. This is the type of backup you should perform if you want to perform a complete recovery at another time. This type of backup is also used by default if you initiate a backup using a script.
<li><i>All with logs:</i> This backup contains all data including the logs. The logs are only needed if you want to detect certain errors, e.g. failed print jobs. This export can be requested by the developer, for the typical user this type of backup is not of interest.
</ul>
<p>Usually the backup file is sent to the browser for download. In addition, you can use the backup type "All without logs" to upload to an ftp server, if the access to the ftp server was previously defined in the configuration.
<p>By default, the backup consists of a text-based file (json format). If a tmp directory was specified in the configuration, the backup data is created as a zip file.
<p>If the download of the backup file does not work, the value memory_limit in the PHP configuration of the server was probably not configured large enough.
<p>A backup of any kind can be re-imported. Import actions are logged and can be viewed by auditors.
</div>
<div id="backuphinttxt_es" style="display:none;">
<b>Pista:</b>
<p>Existen varias formas de realizar copias de seguridad de los contenidos de la base de datos:
<ul>
<li><i>Configuración:</i> Sólo se guarda la configuración (menú, usuarios, ajustes, plano de la sala, etc.).
<li><i>Configuración + Clientes</i> Además de la configuración, la copia de seguridad también contiene la información sobre los huespedes (personas, grupos, estancias).
</ul>
<p>Si también desea guardar los datos de ventas, debe seleccionar un tipo de copia de seguridad "Todos". Las siguientes opciones están disponibles:
<p><ul>
<li><i>Todo sin protocolo</i> Se guardan la configuración y la información del huésped. Los datos de log (principalmente la información sobre el tratamiento de las acciones de impresión) no se graban. Esta es la copia de seguridad que debe realizar si desea realizar una recuperación completa en otro momento. Este tipo de copia de seguridad también se utiliza de forma predeterminada cuando se inicia una copia de seguridad a través de un script.
<li><i>Todo y protocolo</i> Esta copia de seguridad contiene todos los datos, incluidos los registros. Los logs sólo son necesarios si desea detectar ciertos errores, por ejemplo, trabajos de impresión fallidos. Esta exportación puede ser solicitada por el desarrollador, para el usuario típico este tipo de backup no es de su interés.
</ul>
<p>Por lo general, el archivo de copia de seguridad se envía al navegador para download. Además, también puede upload en un servidor ftp utilizando el tipo de copia de seguridad "All without logs" si el acceso al servidor ftp se ha especificado previamente en la configuración.
<p>Por defecto, la copia de seguridad consiste en un archivo basado en texto (formato json). Si se introdujo un directorio tmp en la configuración, los datos de la copia de seguridad se crean como un archivo zip.
<p>Si el download del archivo de copia de seguridad no funciona, el valor memory_limit en la configuración PHP del servidor probablemente no estaba configurado lo suficientemente grande.
<p>Durante la importación, se puede volver a importar una copia de seguridad de cualquier tipo. Las acciones de importación se registran y pueden ser vistas por los auditores.
</div>
2020-11-19 23:12:43 +01:00
<p><div id="backuparea">
2020-11-19 22:47:44 +01:00
<form action='dummy'>
2020-11-19 23:12:43 +01:00
<button type="submit" data-theme="f" id="backup_btnall"><span id="backupbtntxtall" style="font-size:larger;font-style:oblique;">Sicherung</span></button>
2020-11-19 22:47:44 +01:00
<button type="submit" data-theme="f" id="backup_btn"><span id="backupbtntxt">Sicherung</span></button>
2020-11-19 23:02:19 +01:00
<button type="submit" data-theme="f" id="backupguests_btn"><span id="backupguestsbtntxt">Sicherung</span></button>
2020-11-19 23:00:35 +01:00
<button type="submit" data-theme="f" id="backup_btnalllogs"><span id="backupbtntxtalllogs">Sicherung</span></button>
2020-11-19 23:03:43 +01:00
<button type="submit" data-theme="f" id="backup_btnftpall"><span id="backupbtnftptxtall">FTPSicherung</span></button>
2020-11-19 23:12:43 +01:00
<button type="submit" data-theme="f" id="backup_debugdata"><span id="backupbtndebugdata">Debugdaten</span></button>
2020-11-19 22:47:44 +01:00
</form>
</div>
<div id=restorearea>
2020-11-19 23:12:50 +01:00
<div id="importturboarea">
<label for="importturboslider" id="importturbosliderlabel">Import-Turbo: <span id="importturbohint">Hinweis</span></label>
<input type="range" name="importturboslider" id="importturboslider" value="5" min="1" max="20" data-theme="b" data-track-theme="e" /><br>
</div>
2020-11-19 23:03:35 +01:00
<span id=uplfiletxt>Diese Datei hochladen (<i>importieren</i>):</span>
<div id="restorefilearea">Upload</div>
<div id="restorestatus"></div>
2020-11-19 23:10:26 +01:00
<div id="waitimportinprogress" style="display:none;">Warten...</div>
2020-11-19 22:47:44 +01:00
</div>
2020-11-19 22:59:47 +01:00
2020-11-19 23:12:16 +01:00
<p><span id="golivehinttxt_de" style="display:none;">
Der Button "Starte Produktivbetrieb" behält die Konfiguration bei, löscht jedoch alle Umsatzdaten, so dass man anschließend wieder mit einem frischen System beginnen kann.
</span>
<span id="golivehinttxt_en" style="display:none;">
The button "Start productive mode" keeps the configuration, but deletes all sales data, so that you can start again with a fresh system.
</span>
<span id="golivehinttxt_es" style="display:none;">
El botón "Empezar trabajar realmente" mantiene la configuración, pero borra todos los datos de ventas, para que pueda empezar de nuevo con un nuevo sistema.
</span>
2020-11-19 22:59:47 +01:00
<p><button type="submit" data-theme="d" id="golive"><span id="golivetxt">Starte Produktivbetrieb</span></button>
2020-11-19 22:47:44 +01:00
</div>
2020-11-19 23:02:33 +01:00
<p><div data-role="collapsible" data-collapsed="true" data-theme="f" data-content-theme="c" class="noprint" id="updatearea">
<p><h3><span id="updatetxt">Update</span></h3>
<span id='updatehinttxt'>Update-Hinweis...</span>
<p><div>
<form action='dummy'>
<span id="availableversiontxt">Verf.Version</span>: <span id="availversion">?</span><br>
<span id="urltxt">URL</span>:
<input id="urlpath" type="text" value="" style="background:white;" disabled /><br>
<button type="submit" data-theme="f" id="update_btn"><span id="updatebtntxt">Upd</span></button><br>
<div id="sliderarea" style="display:none;">
<label for="updateslider" id="updateprogresslabel">Fortschr.</label> <span id="updatestatus"></span>
<input type="range" name="updateslider" id="updateslider" value="0" min="0" max="100" data-theme="b" data-track-theme="e" class="ui-hidden-accessible" />
</div>
</form>
</div>
</div>
2020-11-19 22:47:44 +01:00
2020-11-19 23:03:07 +01:00
<p><div data-role="collapsible" data-collapsed="true" data-theme="f" data-content-theme="c" class="noprint" id="dbproparea">
<p><h3><span id="dbproptxt">Tabellen...</span></h3>
<p><div id="dbtablearea"></div>
</div>
2020-11-19 22:47:44 +01:00
<p>
<form action="dummy" method="GET">
2020-11-19 23:02:19 +01:00
<!-- <button type="submit" data-theme="e" id="initreceiptbutton"><span id="initreceiptbtntxt">Startbeleg</span></button>-->
2020-11-19 23:00:46 +01:00
<button type="submit" data-theme="d" id="optimize_btn"><span id="optimizebtntxt">Datenbank optimieren</span></button>
<div id="optimizehinttxt"></div><br>
2020-11-19 23:12:46 +01:00
<button type="submit" data-theme="d" id="insertdemodata_btn"><span id="insertdemodatabtntxt">Demo-Daten</span></button>
<div id="insertdemodatahinttxt"></div><br>
2020-11-19 23:00:46 +01:00
<button type="submit" data-theme="d" id="shutdown_btn"><span id="shutdownbtntxt">Shutdown</span></button>
<div id="shutdownhinttxt"></div>
2020-11-19 22:47:44 +01:00
</form>
2020-11-19 23:00:46 +01:00
2020-11-19 22:47:44 +01:00
</div> <!-- collapsible Datenbank -->
<div id="tableforprint" class="printpart">Wenn dieser Text dargestellt wird, liegt ein Fehler vor!</div>
2020-11-19 22:59:47 +01:00
<div id="printserverdownloadpart" style="display:none;">
2020-11-19 23:03:35 +01:00
<a class="noprint" href="OrderSprinterPrintserver.exe" data-role="button" data-icon="arrow-d" data-ajax="false">Download Windows-Printserver</a>
2020-11-19 22:59:47 +01:00
</div> <!-- printerdownloadpart -->
2020-11-19 23:11:29 +01:00
<div data-role="footer" data-theme="b" id="thefooterr" class="noprint" style="background-color:black;">
2020-11-19 22:47:44 +01:00
<div class="ui-grid-a">
<div class="ui-block-a userinfo" id="loggedinuser"></div>
<div class="ui-block-b grid_right" id="versioninfo"></div>
</div><!-- /grid-a -->
</div> <!-- footer -->
</div>
2020-11-19 22:59:47 +01:00
<div data-role="popup" id="nochangeddata" data-overlay-theme="a" style="max-width:70%;" class="ui-corner-all">
2020-11-19 22:47:44 +01:00
<div data-role="header" class="ui-corner-top">
<h1>Keine Datenänderung</h1>
</div>
<a href="#" data-rel="back" data-role="button" data-theme="a" data-icon="delete" data-iconpos="notext" class="ui-btn-right"></a>
<div data-role="content" class="ui-corner-bottom ui-content">
<p>Es wurden keine Daten geändert.</p>
</div>
</div> <!-- popup for reading sample queue data -->
2020-11-19 23:10:06 +01:00
<div data-role="popup" id="progresspopup" data-overlay-theme="a" style="max-width:70%;" class="ui-corner-all">
<div data-role="header" class="ui-corner-top">
<h1>Aktion wird durchgeführt</h1>
</div>
<a href="#" data-rel="back" data-role="button" data-theme="a" data-icon="delete" data-iconpos="notext" class="ui-btn-right"></a>
<div data-role="content" class="ui-corner-bottom ui-content">
<p><img id="progressimginpopup" src="php/3rdparty/images/ajax-loader.gif" /></p>
</div>
</div> <!-- popup for reading sample queue data -->
2020-11-19 22:47:44 +01:00
</div>
<!-- Dialog page -->
<div data-role="dialog" id="sure" data-title="Aktion">
<div data-role="content">
<h3 class="sure-1">?</h3>
<p class="sure-2">?</p>
<a href="#" class="sure-do" data-role="button" data-theme="b" data-rel="back">Ja</a>
<a href="#" data-role="button" data-theme="c" data-rel="back">Nein</a>
</div>
</div>
</body>
2020-11-19 23:10:09 +01:00
</html>