diff --git a/htdocs/projet/fiche.php b/htdocs/projet/fiche.php
index 0fc0f430b4c..953bbabc9fb 100644
--- a/htdocs/projet/fiche.php
+++ b/htdocs/projet/fiche.php
@@ -157,7 +157,7 @@ if ($action == 'create')
print '
';
print '';
- print '| Réf | Date | Prix |
';
+ print 'Réf | Date | Prix | ';
for ($i = 0; $i'.$i.' propales | ';
- print 'Total : '.price($total).' | ';
- print ''.MAIN_MONNAIE.' HT |
';
+ print 'Total : '.price($total).' | ';
+ print ''.MAIN_MONNAIE.' HT | ';
}
/*
* Commandes
*
*/
$commandes = $projet->get_commande_list();
-
+ $total = 0 ;
if (sizeof($commandes)>0 && is_array($commandes))
{
print_titre('Listes des commandes associées au projet');
print '';
print '';
- print '| Réf | Date | Prix |
';
+ print 'Réf | Date | Prix | ';
for ($i = 0; $i'.$i.' commandes | ';
- print 'Total : '.price($total).' | ';
- print ''.MAIN_MONNAIE.' HT | ';
+ print 'Total : '.price($total).' | ';
+ print ''.MAIN_MONNAIE.' HT | ';
print "
";
}
@@ -222,10 +222,10 @@ if ($action == 'create')
if (sizeof($factures)>0 && is_array($factures))
{
print_titre('Listes des factures associées au projet');
- print '';
+ print '';
- print '';
- print '| Réf | Date | Prix |
';
+ print '';
+ print '| Réf | Date | Prix |
';
for ($i = 0; $i'.$i.' factures | ';
- print 'Total : '.price($total).' | ';
- print ''.MAIN_MONNAIE.' HT | ';
+ print 'Total : '.price($total).' | ';
+ print ''.MAIN_MONNAIE.' HT | ';
print "
";
}
}