diff --git a/htdocs/product/price.php b/htdocs/product/price.php index 7538e2875be..b783ad5c002 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -1649,8 +1649,7 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) $filter['soc.nom'] = $search_soc; } - if ($action == 'add_customer_price') - { + if ($action == 'add_customer_price') { // Form to add a new customer price $maxpricesupplier = $object->min_recommended_price(); @@ -1661,13 +1660,11 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) print ''; print ''; - print dol_get_fiche_head(); - print '
| '.$langs->trans('ThirdParty').' | '; print ''; - print $form->select_company('', 'socid', 's.client IN (1,2,3)', 'SelectThirdParty', 0, 0, array(), 0, 'minwidth300'); + print img_picto('', 'company').$form->select_company('', 'socid', 's.client IN (1,2,3)', 'SelectThirdParty', 0, 0, array(), 0, 'minwidth300'); print ' | '; print '
| '.$langs->trans('ThirdParty').' | '; + print ''.$langs->trans('ThirdParty').' | '; $staticsoc = new Societe($db); $staticsoc->fetch($prodcustprice->fk_soc); - print "".$staticsoc->getNomUrl(1)." | "; + print "".$staticsoc->getNomUrl(1)." | "; print '|
| '.$langs->trans("DefaultTaxRate").' | '; + print ' | |||
| '.$langs->trans("DefaultTaxRate").' | '; print $form->load_tva("tva_tx", $prodcustprice->default_vat_code ? $prodcustprice->tva_tx.' ('.$prodcustprice->default_vat_code.')' : $prodcustprice->tva_tx, $mysoc, '', $object->id, $prodcustprice->recuperableonly, $object->type, false, 1); print ' | |||
| '; + print ' | ||||
| '; print $langs->trans('PriceBase'); print ' | '; print ''; @@ -1772,7 +1766,7 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) print ' | |||
| '; + print ' | ||||
| '; $text = $langs->trans('SellingPrice'); print $form->textwithpicto($text, $langs->trans("PrecisionUnitIsLimitedToXDecimals", $conf->global->MAIN_MAX_DECIMALS_UNIT), 1, 1); print ' | '; @@ -1800,21 +1794,13 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) } print ' | |||
| '; - print ' | '; - print ''; - print ' | '; - print '|||