From 54da829a83a4d64b57264c1bd8b83a5a029cd97f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 15 Jul 2009 19:53:31 +0000 Subject: [PATCH] Look: Minor fix --- htdocs/compta/paiement.php | 13 +++++++++---- htdocs/compta/paiement/fiche.php | 16 ++++++++-------- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index b1ebc23e0c5..2ad74c52aad 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -321,6 +321,8 @@ if ($_GET['action'] == 'create' || $_POST['action'] == 'confirm_paiement' || $_P print ''; print ''; + print ''; + /* * List of unpayed invoices */ @@ -349,7 +351,8 @@ if ($_GET['action'] == 'create' || $_POST['action'] == 'confirm_paiement' || $_P { $i = 0; - print ''; + //print ''; + print '
'; print ''; print ''; print ''; @@ -439,7 +442,8 @@ if ($_GET['action'] == 'create' || $_POST['action'] == 'confirm_paiement' || $_P print ''; print "\n"; } - print "
'.$langs->trans('Invoice').' 
\n"; + print ""; + //print "\n"; } $db->free($resql); } @@ -452,10 +456,11 @@ if ($_GET['action'] == 'create' || $_POST['action'] == 'confirm_paiement' || $_P // Bouton Enregistrer if ($_POST["action"] != 'add_paiement') { - print ''; +// print ''; + print '
'; +// print ''; } - print ''; // Message d'erreur diff --git a/htdocs/compta/paiement/fiche.php b/htdocs/compta/paiement/fiche.php index 4a00c3c201c..a2116c5ee22 100644 --- a/htdocs/compta/paiement/fiche.php +++ b/htdocs/compta/paiement/fiche.php @@ -20,12 +20,12 @@ */ /** - \file htdocs/compta/paiement/fiche.php - \ingroup facture - \brief Onglet paiement d'un paiement client - \remarks Fichier presque identique a fournisseur/paiement/fiche.php - \version $Id$ -*/ + * \file htdocs/compta/paiement/fiche.php + * \ingroup facture + * \brief Onglet paiement d'un paiement client + * \remarks Fichier presque identique a fournisseur/paiement/fiche.php + * \version $Id$ + */ require('./pre.inc.php'); require_once(DOL_DOCUMENT_ROOT.'/paiement.class.php'); @@ -41,7 +41,7 @@ $langs->load('companies'); $id=isset($_GET["id"])?$_GET["id"]:$_POST["id"]; $action=isset($_GET["action"])?$_GET["action"]:$_POST["action"]; if ($user->societe_id) $socid=$user->societe_id; -// TODO ajouter règle pour restreindre acces paiement +// TODO ajouter r�gle pour restreindre acces paiement //$result = restrictedArea($user, 'facture', $id,''); $mesg=''; @@ -81,7 +81,7 @@ if ($_REQUEST['action'] == 'confirm_valide' && $_REQUEST['confirm'] == 'yes' && { $db->commit(); - // \TODO Boucler sur les facture liées à ce paiement et régénèrer le pdf + // \TODO Boucler sur les facture liees a ce paiement et regenerer le pdf $factures=array(); foreach($factures as $id) {