diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php
index 98f662e3d5d..4a45f724f01 100644
--- a/htdocs/comm/propal.php
+++ b/htdocs/comm/propal.php
@@ -2003,8 +2003,7 @@ if ($action == 'create')
// Amount HT
print '
| ' . $langs->trans('AmountHT') . ' | ';
- print '' . price($object->total_ht, '', $langs, 0, - 1, - 1, $conf->currency) . ' | ';
- print ' | ';
+ print '' . price($object->total_ht, '', $langs, 0, - 1, - 1, $conf->currency) . ' | ';
// Margin Infos
if (! empty($conf->margin->enabled)) {
@@ -2016,27 +2015,27 @@ if ($action == 'create')
// Amount VAT
print '
| ' . $langs->trans('AmountVAT') . ' | ';
- print '' . price($object->total_tva, '', $langs, 0, - 1, - 1, $conf->currency) . ' | ';
- print ' |
';
+ print '' . price($object->total_tva, '', $langs, 0, - 1, - 1, $conf->currency) . ' | ';
+ print '';
// Amount Local Taxes
if ($mysoc->localtax1_assuj == "1" || $object->total_localtax1 != 0) // Localtax1
{
print '| ' . $langs->transcountry("AmountLT1", $mysoc->country_code) . ' | ';
- print '' . price($object->total_localtax1, '', $langs, 0, - 1, - 1, $conf->currency) . ' | ';
+ print '' . price($object->total_localtax1, '', $langs, 0, - 1, - 1, $conf->currency) . ' | ';
print ' |
';
}
if ($mysoc->localtax2_assuj == "1" || $object->total_localtax2 != 0) // Localtax2
{
print '| ' . $langs->transcountry("AmountLT2", $mysoc->country_code) . ' | ';
- print '' . price($object->total_localtax2, '', $langs, 0, - 1, - 1, $conf->currency) . ' | ';
- print ' |
';
+ print '' . price($object->total_localtax2, '', $langs, 0, - 1, - 1, $conf->currency) . ' | ';
+ print '';
}
// Amount TTC
print '| ' . $langs->trans('AmountTTC') . ' | ';
- print '' . price($object->total_ttc, '', $langs, 0, - 1, - 1, $conf->currency) . ' | ';
- print ' |
';
+ print '' . price($object->total_ttc, '', $langs, 0, - 1, - 1, $conf->currency) . ' | ';
+ print '';
// Statut
print '| ' . $langs->trans('Status') . ' | ' . $object->getLibStatut(4) . ' |
';
diff --git a/htdocs/core/tpl/extrafields_view.tpl.php b/htdocs/core/tpl/extrafields_view.tpl.php
index 7f0115b83bc..b6b26cc380d 100644
--- a/htdocs/core/tpl/extrafields_view.tpl.php
+++ b/htdocs/core/tpl/extrafields_view.tpl.php
@@ -65,7 +65,7 @@ if (empty($reshook) && ! empty($extrafields->attribute_label))
print '' . img_edit().' | ';
print '';
- print '';
+ print ' | ';
// Convert date into timestamp format
if (in_array($extrafields->attribute_type[$key], array('date','datetime'))) {
diff --git a/htdocs/fourn/commande/card.php b/htdocs/fourn/commande/card.php
index 6101aa7e17d..41d06bebf43 100644
--- a/htdocs/fourn/commande/card.php
+++ b/htdocs/fourn/commande/card.php
@@ -1947,28 +1947,28 @@ elseif (! empty($object->id))
// Ligne de 3 colonnes
print ' | | '.$langs->trans("AmountHT").' | ';
- print ''.price($object->total_ht).' | ';
- print ''.$langs->trans("Currency".$conf->currency).' |
';
+ print ''.price($object->total_ht,'',$langs,1,-1,-1,$conf->currency).' | ';
+ print '';
- print '| '.$langs->trans("AmountVAT").' | '.price($object->total_tva).' | ';
- print ''.$langs->trans("Currency".$conf->currency).' |
';
+ print '| '.$langs->trans("AmountVAT").' | '.price($object->total_tva,'',$langs,1,-1,-1,$conf->currency).' | ';
+ print '
';
// Amount Local Taxes
if ($mysoc->localtax1_assuj=="1" || $object->total_localtax1 != 0) //Localtax1
{
print '| '.$langs->transcountry("AmountLT1",$mysoc->country_code).' | ';
- print ''.price($object->total_localtax1).' | ';
- print ''.$langs->trans("Currency".$conf->currency).' |
';
+ print ''.price($object->total_localtax1,'',$langs,1,-1,-1,$conf->currency).' | ';
+ print '';
}
if ($mysoc->localtax2_assuj=="1" || $object->total_localtax2 != 0) //Localtax2
{
print '| '.$langs->transcountry("AmountLT2",$mysoc->country_code).' | ';
- print ''.price($object->total_localtax2).' | ';
- print ''.$langs->trans("Currency".$conf->currency).' |
';
+ print ''.price($object->total_localtax2,'',$langs,1,-1,-1,$conf->currency).' | ';
+ print '';
}
- print '| '.$langs->trans("AmountTTC").' | '.price($object->total_ttc).' | ';
- print ''.$langs->trans("Currency".$conf->currency).' |
';
+ print '| '.$langs->trans("AmountTTC").' | '.price($object->total_ttc,'',$langs,1,-1,-1,$conf->currency).' | ';
+ print '
';
print "
";
@@ -2610,7 +2610,7 @@ elseif (! empty($object->id))
print 'id.'&action=reopen">'.$langs->trans("ReOpen").'';
}
}
-
+
// Create bill
if (! empty($conf->fournisseur->enabled) && $object->statut >= 2) // 2 means accepted
{