diff --git a/htdocs/product/stats/card.php b/htdocs/product/stats/card.php index 6871ad21adf..3133f83e6d8 100644 --- a/htdocs/product/stats/card.php +++ b/htdocs/product/stats/card.php @@ -191,24 +191,24 @@ if ($result || !($id > 0)) { } print ''; - print ''; + print ''; if (!($id > 0) || $notab) { // Type - print ''; // Product - print ''; // Tag if (isModEnabled('categorie')) { - print ''; // thirdparty - print ''; @@ -494,7 +494,7 @@ if ($result || !($id > 0)) { print ''; print ''; // Image - print ''; print '
'.$langs->trans("Filter").'
'.$langs->trans("Filter").'
'.$langs->trans("Type").''; + print '
'.$langs->trans("Type").''; $array = array('-1'=>' ', '0'=>$langs->trans('Product'), '1'=>$langs->trans('Service')); print $form->selectarray('type', $array, $type, 0, 0, 0, '', 0, 0, 0, '', 'minwidth100'); print '
'.$langs->trans("ProductOrService").''; + print '
'.$langs->trans("ProductOrService").''; print img_picto('', 'product', 'class="pictofixedwidth"'); print $form->select_produits($id, 'id', '', 0, 0, 1, 2, '', ($conf->dol_optimize_smallscreen ? 1 : 0), array(), 0, '1', 0, 'widthcentpercentminusx maxwidth400'); print '
'.$langs->trans("Categories").''; + print '
'.$langs->trans("Categories").''; $moreforfilter .= img_picto($langs->trans("Categories"), 'category', 'class="pictofixedwidth"'); $moreforfilter .= $htmlother->select_categories(Categorie::TYPE_PRODUCT, $search_categ, 'search_categ', 1, 1, 'widthcentpercentminusx maxwidth400'); print $moreforfilter; @@ -219,7 +219,7 @@ if ($result || !($id > 0)) { } // Year - print '
'.$langs->trans("Year").''; + print '
'.$langs->trans("Year").''; $arrayyears = array(); for ($year = $currentyear - 25; $year < $currentyear; $year++) { $arrayyears[$year] = $year; @@ -235,7 +235,7 @@ if ($result || !($id > 0)) { print '
'.$langs->trans("ThirdParty").''; + print '
'.$langs->trans("ThirdParty").''; print img_picto('', 'company', 'class="pictofixedwidth"'); print $form->select_company($socid, 'socid', '', 1, 0, 0, array(), 0, 'widthcentpercentminusx maxwidth400'); print '
'.$linktoregenerate.'
'; + print '
'; print $graphfiles[$key]['output']; print '
';