diff --git a/htdocs/commande/apercu.php b/htdocs/commande/apercu.php index 839ca73d5b9..118b8e12475 100644 --- a/htdocs/commande/apercu.php +++ b/htdocs/commande/apercu.php @@ -77,16 +77,7 @@ if ($id > 0 || ! empty($ref)) // Ref print ''.$langs->trans("Ref").""; - print ''.$object->ref.''; - print ''.$langs->trans("Source").' : '.$object->getLabelSource(); - if ($object->source == 0) - { - // Propale - $propal = new Propal($db); - $propal->fetch($object->propale_id); - print ' -> '.$propal->ref.''; - } - print ""; + print ''.$object->ref.''; // Ref cde client print ''; @@ -183,15 +174,14 @@ if ($id > 0 || ! empty($ref)) // ligne 6 // partie Gauche - print ''.$langs->trans('GlobalDiscount').''; + print ''.$langs->trans('GlobalDiscount').''; print ''.$object->remise_percent.'%'; print ''; // ligne 7 // partie Gauche - print ''.$langs->trans('AmountHT').''; - print ''.price($object->total_ht).''; - print ''.$langs->trans("Currency".$conf->currency).''; + print ''.$langs->trans('AmountHT').''; + print '' . price($object->total_ht, '', $langs, 0, - 1, - 1, $conf->currency) . ''; print ''; dol_fiche_end();