diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php index d3ec86a7268..41d93b32751 100644 --- a/htdocs/takepos/invoice.php +++ b/htdocs/takepos/invoice.php @@ -595,7 +595,7 @@ if ($action == "valid" || $action == "history") if ($invoice->paye) $sectionwithinvoicelink .= ''.$langs->trans("Paid").''; else $sectionwithinvoicelink .= $langs->trans('BillShortStatusValidated'); } - $sectionwithinvoicelink .= ''; + $sectionwithinvoicelink .= '
'; if ($conf->global->TAKEPOS_PRINT_METHOD == "takeposconnector") { if (filter_var($conf->global->TAKEPOS_PRINT_SERVER, FILTER_VALIDATE_URL) == true) $sectionwithinvoicelink .= ' '; else $sectionwithinvoicelink .= ' '; @@ -604,7 +604,7 @@ if ($action == "valid" || $action == "history") } else { $sectionwithinvoicelink .= ' '; if ($conf->global->TAKEPOS_GIFT_RECEIPT) { - $sectionwithinvoicelink .= '
'; + $sectionwithinvoicelink .= ' '; } } if ($conf->global->TAKEPOS_EMAIL_TEMPLATE_INVOICE > 0) @@ -856,11 +856,14 @@ if (!empty($conf->use_javascript_ajax)) print ''."\n"; print '
'; print ''; +if ($mobilepage == "invoice" || $mobilepage == "") { + print ''; +} print ''; print '
'.$sectionwithinvoicelink.'
'; // In phone version only show when it is invoice page if ($mobilepage == "invoice" || $mobilepage == "") { - print ''.$sectionwithinvoicelink; + print ''; } if ($conf->global->TAKEPOS_BAR_RESTAURANT) {