From 74c38f67f399843b79c52c1c42b673ce1b34bdfd Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 15 Jul 2003 11:21:02 +0000 Subject: [PATCH] code cleaning --- htdocs/compta/paiement.php3 | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/htdocs/compta/paiement.php3 b/htdocs/compta/paiement.php3 index e5b03077ac1..de8a68f5101 100644 --- a/htdocs/compta/paiement.php3 +++ b/htdocs/compta/paiement.php3 @@ -34,34 +34,6 @@ if ($user->societe_id > 0) $socidp = $user->societe_id; } -/* - * Traitement des action - */ -/* -if ($action == 'add') -{ - $datepaye = $db->idate(mktime(12, 0 , 0, $remonth, $reday, $reyear)); - print $reday; - $paiement = new Paiement($db); - - $paiement->facid = $facid; - $paiement->datepaye = $datepaye; - $paiement->amount = $amount; - $paiement->author = $author; - $paiement->paiementid = $paiementid; - $paiement->num_paiement = $num_paiement; - $paiement->note = $note; - - $paiement->create(); - - $label = "Réglement facture N°"; - - $acc = new Account($db, $HTTP_POST_VARS["accountid"]); - $acc->addline($datepaye, $paiementid, $label, $amount, $num_paiement); - - $action = ''; -} -*/ /* * Affichage */