From 5a5b2c8a6050e53d4080e091257a2e6773c611ac Mon Sep 17 00:00:00 2001 From: aurelien goudeneche <44634756+AurelGDN@users.noreply.github.com> Date: Fri, 7 Dec 2018 17:33:35 +0100 Subject: [PATCH] Revert wrong tag introduced with phpbcf fix --- htdocs/takepos/invoice.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php index 16812d60b58..9041b6bfd2f 100644 --- a/htdocs/takepos/invoice.php +++ b/htdocs/takepos/invoice.php @@ -183,8 +183,8 @@ if ($action == "updatereduction") { if ($action == "order" and $placeid != 0) { include_once DOL_DOCUMENT_ROOT . '/categories/class/categorie.class.php'; - $headerorder = '
' . $langs->trans('Place') . ' ' . $place . '
'; - $footerorder = '
' . $langs->trans("Label") . '' . $langs->trans("Qty") . '
' . dol_print_date(dol_now(), 'dayhour') . '
'; + $headerorder = '
' . $langs->trans('Place') . ' ' . $place . '
'; + $footerorder = '
' . $langs->trans("Label") . '' . $langs->trans("Qty") . '
' . dol_print_date(dol_now(), 'dayhour') . '
'; $order_receipt_printer1 = ""; $order_receipt_printer2 = ""; $catsprinter1 = explode(';', $conf->global->TAKEPOS_PRINTED_CATEGORIES_1); @@ -260,10 +260,10 @@ if ($action == "temp" and $placeid != 0) { $mysoczip = stringCleanCharts($mysoc->zip); $mysocphone = stringCleanCharts($mysoc->phone); $mysocurl = stringCleanCharts($mysoc->url); - $header_soc = '
' . $mysocname . '
' . $mysocaddress . '
' . $mysoczip . ' ' . $mysoctown . '

' . $langs->trans("Phone") . ': ' . $mysocphone . '
' . $mysocurl; - $header_ticket = '

' . $langs->trans("Temporary ticket") . '
' . $langs->trans("date") . ':
' . dol_print_date(dol_now(), 'dayhour') . '
' . $langs->trans('Place') . ' ' . $place . '


'; + $header_soc = '
' . $mysocname . '
' . $mysocaddress . '
' . $mysoczip . ' ' . $mysoctown . '

' . $langs->trans("Phone") . ': ' . $mysocphone . '
' . $mysocurl; + $header_ticket = '

' . $langs->trans("Temporary ticket") . '
' . $langs->trans("date") . ':
' . dol_print_date(dol_now(), 'dayhour') . '
' . $langs->trans('Place') . ' ' . $place . '


'; $body_ticket = ''; - $footer_ticket = '

' . $langs->trans("Cashier") . ': ' . $user->firstname . '
' . $langs->trans("Thanks for your coming !") . '
'; + $footer_ticket = '

' . $langs->trans("Cashier") . ': ' . $user->firstname . '
' . $langs->trans("Thanks for your coming !") . '
'; $ticket_printer1 = ""; $catsprinter1 = explode(';', $conf->global->TAKEPOS_PRINTED_CATEGORIES_1); foreach($invoice->lines as $line)
' . $langs->trans("Label") . '' . $langs->trans("Qty") . '' . $langs->trans("Price") . '' . $langs->trans("TotalTTC") . '