diff --git a/htdocs/bom/tpl/objectline_create.tpl.php b/htdocs/bom/tpl/objectline_create.tpl.php index e8fbbac28d2..8501f1ca30f 100644 --- a/htdocs/bom/tpl/objectline_create.tpl.php +++ b/htdocs/bom/tpl/objectline_create.tpl.php @@ -58,7 +58,6 @@ if ($nolinesbefore) { } print '
| ';
-print '';
+// In phone version only show when it is invoice page
+if ($mobilepage == "invoice" || $mobilepage == "") {
+ print ''.$sectionwithinvoicelink;
+}
if ($conf->global->TAKEPOS_BAR_RESTAURANT)
{
$sql = "SELECT floor, label FROM ".MAIN_DB_PREFIX."takepos_floor_tables where rowid=".((int) $place);
@@ -858,25 +862,28 @@ if ($conf->global->TAKEPOS_BAR_RESTAURANT)
}
// In phone version only show when is invoice page
if ($mobilepage == "invoice" || $mobilepage == "") {
- print $langs->trans('Place')." ".$label." - ";
- print $langs->trans('Floor')." ".$floor." - ";
+ 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'); +} else { + print $langs->trans("Products"); } -// In phone version only show when is invoice page -if ($mobilepage == "invoice" || $mobilepage == "") { - print $langs->trans('TotalTTC'); - print ' : '.price($invoice->total_ttc, 1, '', 1, -1, -1, $conf->currency).''; - print ' '.$sectionwithinvoicelink; - print ' | ';
-}
+print '';
if ($_SESSION["basiclayout"] != 1)
{
print ''.$langs->trans('ReductionShort').' | '; print ''.$langs->trans('Qty').' | '; - print ''.$langs->trans('TotalTTCShort').' | '; + print '';
+ print ''.$langs->trans('TotalTTCShort').' '; + // In phone version only show when it is invoice page + if ($mobilepage == "invoice" || $mobilepage == "") { + print ''.price($invoice->total_ttc, 1, '', 1, -1, -1, $conf->currency).''; + print ' | ';
+ }
+ print '';
}
elseif ($mobilepage == "invoice") print ''.$langs->trans('Qty').' | '; print "