mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Debug v19
This commit is contained in:
parent
7f7f904541
commit
368efbb77f
|
|
@ -197,3 +197,8 @@ button.publicphonebutton2 {
|
|||
resize: none;
|
||||
border: 1px solid grey;
|
||||
}
|
||||
|
||||
img.imgwrapper {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1486,7 +1486,7 @@ if (!empty($conf->use_javascript_ajax)) {
|
|||
|
||||
$usediv = (GETPOST('format') == 'div');
|
||||
|
||||
print '<!-- invoice.php place='.(int) $place.' invoice='.$invoice->ref.' mobilepage='.(empty($mobilepage) ? '' : $mobilepage).' $_SESSION["basiclayout"]='.(empty($_SESSION["basiclayout"]) ? '' : $_SESSION["basiclayout"]).' conf TAKEPOS_BAR_RESTAURANT='.getDolGlobalString('TAKEPOS_BAR_RESTAURANT').' -->'."\n";
|
||||
print '<!-- invoice.php place='.(int) $place.' invoice='.$invoice->ref.' usediv='.$usediv.', mobilepage='.(empty($mobilepage) ? '' : $mobilepage).' $_SESSION["basiclayout"]='.(empty($_SESSION["basiclayout"]) ? '' : $_SESSION["basiclayout"]).' conf TAKEPOS_BAR_RESTAURANT='.getDolGlobalString('TAKEPOS_BAR_RESTAURANT').' -->'."\n";
|
||||
print '<div class="div-table-responsive-no-min invoice">';
|
||||
if ($usediv) {
|
||||
print '<div id="tablelines">';
|
||||
|
|
|
|||
|
|
@ -333,7 +333,7 @@ if ($action == "productinfo") {
|
|||
<?php
|
||||
if (defined('INCLUDE_PHONEPAGE_FROM_PUBLIC_PAGE')) {
|
||||
// Load invoice.php to get categories by using auto_order so it will define INCLUDE_PHONEPAGE_FROM_PUBLIC_PAGE
|
||||
echo '$("#phonediv1").load("'.DOL_URL_ROOT.'/takepos/public/auto_order.php?mobilepage=cats&place="+place+"", function() {
|
||||
echo '$("#phonediv1").load("'.DOL_URL_ROOT.'/takepos/public/auto_order.php?format=div&mobilepage=cats&place="+place+" #tablelines", function() {
|
||||
});';
|
||||
} else {
|
||||
echo '$("#phonediv1").load("'.DOL_URL_ROOT.'/takepos/invoice.php?mobilepage=cats&place="+place+"", function() {
|
||||
|
|
@ -400,12 +400,8 @@ if ($action == "productinfo") {
|
|||
}
|
||||
}
|
||||
|
||||
if (empty($mobilepage) && (empty($action) || ((getDolGlobalString('TAKEPOS_PHONE_BASIC_LAYOUT') == 1 && $conf->browser->layout == 'phone') || defined('INCLUDE_PHONEPAGE_FROM_PUBLIC_PAGE')))) {
|
||||
print '</body>';
|
||||
print '</html>';
|
||||
} else {
|
||||
// Case file is loaded by a js .load()
|
||||
}
|
||||
print '</body>';
|
||||
print '</html>';
|
||||
|
||||
|
||||
$db->close();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user