diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php
index 3b486b7a3bc..859859fbc93 100644
--- a/htdocs/takepos/invoice.php
+++ b/htdocs/takepos/invoice.php
@@ -865,6 +865,9 @@ if ($conf->global->TAKEPOS_BAR_RESTAURANT)
print $langs->trans('Place')." ".$label." - ";
print $langs->trans('Floor')." ".$floor." - ";
}
+ elseif (defined('INCLUDE_PHONEPAGE_FROM_PUBLIC_PAGE')) print $mysoc->name;
+ elseif ($mobilepage == "cats") print $langs->trans('Category');
+ elseif ($mobilepage == "products") print $langs->trans('Label');
}
// In phone version only show when is invoice page
if ($mobilepage == "invoice" || $mobilepage == "") {
@@ -879,7 +882,7 @@ if ($_SESSION["basiclayout"] != 1)
print '
';
- $htmlforlines .= '

';
+ if (defined('INCLUDE_PHONEPAGE_FROM_PUBLIC_PAGE')) $htmlforlines .= '

';
+ else $htmlforlines .= '
';
$htmlforlines .= $row['label'];
- $htmlforlines .= ''."\n";
+ if (defined('INCLUDE_PHONEPAGE_FROM_PUBLIC_PAGE')) $htmlforlines .= ''."\n";
+ else $htmlforlines .= ' | '."\n";
}
$htmlforlines .= '';
$htmlforlines .= '';
@@ -912,11 +918,20 @@ if ($_SESSION["basiclayout"] == 1)
$prods = $object->getObjectsInCateg("product");
$htmlforlines = '';
foreach ($prods as $row) {
- $htmlforlines .= '
id.')">';
- $htmlforlines .= '

';
- $htmlforlines .= $row->label.''.price($row->price_ttc, 1, $langs, 1, -1, -1, $conf->currency);
- $htmlforlines .= '
'."\n";
+ if (defined('INCLUDE_PHONEPAGE_FROM_PUBLIC_PAGE')) {
+ $htmlforlines .= '

';
+ $htmlforlines .= $row->label.''.price($row->price_ttc, 1, $langs, 1, -1, -1, $conf->currency);
+ $htmlforlines .= '
'."\n";
+ }
+ else {
+ $htmlforlines .= '