From 6e3f24a562520c503d63199d40d7deae4310c9b6 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 28 Apr 2010 10:24:38 +0000 Subject: [PATCH] Fix: uniformize code --- htdocs/comm/propal/propal.class.php | 4 ++-- htdocs/compta/facture.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/comm/propal/propal.class.php b/htdocs/comm/propal/propal.class.php index 2654cb8038e..46150f6912b 100644 --- a/htdocs/comm/propal/propal.class.php +++ b/htdocs/comm/propal/propal.class.php @@ -3,7 +3,7 @@ * Copyright (C) 2004 Eric Seigne * Copyright (C) 2004-2009 Laurent Destailleur * Copyright (C) 2005 Marc Barilley / Ocebo - * Copyright (C) 2005-2009 Regis Houssin + * Copyright (C) 2005-2010 Regis Houssin * Copyright (C) 2006 Andre Cianfarani * Copyright (C) 2008 Raphael Bertrand (Resultic) * Copyright (C) 2010 Juanjo Menent @@ -839,7 +839,7 @@ class Propal extends CommonObject $this->remise = $obj->remise; $this->remise_percent = $obj->remise_percent; $this->remise_absolue = $obj->remise_absolue; - $this->total = $obj->total; + $this->total = $obj->total; // TODO obsolete $this->total_ht = $obj->total_ht; $this->total_tva = $obj->tva; $this->total_ttc = $obj->total; diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index bb0ac2870d5..3815e157444 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -1846,8 +1846,8 @@ if ($_GET['action'] == 'create') { print "\n"; print ''."\n"; - print ''."\n"; - print ''."\n"; + print ''."\n"; + print ''."\n"; //print ''."\n"; //print ''."\n"; print ''; @@ -1855,7 +1855,7 @@ if ($_GET['action'] == 'create') print ''.$langs->trans('Proposal').''.img_object($langs->trans("ShowPropal"),'propal').' '.$propal->ref.''; print ''.$langs->trans('TotalHT').''.price($propal->total_ht).''; print ''.$langs->trans('TotalVAT').''.price($propal->total_tva).""; - print ''.$langs->trans('TotalTTC').''.price($propal->total).""; + print ''.$langs->trans('TotalTTC').''.price($propal->total_ttc).""; } elseif ($_GET['commandeid'] > 0) {