Ajout liste droulante des tarifs fournisseurs pour un produit

This commit is contained in:
Regis Houssin 2007-09-05 09:34:07 +00:00
parent 99412a8026
commit 4271ecd880

View File

@ -1284,8 +1284,14 @@ class Form
$opt.= '>'.$objp->nom.' - '.$objp->ref_fourn.' - ';
if ($objp->fprice != '')
{
$opt.= price($objp->fprice);
$opt.= $langs->trans("Currency".$conf->monnaie)."/".$objp->quantity;
if ($objp->quantity == 1)
{
$opt.= price($objp->fprice);
$opt.= $langs->trans("Currency".$conf->monnaie)."/";
}
$opt.= $objp->quantity;
if ($objp->quantity == 1)
{
$opt.= strtolower($langs->trans("Unit"));