From 8263b658415a2048b2626a176794ee62db6430d6 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 21 Jan 2019 10:06:44 +0100 Subject: [PATCH] update with html5 compliant code --- htdocs/reception/card.php | 16 ++++++++-------- htdocs/reception/stats/index.php | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/htdocs/reception/card.php b/htdocs/reception/card.php index 2fc0ecfab97..90082d638c2 100644 --- a/htdocs/reception/card.php +++ b/htdocs/reception/card.php @@ -1002,13 +1002,13 @@ if ($action == 'create') print ''; if (! empty($conf->stock->enabled)) { - print ''.$langs->trans("Warehouse").' ('.$langs->trans("Stock").')'; + print ''.$langs->trans("Warehouse").' ('.$langs->trans("Stock").')'; } if (!empty($conf->productbatch->enabled)) { - print ''.$langs->trans("batch_number").''; - print ''.$langs->trans("EatByDate").''; - print ''.$langs->trans("SellByDate").''; + print ''.$langs->trans("batch_number").''; + print ''.$langs->trans("EatByDate").''; + print ''.$langs->trans("SellByDate").''; } print "\n"; } @@ -1139,7 +1139,7 @@ if ($action == 'create') // Stock if (! empty($conf->stock->enabled)) { - print ''; + print ''; if ($line->product_type == Product::TYPE_PRODUCT || ! empty($conf->global->STOCK_SUPPORTS_SERVICES)) // Type of product need stock change ? { // Show warehouse combo list @@ -1687,12 +1687,12 @@ else if ($id || $ref) } if (! empty($conf->stock->enabled)) { - print ''.$langs->trans("WarehouseSource").''; + print ''.$langs->trans("WarehouseSource").''; } if (! empty($conf->productbatch->enabled)) { - print ''.$langs->trans("Batch").''; + print ''.$langs->trans("Batch").''; } } print ''.$langs->trans("CalculatedWeight").''; @@ -1919,7 +1919,7 @@ else if ($id || $ref) // Warehouse source if (! empty($conf->stock->enabled)) { - print ''; + print ''; if ($lines[$i]->fk_entrepot > 0) { diff --git a/htdocs/reception/stats/index.php b/htdocs/reception/stats/index.php index ae8a493f805..a598b0503e0 100644 --- a/htdocs/reception/stats/index.php +++ b/htdocs/reception/stats/index.php @@ -239,17 +239,17 @@ print '
'; print ''; print ''; // Company - print ''; // User - print ''; // Year - print '
'.$langs->trans("Filter").'
'.$langs->trans("ThirdParty").''; + print '
'.$langs->trans("ThirdParty").''; if ($mode == 'customer') $filter='s.client in (1,2,3)'; if ($mode == 'supplier') $filter='s.fournisseur = 1'; print $form->select_company($socid,'socid',$filter,1,0,0,array(),0,'','style="width: 95%"'); print '
'.$langs->trans("CreatedBy").''; + print '
'.$langs->trans("CreatedBy").''; print $form->select_dolusers($userid, 'userid', 1, '', 0, '', '', 0, 0, 0, '', 0, '', 'maxwidth300'); print '
'.$langs->trans("Year").''; + print '
'.$langs->trans("Year").''; if (! in_array($year,$arrayyears)) $arrayyears[$year]=$year; if (! in_array($nowyear,$arrayyears)) $arrayyears[$nowyear]=$nowyear; arsort($arrayyears);