OrderSprinter 1.3.18
This commit is contained in:
parent
3cd4381ce4
commit
c12cd500e3
Binary file not shown.
|
@ -85,7 +85,7 @@ class Installer {
|
||||||
}
|
}
|
||||||
Database::dropTables($pdo);
|
Database::dropTables($pdo);
|
||||||
Database::createEmptyTables($pdo, $prefix);
|
Database::createEmptyTables($pdo, $prefix);
|
||||||
Database::setVersion($pdo,$prefix,"1.3.17");
|
Database::setVersion($pdo,$prefix,"1.3.18");
|
||||||
Database::setAccessPassword($pdo,$prefix,$adminpass);
|
Database::setAccessPassword($pdo,$prefix,$adminpass);
|
||||||
Database::setRefreshRate($pdo,$prefix,"5"); // default: 5 times per hour
|
Database::setRefreshRate($pdo,$prefix,"5"); // default: 5 times per hour
|
||||||
return array("status" => "OK","msg" => "Installation successful");
|
return array("status" => "OK","msg" => "Installation successful");
|
||||||
|
|
Binary file not shown.
|
@ -5,7 +5,7 @@
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Stefan Pichel">
|
<meta name="author" content="Stefan Pichel">
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.17">
|
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.18">
|
||||||
|
|
||||||
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
||||||
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Stefan Pichel">
|
<meta name="author" content="Stefan Pichel">
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.17">
|
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.18">
|
||||||
|
|
||||||
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
||||||
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
<H2>Bestellung aufnehmen</H2>
|
||||||
|
|
||||||
|
<p>Bei der Bestellaufnahme wählt der Kellner die gewünschten Produkte aus. Dabei kann er <b>vor</b> dem Anklicken eines Produktes folgende Angaben machen:
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Anzahl: Über den Plus- und Minus-Button kann er die Anzahl des Produktes wählen. Wird das Produkt anschließend angeklickt, so wird es mit der gewählten Anzahl in die Liste 'Neue Orders' eingefügt.
|
||||||
|
<li>Bemerkung: Es kann ein freier Kommentar eingegeben oder ein Kommentar aus einer vordefinierten Liste (in der Angebotsansicht einstellbar) ausgewählt werden.
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p>Folgende Buttons können je nach festgelegtem Arbeitsablauf zur Verfügung stehen:
|
||||||
|
<ul>
|
||||||
|
<li><i>Tischwechsel</i>: Produkt des gewählten Tisches können auf einen anderen Tisch umgebucht werden. Der Tischwechsel kann nicht von oder zu Außer-Haus vorgenommen werden.
|
||||||
|
<li><i>Bestellung senden</i>: Die Bestellung wird an den Server übertragen. Die Produkte erscheinen in der Küchen- und/oder Baransicht, wenn die Produktkategorien der bestellten Produkte entsprechend konfiguriert sind.
|
||||||
|
<li><i>Kasse</i>: Die Bestellung wird an den Server übermittelt. Je nach Konfiguration wird auch Arbeitsbons erstellt. Es wird sofort in die Kassenansicht für den gewählten Tisch gewechselt.
|
||||||
|
<li><i>Arbeitsbon</i>: Die Bestellung wird an den Server übermittelt und Arbeitsbons gedruckt. Der Benutzer bleibt in der Bestellansicht.
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p>Abänderung vor der Übermittlung an den Server: Die Bestellung wird vor dem Versand an den Server in einer Liste 'Neue Orders' gespeichert. Die Produkteinträge können angeklickt und je nach Rechten des eingebuchten Benutzers verändert werden.
|
|
@ -0,0 +1,16 @@
|
||||||
|
<h2>Kasse</h2>
|
||||||
|
|
||||||
|
<p>In der Kassenansicht kann der Benutzer folgende Aktionen durchführen:
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><i>Tische abrechnen</i>: Nach Auswahl eines Tisches kann er die Produkte entweder einzeln oder mit einem Klick auf den Kassenbon übertragen. Anschließend kann er entscheiden, ob ein Bon gedruckt werden soll. Je nach globaler Konfiguration stehen verschiedene Zahlungswege zur Auswahl.
|
||||||
|
<li><i>Einlagen</i>: Er kann festlegen, wieviel Geld er in seine <i>persönliches</i> Portemonnaie einlegen möchte, z.B. Wechselgeld vor Betriebsbeginn
|
||||||
|
<li><i>Auslagen</i>: Ebenso kann er auch angeben, wieviel Geld er wieder aus seinem Portemonnaie entnommen hat.
|
||||||
|
<li><i>Einnahmen</i>: Er kann jederzeit überprüfen, wieviel Geld er entsprechend der Ein-/Auslagen und der Abrechnungsvorgänge in seinem Portemonnaie haben sollte.
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p>Wird ein Tisch abgerechnet, so kann der eingeblendete Kassenbon in der Mobilansicht durch Anklicken vergrößert dargestellt werden. Das kann sinnvoll sein, wenn der Gast vor der Abrechnung den Gesamtbetrag sehen möchte. Ein Klick auf den vergrößerten Kassenbon verkleinert diesen wieder.
|
||||||
|
|
||||||
|
<p>Das Format des eingeblendeten Kassenbon kann sich vom Druck auf dem Bondrucker unterscheiden.
|
||||||
|
|
||||||
|
<p><i>Gäste</i>: Es können Rechnungen auch auf in OrderSprinter erfasste Gäste gebucht werden, wenn diese sich entsprechend des gewählten Aufenthaltszeitraums gerade im Restaurant aufhalten könnten. Bei der Auswahl des Zahlungsweg ist 'Gäste' anzuklicken und die ersten Buchstaben des Gastes einzugeben. Anschließend erscheint eine Drop-Down-Auswahlliste der Gäste, die auf die Eingabe passen.
|
|
@ -0,0 +1,10 @@
|
||||||
|
<h2>Kassenbons</h2>
|
||||||
|
|
||||||
|
<p>Kassenbons werden bei einer Abrechnung immer erstellt, auch wenn diese nicht ausgedruckt werden. Erstellte Kassenbons können jederzeit erneut gedruckt werden.
|
||||||
|
|
||||||
|
<p>Auch Ein- und Auslagen werden intern als Kassenbons gespeichert, jedoch nicht in der Kassenbonansicht dargestellt. Ein-/Auslagen-Bons können jedoch über den Datenexport in der Verwaltungsansicht eingesehen werden.
|
||||||
|
|
||||||
|
<p>Sind Kassenbons noch nicht in einem Tagesabschluss erfasst, so können sie nach Eingabe eines Stornocodes storniert werden. Es wird dabei ein negativer Kassenbon erzeugt.
|
||||||
|
|
||||||
|
<p>Ähnlich erfolgt die Umwandlung in einen Bewirtungsbeleg: Der ursprüngliche Kassenbon wird storniert und ein neuer Bon als Bewirtungsbeleg erstellt. Diese Aktion ist auch ohne Eingabe eines Stornocodes möglich.
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
<H2>Ansichten</H2>
|
||||||
|
|
||||||
|
<p>Oben rechts befindet sich das Hauptmenü, über welches die verschiedenen Ansichten aufgerufen werden können. Die auswählbaren Ansichten hängen von den Rechten des eingebuchten Benutzers und dem gewählten Arbeitsablauf ab.
|
||||||
|
|
||||||
|
<p>Üblicherweise haben Kellner folgende Ansichten in der Mobilansicht zur Auswahl:
|
||||||
|
<ul>
|
||||||
|
<li><i>Bestellung</i>: In dieser Ansicht kann die Bestellaufnahme vorgenommen werden. Sie beginnt mit der Raum- und der Tischauswahl. Anschließend können die Produkte ausgewählt werden. Je nach Festlegung in der persönlichen Einstellungsseite wird nach der Auswahl eines Produktes wieder auf die oberste Auswahlwahlebene zurückgesprungen oder die Auswahl verbleibt in der Kategorie.
|
||||||
|
<li><i>Kasse</i>: Um einen Tisch abzurechnen, kann über den Button 'Kasse' direkt zur Abrechnung des gewählten Tisches gesprungen werden. Alternativ ist die Kassenansicht auch über das Hauptmenü erreichbar. Im zweiten Fall muss der Kellner noch den abzurechnenden Tisch auswählen und nach Abrechnung eines Tisches bleibt er in der Kassenansicht statt wie im ersten Fall wieder in die Bestellansicht zurückzuwechseln.
|
||||||
|
<li><i>Kassenbons</i>: In der Ansicht 'Kassenbons' kann der Kellner die erstellten Kassenbons einsehen, erneut drucken oder in Bewirtungsbelege umändern. Nach Eingabe eines Stornocodes kann er auch Kassenbons stornieren, wenn sie noch nicht in einem Tagesabschluss erfasst wurden.
|
||||||
|
<li><i>Einstellungen</i>: In der Einstellungsseite kann jeder Benutzer persönliche Einstellungen vornehmen (z.B. Sprache).
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p>In der Desktop-Ansicht werden die Bestell- und Kassenansicht zur <i>Kellneransicht</i> zusammengefasst.
|
||||||
|
|
||||||
|
<p>Verfügt der Benutzer über Verwaltungsrechte oder das Recht, einen Tagesabschluss durchzuführen, sieht er auch die <i>Verwaltungsansicht</i>.
|
||||||
|
|
||||||
|
<p>Immer sichtbar ist die <i>Feedbackansicht</i>. In dieser Ansicht kann der Anwender dem Programmautor ein Nachricht zukommen lassen. Das funktioniert jedoch nur, wenn der OrderSprinter-Server einen Zugang zum Internet besitzt und der Administrator die Email-Konfiguration vorgenommen hat.
|
|
@ -4,7 +4,7 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.17">
|
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.18">
|
||||||
|
|
||||||
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
||||||
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
||||||
|
|
|
@ -0,0 +1,82 @@
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<title>OrderSprinter Hilfe</title>
|
||||||
|
<meta http-equiv=“cache-control“ content=“no-cache“>
|
||||||
|
<meta http-equiv=“pragma“ content=“no-cache“>
|
||||||
|
<meta http-equiv=“expires“ content=“0″>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="author" content="Stefan Pichel">
|
||||||
|
|
||||||
|
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v={VERSION}">
|
||||||
|
<link rel="stylesheet" type="text/css" href="css/numfield.css?v={VERSION}">
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="php/3rdparty/orderstyle/orderstyle.min.css" />
|
||||||
|
<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" />
|
||||||
|
<script src="php/3rdparty/jquery-2.0.3.min.js"></script>
|
||||||
|
<script src="php/3rdparty/jquery.mobile-1.4.0.min.js"></script>
|
||||||
|
<script src="utilities.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<script>
|
||||||
|
|
||||||
|
$(document).on("pageinit", "#help-page", function () {
|
||||||
|
initializeMainMenu("#modulemenu");
|
||||||
|
hideMenu();
|
||||||
|
$.ajaxSetup({ cache: false });
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div data-role="page" id="help-page">
|
||||||
|
<div data-role="panel" id="modulepanel" data-position="right" data-display="overlay">
|
||||||
|
<ul data-role="listview" id="modulemenu" data-divider-theme="a" data-inset="true">
|
||||||
|
<li data-role="list-divider" data-theme="b" data-role="heading">Hauptmenü</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /panel -->
|
||||||
|
<div data-role="header" data-theme="b" data-position="fixed" id="theheader">
|
||||||
|
<h1>OrderSprinter Hilfe <img src="img/printerstatus.png" class="printerstatus" style="display:none;" /></h1>
|
||||||
|
<div data-type="horizontal" style="top:0px;position:absolute;float:right;z-index:10;display:inline;" align="right" class="ui-btn-right">
|
||||||
|
<a href="#" data-role="button" data-icon="arrow-d" data-ajax="false" id="menuswitch">Hauptmenü</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-role="content">
|
||||||
|
|
||||||
|
<div data-role="collapsible" data-content-theme="c" data-collapsed="true" data-theme="e" >
|
||||||
|
<?php include 'elements/help-views.txt'; ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-role="collapsible" data-content-theme="c" data-collapsed="true" data-theme="e" >
|
||||||
|
<?php include 'elements/help-ordering.txt'; ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-role="collapsible" data-content-theme="c" data-collapsed="true" data-theme="e" >
|
||||||
|
<?php include 'elements/help-paydesk.txt'; ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-role="collapsible" data-content-theme="c" data-collapsed="true" data-theme="e" >
|
||||||
|
<?php include 'elements/help-receipts.txt'; ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div data-role="footer" data-theme="b" id="thefooterr">
|
||||||
|
<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>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Stefan Pichel">
|
<meta name="author" content="Stefan Pichel">
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.17">
|
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.18">
|
||||||
<link rel="stylesheet" type="text/css" href="css/numfield.css?v=1.3.17">
|
<link rel="stylesheet" type="text/css" href="css/numfield.css?v=1.3.18">
|
||||||
|
|
||||||
<link rel="stylesheet" href="php/3rdparty/orderstyle/orderstyle.min.css" />
|
<link rel="stylesheet" href="php/3rdparty/orderstyle/orderstyle.min.css" />
|
||||||
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
||||||
|
@ -206,7 +206,7 @@ function handleResultOfInstallCheck(is_installed) {
|
||||||
if (is_installed == "Yes") {
|
if (is_installed == "Yes") {
|
||||||
useInstallation();
|
useInstallation();
|
||||||
} else {
|
} else {
|
||||||
setTimeout(function(){document.location.href = "install.html?v=1.3.17"},500);
|
setTimeout(function(){document.location.href = "install.html?v=1.3.18"},500);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -725,7 +725,7 @@ $(document).ready(function() {
|
||||||
<tr id=updateline>
|
<tr id=updateline>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
<td align=center>
|
<td align=center>
|
||||||
<button id="updatebtn">Update -> 1.3.17</button>
|
<button id="updatebtn">Update -> 1.3.18</button>
|
||||||
<span id="updateinprogresstxt" style="display:none;">Update... bitte warten.</span>
|
<span id="updateinprogresstxt" style="display:none;">Update... bitte warten.</span>
|
||||||
</td>
|
</td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
|
|
|
@ -2313,6 +2313,32 @@ return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function updateUserTable1317_1318($prefix, $version, $dbname) {
|
||||||
|
$pdo = $this->pdo;
|
||||||
|
try {
|
||||||
|
if ($version != "1.3.17") {
|
||||||
|
$ret = $this->updateUserTable1316_1317($prefix, $version, $dbname);
|
||||||
|
if (!$ret) {
|
||||||
|
echo "Version update v1.3.16 to 1.3.17 not successful.";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
DbUtils::overrulePrefix($prefix);
|
||||||
|
|
||||||
|
$sql = "INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL,?,?)";
|
||||||
|
$stmt = $pdo->prepare($this->basedb->resolveTablenamesInSqlString($sql));
|
||||||
|
$stmt->execute(array('startprodsearch','3'));
|
||||||
|
|
||||||
|
$this->updateVersion($pdo, '1.3.18');
|
||||||
|
|
||||||
|
return true;
|
||||||
|
} catch (PDOException $e) {
|
||||||
|
echo "Error in v1.3.17 to 1.3.18: $e";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
function setVersion($prefix,$theVersion) {
|
function setVersion($prefix,$theVersion) {
|
||||||
$pdo = $this->pdo;
|
$pdo = $this->pdo;
|
||||||
|
@ -2439,7 +2465,7 @@ $this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VAL
|
||||||
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'billlanguage', $billlanguage)");
|
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'billlanguage', $billlanguage)");
|
||||||
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'currency', '$currency')");
|
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'currency', '$currency')");
|
||||||
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'receiptfontsize', '12')");
|
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'receiptfontsize', '12')");
|
||||||
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'version', '1.3.17')");
|
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'version', '1.3.18')");
|
||||||
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'paymentconfig', '0')");
|
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'paymentconfig', '0')");
|
||||||
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'remoteaccesscode', null)");
|
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'remoteaccesscode', null)");
|
||||||
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'decpoint', '$decpoint')");
|
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'decpoint', '$decpoint')");
|
||||||
|
@ -2488,6 +2514,7 @@ $this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VAL
|
||||||
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'updateurl', 'http://www.ordersprinter.de/update')");
|
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'updateurl', 'http://www.ordersprinter.de/update')");
|
||||||
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'restaurantmode', '1')");
|
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'restaurantmode', '1')");
|
||||||
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'dblog', '1')");
|
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'dblog', '1')");
|
||||||
|
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'startprodsearch', '3')");
|
||||||
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'returntoorder', '1')");
|
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'returntoorder', '1')");
|
||||||
|
|
||||||
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'discountname1', '')");
|
$this->basedb->doSQL($pdo,"INSERT INTO `%config%` (`id` , `name`, `setting`) VALUES (NULL , 'discountname1', '')");
|
||||||
|
@ -2870,7 +2897,7 @@ $zones[] = $timezone_identifiers[$i];
|
||||||
}
|
}
|
||||||
echo json_encode($zones);
|
echo json_encode($zones);
|
||||||
} else if ($command == 'update') {
|
} else if ($command == 'update') {
|
||||||
$installerVersion = "1.3.17";
|
$installerVersion = "1.3.18";
|
||||||
|
|
||||||
$admin = new InstallAdmin();
|
$admin = new InstallAdmin();
|
||||||
$pdo = $admin->openDbAndReturnPdo($_POST['host'],$_POST['db'],$_POST['user'],$_POST['password']);
|
$pdo = $admin->openDbAndReturnPdo($_POST['host'],$_POST['db'],$_POST['user'],$_POST['password']);
|
||||||
|
@ -2901,7 +2928,7 @@ $supportedVersions = array("1.0.22","1.0.23","1.0.24","1.0.25","1.0.26","1.0.27"
|
||||||
"1.1.18","1.1.19","1.1.20","1.1.21","1.1.22","1.1.23","1.1.24","1.1.25","1.1.26","1.1.27","1.1.28","1.1.29","1.1.30",
|
"1.1.18","1.1.19","1.1.20","1.1.21","1.1.22","1.1.23","1.1.24","1.1.25","1.1.26","1.1.27","1.1.28","1.1.29","1.1.30",
|
||||||
"1.2.0","1.2.1","1.2.2", "1.2.3", "1.2.4","1.2.5","1.2.6","1.2.7","1.2.8","1.2.9","1.2.10","1.2.11","1.2.12","1.2.13","1.2.14","1.2.15","1.2.16","1.2.17",
|
"1.2.0","1.2.1","1.2.2", "1.2.3", "1.2.4","1.2.5","1.2.6","1.2.7","1.2.8","1.2.9","1.2.10","1.2.11","1.2.12","1.2.13","1.2.14","1.2.15","1.2.16","1.2.17",
|
||||||
"1.2.18","1.2.19","1.2.20","1.2.21","1.2.22","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.3.8","1.3.9","1.3.10","1.3.11","1.3.12",
|
"1.2.18","1.2.19","1.2.20","1.2.21","1.2.22","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.3.8","1.3.9","1.3.10","1.3.11","1.3.12",
|
||||||
"1.3.13","1.3.14","1.3.15","1.3.16"
|
"1.3.13","1.3.14","1.3.15","1.3.16","1.3.17"
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!in_array($version, $supportedVersions)) {
|
if (!in_array($version, $supportedVersions)) {
|
||||||
|
@ -2909,7 +2936,7 @@ echo json_encode("Quellversion nicht unterstützt");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$ret = $admin->updateUserTable1316_1317($_POST['prefix'], $version, $_POST['db']);
|
$ret = $admin->updateUserTable1317_1318($_POST['prefix'], $version, $_POST['db']);
|
||||||
|
|
||||||
if(session_id() == '') {
|
if(session_id() == '') {
|
||||||
session_start();
|
session_start();
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Stefan Pichel">
|
<meta name="author" content="Stefan Pichel">
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.17">
|
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.18">
|
||||||
|
|
||||||
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
||||||
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Stefan Pichel">
|
<meta name="author" content="Stefan Pichel">
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.17">
|
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.18">
|
||||||
|
|
||||||
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
||||||
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
||||||
|
@ -274,6 +274,7 @@ var MAN_SMTPUSER = ["SMTP-Benutzername","SMTP User name","SMTP usario"];
|
||||||
var MAN_SMTPPASS = ["SMTP-Passwort","SMTP password","SMTP contraseña"];
|
var MAN_SMTPPASS = ["SMTP-Passwort","SMTP password","SMTP contraseña"];
|
||||||
var MAN_SMTPSECURE = ["SMTP-Protokoll","SMTP Protocol","SMTP Seguridad"];
|
var MAN_SMTPSECURE = ["SMTP-Protokoll","SMTP Protocol","SMTP Seguridad"];
|
||||||
var MAN_SMTPPORT = ["SMTP-Port","SMTP Port","SMTP Port"];
|
var MAN_SMTPPORT = ["SMTP-Port","SMTP Port","SMTP Port"];
|
||||||
|
var MAN_STARTPRODSEARCH = ["Starte Produktsuche ab # Zeichen","Start product search after # characters","Initiar busqueda de productos después x letras"];
|
||||||
var MAN_DISCOUNTNAME1 = ["Bezeichnung Rabatt 1","Name of discount 1","Nombre del descuento 1"];
|
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_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"];
|
var MAN_DISCOUNTNAME3 = ["Bezeichnung Rabatt 3","Name of discount 3","Nombre del descuento 3"];
|
||||||
|
@ -452,6 +453,7 @@ var generalValuesSettings = [
|
||||||
["smtppass",MAN_SMTPPASS[lang],"i",0,""],
|
["smtppass",MAN_SMTPPASS[lang],"i",0,""],
|
||||||
["smtpsecure",MAN_SMTPSECURE[lang],"s",6],
|
["smtpsecure",MAN_SMTPSECURE[lang],"s",6],
|
||||||
["smtpport",MAN_SMTPPORT[lang],"i",0,""],
|
["smtpport",MAN_SMTPPORT[lang],"i",0,""],
|
||||||
|
["startprodsearch",MAN_STARTPRODSEARCH[lang],"i",0,""],
|
||||||
["webimpressum",MAN_WEBIMPRESSUM[lang],"i",0,""],
|
["webimpressum",MAN_WEBIMPRESSUM[lang],"i",0,""],
|
||||||
|
|
||||||
["paydeskid",MAN_PAYDESKID[lang],"i",0,""],
|
["paydeskid",MAN_PAYDESKID[lang],"i",0,""],
|
||||||
|
@ -529,6 +531,8 @@ function setLanguage(l) {
|
||||||
$("#smtppasstxt").html(MAN_SMTPPASS[l]);
|
$("#smtppasstxt").html(MAN_SMTPPASS[l]);
|
||||||
$("#smtpporttxt").html(MAN_SMTPPORT[l]);
|
$("#smtpporttxt").html(MAN_SMTPPORT[l]);
|
||||||
|
|
||||||
|
$("#startprodsearchtxt").html(MAN_STARTPRODSEARCH[l]);
|
||||||
|
|
||||||
$("#discountname1txt").html(MAN_DISCOUNTNAME1[l]);
|
$("#discountname1txt").html(MAN_DISCOUNTNAME1[l]);
|
||||||
$("#discountname2txt").html(MAN_DISCOUNTNAME2[l]);
|
$("#discountname2txt").html(MAN_DISCOUNTNAME2[l]);
|
||||||
$("#discountname3txt").html(MAN_DISCOUNTNAME3[l]);
|
$("#discountname3txt").html(MAN_DISCOUNTNAME3[l]);
|
||||||
|
@ -834,6 +838,7 @@ function insertGeneralConfigItems(configResult) {
|
||||||
$("#smtppass").val(values.smtppass);
|
$("#smtppass").val(values.smtppass);
|
||||||
$("#partOfSmtpsecure").html(createSMTPSecure(values.smtpsecure));
|
$("#partOfSmtpsecure").html(createSMTPSecure(values.smtpsecure));
|
||||||
$("#smtpport").val(values.smtpport);
|
$("#smtpport").val(values.smtpport);
|
||||||
|
$("#startprodsearch").val(values.startprodsearch);
|
||||||
|
|
||||||
$("#discountname1").val(values.discountname1);
|
$("#discountname1").val(values.discountname1);
|
||||||
$("#discountname2").val(values.discountname2);
|
$("#discountname2").val(values.discountname2);
|
||||||
|
@ -1661,9 +1666,9 @@ function handleUpdateCheckResult(answer) {
|
||||||
|
|
||||||
var millis=getMillis();
|
var millis=getMillis();
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
document.location.href = "install.html?v=1.3.17&mode=onlyupdate&n=" + millis;
|
document.location.href = "install.html?v=1.3.18&mode=onlyupdate&n=" + millis;
|
||||||
},250);
|
},250);
|
||||||
document.location.href = "install.html?v=1.3.17&mode=onlyupdate&n=" + millis;
|
document.location.href = "install.html?v=1.3.18&mode=onlyupdate&n=" + millis;
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleUpdateReplace(answer) {
|
function handleUpdateReplace(answer) {
|
||||||
|
@ -3231,6 +3236,11 @@ $(document).on("pageinit", "#admin-page", function () {
|
||||||
|
|
||||||
<div id="partOfProminentSearch"></div>
|
<div id="partOfProminentSearch"></div>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
|
||||||
<br><b><u><span id="desktopviewsectiontxt">DESKTOPANSICHT</span></u></b><br><br>
|
<br><b><u><span id="desktopviewsectiontxt">DESKTOPANSICHT</span></u></b><br><br>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Stefan Pichel">
|
<meta name="author" content="Stefan Pichel">
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.17">
|
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.18">
|
||||||
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
||||||
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
||||||
|
|
||||||
|
|
|
@ -830,7 +830,6 @@ class Admin {
|
||||||
}
|
}
|
||||||
|
|
||||||
private function getWaiterSettings() {
|
private function getWaiterSettings() {
|
||||||
|
|
||||||
$pdo = DbUtils::openDbAndReturnPdoStatic();
|
$pdo = DbUtils::openDbAndReturnPdoStatic();
|
||||||
$userLoggedIn = $this->isUserAlreadyLoggedInForPhp();
|
$userLoggedIn = $this->isUserAlreadyLoggedInForPhp();
|
||||||
if (!$userLoggedIn) {
|
if (!$userLoggedIn) {
|
||||||
|
@ -839,7 +838,7 @@ class Admin {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$configItems = join(",",array("'decpoint'","'version'","'cancelunpaidcode'","'tax'","'togotax'","'taxaustrianormal'","'taxaustriaerm1'","'taxaustriaerm2'","'taxaustriaspecial'","'currency'","'workflowconfig'","'prominentsearch'","'discount1'","'discount2'","'discount3'","'discountname1'","'discountname2'","'discountname3'","'waitergopayprint'","'cashenabled'","'returntoorder'","'restaurantmode'"));
|
$configItems = join(",",array("'decpoint'","'version'","'cancelunpaidcode'","'tax'","'togotax'","'taxaustrianormal'","'taxaustriaerm1'","'taxaustriaerm2'","'taxaustriaspecial'","'currency'","'workflowconfig'","'prominentsearch'","'discount1'","'discount2'","'discount3'","'discountname1'","'discountname2'","'discountname3'","'waitergopayprint'","'cashenabled'","'returntoorder'","'restaurantmode'","'startprodsearch'"));
|
||||||
$sql = "select name,setting FROM %config% WHERE name in ($configItems)";
|
$sql = "select name,setting FROM %config% WHERE name in ($configItems)";
|
||||||
$stmt = $pdo->prepare(DbUtils::substTableAlias($sql));
|
$stmt = $pdo->prepare(DbUtils::substTableAlias($sql));
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
|
@ -956,6 +955,7 @@ class Admin {
|
||||||
|
|
||||||
$restaurantmode = CommonUtils::getConfigValueStmt($pdo,$stmt,"restaurantmode",1);
|
$restaurantmode = CommonUtils::getConfigValueStmt($pdo,$stmt,"restaurantmode",1);
|
||||||
$dblog = CommonUtils::getConfigValueStmt($pdo,$stmt,"dblog",1);
|
$dblog = CommonUtils::getConfigValueStmt($pdo,$stmt,"dblog",1);
|
||||||
|
$startprodsearch = CommonUtils::getConfigValueStmt($pdo,$stmt,"startprodsearch",3);
|
||||||
|
|
||||||
$smtphost = "";
|
$smtphost = "";
|
||||||
$smtpauth = 1;
|
$smtpauth = 1;
|
||||||
|
@ -1016,7 +1016,7 @@ class Admin {
|
||||||
"digiprintwork" => $digiprintwork, "memorylimit" => $memorylimit, "updateurl" => $updateurl, "hs3refresh" => $hs3refresh,
|
"digiprintwork" => $digiprintwork, "memorylimit" => $memorylimit, "updateurl" => $updateurl, "hs3refresh" => $hs3refresh,
|
||||||
"paydeskid" => $paydeskid, "aeskey" => $aeskey, "certificatesn" => $certificatesn, "rksvserver" => $rksvserver, "addreceipttoprinter" => $addreceipttoprinter,
|
"paydeskid" => $paydeskid, "aeskey" => $aeskey, "certificatesn" => $certificatesn, "rksvserver" => $rksvserver, "addreceipttoprinter" => $addreceipttoprinter,
|
||||||
"printandqueuejobs" => $printandqueuejobs, "cashenabled" => $cashenabled, "returntoorder" => $returntoorder, "beepcooked" => $beepcooked,"restaurantmode" => $restaurantmode,
|
"printandqueuejobs" => $printandqueuejobs, "cashenabled" => $cashenabled, "returntoorder" => $returntoorder, "beepcooked" => $beepcooked,"restaurantmode" => $restaurantmode,
|
||||||
"discountname1" => $discountname1,"discountname2" => $discountname2,"discountname3" => $discountname3, "dblog" => $dblog,
|
"discountname1" => $discountname1,"discountname2" => $discountname2,"discountname3" => $discountname3, "dblog" => $dblog,"startprodsearch" => $startprodsearch,
|
||||||
"closshowci" => $closshowci, "closshowpaytaxes" => $closshowpaytaxes, "closshowprods" => $closshowprods,"hosttext" => $hosttext,
|
"closshowci" => $closshowci, "closshowpaytaxes" => $closshowpaytaxes, "closshowprods" => $closshowprods,"hosttext" => $hosttext,
|
||||||
"showpayment2" => $showpayment2,
|
"showpayment2" => $showpayment2,
|
||||||
"showpayment3" => $showpayment3,
|
"showpayment3" => $showpayment3,
|
||||||
|
@ -1103,7 +1103,7 @@ class Admin {
|
||||||
);
|
);
|
||||||
|
|
||||||
$valid = false;
|
$valid = false;
|
||||||
if (($view == 'preferences.html') || ($view == 'feedback.html')) {
|
if (($view == 'preferences.html') || ($view == 'feedback.html') || ($view == 'help.php')) {
|
||||||
$valid = true;
|
$valid = true;
|
||||||
} else if ($view == 'manager.html') {
|
} else if ($view == 'manager.html') {
|
||||||
if (($_SESSION['is_admin'] == 1) || ($_SESSION['right_manager'] == 1) || ($_SESSION['right_closing'] == 1)) {
|
if (($_SESSION['is_admin'] == 1) || ($_SESSION['right_manager'] == 1) || ($_SESSION['right_closing'] == 1)) {
|
||||||
|
@ -1118,7 +1118,7 @@ class Admin {
|
||||||
$view = "preferences.html";
|
$view = "preferences.html";
|
||||||
}
|
}
|
||||||
|
|
||||||
echo json_encode($view . "?v=1.3.17");
|
echo json_encode($view . "?v=1.3.18");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1321,26 +1321,27 @@ class Admin {
|
||||||
|
|
||||||
if (!self::isOnlyRatingUser($rights, $right_rating, true)) {
|
if (!self::isOnlyRatingUser($rights, $right_rating, true)) {
|
||||||
if ($_SESSION['modus'] == 0) {
|
if ($_SESSION['modus'] == 0) {
|
||||||
if ($_SESSION['right_waiter']) { $mainMenu[] = array("name" => $waitertxt[$lang], "link" => "waiter.html?v=1.3.17"); };
|
if ($_SESSION['right_waiter']) { $mainMenu[] = array("name" => $waitertxt[$lang], "link" => "waiter.html?v=1.3.18"); };
|
||||||
} else {
|
} else {
|
||||||
if ($_SESSION['right_waiter']) { $mainMenu[] = array("name" => $waiterdesktxt[$lang], "link" => "waiterdesktop.php?v=1.3.17"); };
|
if ($_SESSION['right_waiter']) { $mainMenu[] = array("name" => $waiterdesktxt[$lang], "link" => "waiterdesktop.php?v=1.3.18"); };
|
||||||
}
|
}
|
||||||
if ($_SESSION['right_kitchen']) { $mainMenu[] = array("name" => $kitchentxt[$lang], "link" => "kitchen.html?v=1.3.17"); };
|
if ($_SESSION['right_kitchen']) { $mainMenu[] = array("name" => $kitchentxt[$lang], "link" => "kitchen.html?v=1.3.18"); };
|
||||||
if ($_SESSION['right_bar']) { $mainMenu[] = array("name" => "Bar", "link" => "bar.html?v=1.3.17"); };
|
if ($_SESSION['right_bar']) { $mainMenu[] = array("name" => "Bar", "link" => "bar.html?v=1.3.18"); };
|
||||||
if ($_SESSION['right_supply']) { $mainMenu[] = array("name" => $supplytxt[$lang], "link" => "supplydesk.html?v=1.3.17"); };
|
if ($_SESSION['right_supply']) { $mainMenu[] = array("name" => $supplytxt[$lang], "link" => "supplydesk.html?v=1.3.18"); };
|
||||||
if ($_SESSION['modus'] == 0) {
|
if ($_SESSION['modus'] == 0) {
|
||||||
if ($_SESSION['right_paydesk']) { $mainMenu[] = array("name" => $paydesktxt[$lang], "link" => "paydesk.html?v=1.3.17"); };
|
if ($_SESSION['right_paydesk']) { $mainMenu[] = array("name" => $paydesktxt[$lang], "link" => "paydesk.html?v=1.3.18"); };
|
||||||
}
|
}
|
||||||
if ($_SESSION['right_statistics']) { $mainMenu[] = array("name" => $stattxt[$lang], "link" => "reports.html?v=1.3.17"); };
|
if ($_SESSION['right_statistics']) { $mainMenu[] = array("name" => $stattxt[$lang], "link" => "reports.html?v=1.3.18"); };
|
||||||
if ($_SESSION['right_bill']) { $mainMenu[] = array("name" => $bontxt[$lang], "link" => "bill.html?v=1.3.17"); };
|
if ($_SESSION['right_bill']) { $mainMenu[] = array("name" => $bontxt[$lang], "link" => "bill.html?v=1.3.18"); };
|
||||||
if ($_SESSION['right_products']) { $mainMenu[] = array("name" => $prodtxt[$lang], "link" => "products.html?v=1.3.17"); };
|
if ($_SESSION['right_products']) { $mainMenu[] = array("name" => $prodtxt[$lang], "link" => "products.html?v=1.3.18"); };
|
||||||
if ($_SESSION['right_reservation']) { $mainMenu[] = array("name" => $restxt[$lang], "link" => "reservation.html?v=1.3.17"); };
|
if ($_SESSION['right_reservation']) { $mainMenu[] = array("name" => $restxt[$lang], "link" => "reservation.html?v=1.3.18"); };
|
||||||
if ($_SESSION['right_rating']) { $mainMenu[] = array("name" => $ratingtxt[$lang], "link" => "rating.html?v=1.3.17"); };
|
if ($_SESSION['right_rating']) { $mainMenu[] = array("name" => $ratingtxt[$lang], "link" => "rating.html?v=1.3.18"); };
|
||||||
if ($_SESSION['right_customers']) { $mainMenu[] = array("name" => $customerstxt[$lang], "link" => "customers.html?v=1.3.17"); };
|
if ($_SESSION['right_customers']) { $mainMenu[] = array("name" => $customerstxt[$lang], "link" => "customers.html?v=1.3.18"); };
|
||||||
if ($_SESSION['right_dash']) { $mainMenu[] = array("name" => $dashtxt[$lang], "link" => "dash.php?v=1.3.17"); };
|
if ($_SESSION['right_dash']) { $mainMenu[] = array("name" => $dashtxt[$lang], "link" => "dash.php?v=1.3.18"); };
|
||||||
if ($_SESSION['right_manager'] || $_SESSION['is_admin'] || $_SESSION['right_closing']) { $mainMenu[] = array("name" => $admintxt[$lang], "link" => "manager.html?v=1.3.17"); };
|
if ($_SESSION['right_manager'] || $_SESSION['is_admin'] || $_SESSION['right_closing']) { $mainMenu[] = array("name" => $admintxt[$lang], "link" => "manager.html?v=1.3.18"); };
|
||||||
$mainMenu[] = array("name" => $settingtxt[$lang], "link" => "preferences.html?v=1.3.17");
|
$mainMenu[] = array("name" => $settingtxt[$lang], "link" => "preferences.html?v=1.3.18");
|
||||||
$mainMenu[] = array("name" => "Feedback", "link" => "feedback.html?v=1.3.17");
|
$mainMenu[] = array("name" => "Hilfe", "link" => "help.php?v=1.3.18");
|
||||||
|
$mainMenu[] = array("name" => "Feedback", "link" => "feedback.html?v=1.3.18");
|
||||||
}
|
}
|
||||||
|
|
||||||
$mainMenu[] = array("name" => $logout[$lang], "link" => "logout.php");
|
$mainMenu[] = array("name" => $logout[$lang], "link" => "logout.php");
|
||||||
|
@ -1348,7 +1349,7 @@ class Admin {
|
||||||
|
|
||||||
$waiterMessage = $this->getMessage(null, "waitermessage");
|
$waiterMessage = $this->getMessage(null, "waitermessage");
|
||||||
}
|
}
|
||||||
$mainMenuAndVersion = array ("version" => "OrderSprinter 1.3.17",
|
$mainMenuAndVersion = array ("version" => "OrderSprinter 1.3.18",
|
||||||
"user" => $currentUser,
|
"user" => $currentUser,
|
||||||
"menu" => $mainMenu,
|
"menu" => $mainMenu,
|
||||||
"waitermessage" => $waiterMessage,
|
"waitermessage" => $waiterMessage,
|
||||||
|
@ -1745,6 +1746,7 @@ class Admin {
|
||||||
"smtppass" => array("dbcol" => "smtppass","checknum" => 0),
|
"smtppass" => array("dbcol" => "smtppass","checknum" => 0),
|
||||||
"smtpsecure" => array("dbcol" => "smtpsecure","checknum" => 1),
|
"smtpsecure" => array("dbcol" => "smtpsecure","checknum" => 1),
|
||||||
"smtpport" => array("dbcol" => "smtpport","checknum" => 0),
|
"smtpport" => array("dbcol" => "smtpport","checknum" => 0),
|
||||||
|
"startprodsearch" => array("dbcol" => "startprodsearch","checknum" => 1),
|
||||||
|
|
||||||
"discountname1" => array("dbcol" => "discountname1","checknum" => 0),
|
"discountname1" => array("dbcol" => "discountname1","checknum" => 0),
|
||||||
"discountname2" => array("dbcol" => "discountname2","checknum" => 0),
|
"discountname2" => array("dbcol" => "discountname2","checknum" => 0),
|
||||||
|
@ -1790,6 +1792,11 @@ class Admin {
|
||||||
$aVal = md5($aVal);
|
$aVal = md5($aVal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($name == "startprodsearch") {
|
||||||
|
if (is_numeric($aVal)) {
|
||||||
|
$aVal = round($aVal);
|
||||||
|
}
|
||||||
|
}
|
||||||
if ($name == "memorylimit") {
|
if ($name == "memorylimit") {
|
||||||
$aVal = trim($aVal);
|
$aVal = trim($aVal);
|
||||||
if ($aVal != "-1") {
|
if ($aVal != "-1") {
|
||||||
|
|
|
@ -117,7 +117,7 @@ class Updater {
|
||||||
$infoFileLines = $infoFile["msg"];
|
$infoFileLines = $infoFile["msg"];
|
||||||
|
|
||||||
if (count($infoFileLines) > 1) {
|
if (count($infoFileLines) > 1) {
|
||||||
$checkIfNewerVersion = self::isV2Newer('1.3.17',trim($infoFileLines[0]));
|
$checkIfNewerVersion = self::isV2Newer('1.3.18',trim($infoFileLines[0]));
|
||||||
return array("status" => "OK","msg" => $infoFileLines[0],"url" => $url,"neweravailable" => ($checkIfNewerVersion ? 1 : 0));
|
return array("status" => "OK","msg" => $infoFileLines[0],"url" => $url,"neweravailable" => ($checkIfNewerVersion ? 1 : 0));
|
||||||
} else {
|
} else {
|
||||||
return array("status" => "ERROR","msg" => "Info file not valid","url" => $url);
|
return array("status" => "ERROR","msg" => "Info file not valid","url" => $url);
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Stefan Pichel">
|
<meta name="author" content="Stefan Pichel">
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.17">
|
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.18">
|
||||||
|
|
||||||
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
||||||
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Stefan Pichel">
|
<meta name="author" content="Stefan Pichel">
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.17">
|
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.18">
|
||||||
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
||||||
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Stefan Pichel">
|
<meta name="author" content="Stefan Pichel">
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.17">
|
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.18">
|
||||||
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
||||||
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Stefan Pichel">
|
<meta name="author" content="Stefan Pichel">
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.17">
|
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.18">
|
||||||
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
||||||
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Stefan Pichel">
|
<meta name="author" content="Stefan Pichel">
|
||||||
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.17">
|
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.18">
|
||||||
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
||||||
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Stefan Pichel">
|
<meta name="author" content="Stefan Pichel">
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.17">
|
<link rel="stylesheet" type="text/css" href="css/bestformat.css?v=1.3.18">
|
||||||
|
|
||||||
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
<link rel="stylesheet" href="php/contenthandler.php?module=admin&command=getmobilecss" />
|
||||||
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
<link rel="stylesheet" href="php/3rdparty/orderstyle/jquery.mobile.icons.min.css" />
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue