diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index c6537abe878..4e95eecc148 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -888,7 +888,7 @@ if ($_GET["id"] || $_GET["ref"]) print ''.$langs->trans("Ref").''; // Label - print ''.$langs->trans("Label").''; + print ''.$langs->trans("Label").''; // Status print ''.$langs->trans("Status").' ('.$langs->trans("Sell").')'.''; @@ -933,7 +933,7 @@ if ($_GET["id"] || $_GET["ref"]) // Nature if($product->type!=1) { - print ''.$langs->trans("Nature").''; + print ''.$langs->trans("Nature").''; $statutarray=array('-1'=>' ', '1' => $langs->trans("Finished"), '0' => $langs->trans("RowMaterial")); print $html->selectarray('finished',$statutarray,$product->finished); print ''; @@ -970,32 +970,32 @@ if ($_GET["id"] || $_GET["ref"]) else { // Weight - print ''.$langs->trans("Weight").''; + print ''.$langs->trans("Weight").''; print ' '; print $formproduct->select_measuring_units("weight_units", "weight", $product->weight_units); print ''; // Length - print ''.$langs->trans("Length").''; + print ''.$langs->trans("Length").''; print ' '; print $formproduct->select_measuring_units("size_units", "size", $product->length_units); print ''; // Surface - print ''.$langs->trans("Surface").''; + print ''.$langs->trans("Surface").''; print ' '; print $formproduct->select_measuring_units("surface_units", "surface", $product->surface_units); print ''; // Volume - print ''.$langs->trans("Volume").''; + print ''.$langs->trans("Volume").''; print ' '; print $formproduct->select_measuring_units("volume_units", "volume", $product->volume_units); print ''; } // Custom code - print ''.$langs->trans("CustomCode").''; + print ''.$langs->trans("CustomCode").''; // Origin country - print ''.$langs->trans("CountryOrigin").''; + print ''.$langs->trans("CountryOrigin").''; $html->select_pays($product->country_id,'country_id'); if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionnarySetup"),1); print ''; @@ -1068,7 +1068,7 @@ if ($_GET["id"] || $_GET["ref"]) print ''; // Label - print ''.$langs->trans("Label").''.$product->libelle.''; + print ''.$langs->trans("Label").''.$product->libelle.''; $nblignes=5; if ($product->is_photo_available($conf->product->dir_output)) @@ -1082,22 +1082,22 @@ if ($_GET["id"] || $_GET["ref"]) print ''; // Accountancy buy code - print ''.$html->editfieldkey("ProductAccountancyBuyCode",'productaccountancycodesell',$product->accountancy_code_sell,'id',$product->id,$user->rights->produit->creer).''; + print ''.$html->editfieldkey("ProductAccountancyBuyCode",'productaccountancycodesell',$product->accountancy_code_sell,'id',$product->id,$user->rights->produit->creer).''; print $html->editfieldval("ProductAccountancyBuyCode",'productaccountancycodesell',$product->accountancy_code_sell,'id',$product->id,$user->rights->produit->creer); print ''; // Accountancy sell code - print ''.$html->editfieldkey("ProductAccountancySellCode",'productaccountancycodebuy',$product->accountancy_code_buy,'id',$product->id,$user->rights->produit->creer).''; + print ''.$html->editfieldkey("ProductAccountancySellCode",'productaccountancycodebuy',$product->accountancy_code_buy,'id',$product->id,$user->rights->produit->creer).''; print $html->editfieldval("ProductAccountancySellCode",'productaccountancycodebuy',$product->accountancy_code_buy,'id',$product->id,$user->rights->produit->creer); print ''; // Status (to sell) - print ''.$langs->trans("Status").' ('.$langs->trans("Sell").')'.''; + print ''.$langs->trans("Status").' ('.$langs->trans("Sell").')'.''; print $product->getLibStatut(2,0); print ''; // Status (to buy) - print ''.$langs->trans("Status").' ('.$langs->trans("Buy").')'.''; + print ''.$langs->trans("Status").' ('.$langs->trans("Buy").')'.''; print $product->getLibStatut(2,1); print ''; @@ -1179,7 +1179,7 @@ if ($_GET["id"] || $_GET["ref"]) // Custom code print ''.$langs->trans("CustomCode").''.$product->customcode.''; // Origin country code - print ''.$langs->trans("CountryOrigin").''.getCountry($product->country_id,0,$db).''; + print ''.$langs->trans("CountryOrigin").''.getCountry($product->country_id,0,$db).''; // Hidden /*