From 400b9446e35188d7b00a4a3c195b96b0d00415c6 Mon Sep 17 00:00:00 2001
From: Rodolphe Quiedeville <rodolphe@quiedeville.org>
Date: Wed, 22 Dec 2004 08:45:02 +0000
Subject: [PATCH] Modif des conditions d'emission d'un paiement

---
 htdocs/compta/paiement.php | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php
index 822fba37b5c..e5314da296f 100644
--- a/htdocs/compta/paiement.php
+++ b/htdocs/compta/paiement.php
@@ -287,15 +287,9 @@ if ($_GET["action"] == 'create')
 		      
 		      print '<td align="center">';
 
-		      if ($objp->total_ttc <> $objp->am)
-			{
-			  $namef = "amount_".$objp->facid;
-			  print '<input type="text" size="8" name="'.$namef.'">';
-			}
-		      else
-			{
-			  print '-';
-			}
+		      $namef = "amount_".$objp->facid;
+		      print '<input type="text" size="8" name="'.$namef.'">';
+
 		      print "</td></tr>\n";
 		      $total+=$objp->total;
 		      $total_ttc+=$objp->total_ttc;
-- 
GitLab