Debug v19

This commit is contained in:
Laurent Destailleur 2024-01-07 13:38:13 +01:00
parent 8c8075a2c3
commit 57742db14f
3 changed files with 5 additions and 6 deletions

View file

@ -76,7 +76,7 @@ TerminalSelect=Select terminal you want to use:
POSTicket=POS Ticket
POSTerminal=POS Terminal
POSModule=POS Module
BasicPhoneLayout=Use basic layout for phones
BasicPhoneLayout=On phones, replace the POS with a minimal layout (Record orders only, no invoice generation, no receipt printing)
SetupOfTerminalNotComplete=Setup of terminal %s is not complete
DirectPayment=Direct payment
DirectPaymentButton=Add a "Direct cash payment" button

View file

@ -90,7 +90,7 @@ button.publicphonebutton {
vertical-align: middle;
text-align: center;
overflow: visible; /* removes extra width in IE */
width:33%;
width:33.33%;
height:50px;
font-weight: bold;
color: #fff;
@ -106,7 +106,6 @@ button.publicphonebutton {
color: #fff;
background-color: #5cb85c;
border-color: #4cae4c;
font-size:20px;
text-align:center;
width:20px;
}
@ -168,7 +167,7 @@ button.publicphonebutton2 {
vertical-align: middle;
text-align: center;
overflow: visible; /* removes extra width in IE */
width:33%;
width:33.33%;
font-weight: bold;
padding: 8px 16px;
}

View file

@ -167,8 +167,8 @@ if ($action == "productinfo") {
print '<button type="button" class="phonebutton uppercase" onclick="TakeposPrintingOrder();">'.dol_trunc($langs->trans('Order'), 3, 'right', 'UTF-8', 1).'</button>';
print '<button type="button" class="phonebutton uppercase" onclick="Exit();">'.dol_trunc($langs->trans('Logout'), 3, 'right', 'UTF-8', 1).'</button>';
} else {
print '<button type="button" class="publicphonebutton phoneblue uppercase" onclick="LoadCats();">'.dol_trunc($langs->trans('Categories'), 5, 'right', 'UTF-8').'</button>';
print '<button type="button" class="publicphonebutton phoneorange uppercase" onclick="PublicPreOrder();">'.dol_trunc($langs->trans('Order'), 5, 'right', 'UTF-8').'</button>';
print '<button type="button" class="publicphonebutton phoneblue uppercase" onclick="LoadCats();">'.dol_trunc($langs->trans('Categories'), 5, 'right', 'UTF-8', 1).'</button>';
print '<button type="button" class="publicphonebutton phoneorange uppercase" onclick="PublicPreOrder();">'.dol_trunc($langs->trans('Order'), 5, 'right', 'UTF-8', 1).'</button>';
print '<button type="button" class="publicphonebutton phonegreen uppercase" onclick="CheckPlease();">'.dol_trunc($langs->trans('Payment'), 5, 'right', 'UTF-8', 1).'</button>';
} ?>
</div>