Look: Minor fix
This commit is contained in:
parent
070662bcd1
commit
54da829a83
@ -321,6 +321,8 @@ if ($_GET['action'] == 'create' || $_POST['action'] == 'confirm_paiement' || $_P
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td><input name="chqbank" size="30" type="text" value="'.(empty($_POST['chqbank'])?'':$_POST['chqbank']).'"></td></tr>';
|
print '<td><input name="chqbank" size="30" type="text" value="'.(empty($_POST['chqbank'])?'':$_POST['chqbank']).'"></td></tr>';
|
||||||
|
|
||||||
|
print '</table>';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* List of unpayed invoices
|
* List of unpayed invoices
|
||||||
*/
|
*/
|
||||||
@ -349,7 +351,8 @@ if ($_GET['action'] == 'create' || $_POST['action'] == 'confirm_paiement' || $_P
|
|||||||
{
|
{
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
print '<tr><td colspan="3">';
|
//print '<tr><td colspan="3">';
|
||||||
|
print '<br>';
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td>'.$langs->trans('Invoice').'</td>';
|
print '<td>'.$langs->trans('Invoice').'</td>';
|
||||||
@ -439,7 +442,8 @@ if ($_GET['action'] == 'create' || $_POST['action'] == 'confirm_paiement' || $_P
|
|||||||
print '<td align="center"> </td>';
|
print '<td align="center"> </td>';
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
}
|
}
|
||||||
print "</table></td></tr>\n";
|
print "</table>";
|
||||||
|
//print "</td></tr>\n";
|
||||||
}
|
}
|
||||||
$db->free($resql);
|
$db->free($resql);
|
||||||
}
|
}
|
||||||
@ -452,10 +456,11 @@ if ($_GET['action'] == 'create' || $_POST['action'] == 'confirm_paiement' || $_P
|
|||||||
// Bouton Enregistrer
|
// Bouton Enregistrer
|
||||||
if ($_POST["action"] != 'add_paiement')
|
if ($_POST["action"] != 'add_paiement')
|
||||||
{
|
{
|
||||||
print '<tr><td colspan="3" align="center"><input type="submit" class="button" value="'.$langs->trans('Save').'"></td></tr>';
|
// print '<tr><td colspan="3" align="center">';
|
||||||
|
print '<br><center><input type="submit" class="button" value="'.$langs->trans('Save').'"></center>';
|
||||||
|
// print '</td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
print '</table>';
|
|
||||||
|
|
||||||
|
|
||||||
// Message d'erreur
|
// Message d'erreur
|
||||||
|
|||||||
@ -20,11 +20,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/compta/paiement/fiche.php
|
* \file htdocs/compta/paiement/fiche.php
|
||||||
\ingroup facture
|
* \ingroup facture
|
||||||
\brief Onglet paiement d'un paiement client
|
* \brief Onglet paiement d'un paiement client
|
||||||
\remarks Fichier presque identique a fournisseur/paiement/fiche.php
|
* \remarks Fichier presque identique a fournisseur/paiement/fiche.php
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require('./pre.inc.php');
|
require('./pre.inc.php');
|
||||||
@ -41,7 +41,7 @@ $langs->load('companies');
|
|||||||
$id=isset($_GET["id"])?$_GET["id"]:$_POST["id"];
|
$id=isset($_GET["id"])?$_GET["id"]:$_POST["id"];
|
||||||
$action=isset($_GET["action"])?$_GET["action"]:$_POST["action"];
|
$action=isset($_GET["action"])?$_GET["action"]:$_POST["action"];
|
||||||
if ($user->societe_id) $socid=$user->societe_id;
|
if ($user->societe_id) $socid=$user->societe_id;
|
||||||
// TODO ajouter règle pour restreindre acces paiement
|
// TODO ajouter r<EFBFBD>gle pour restreindre acces paiement
|
||||||
//$result = restrictedArea($user, 'facture', $id,'');
|
//$result = restrictedArea($user, 'facture', $id,'');
|
||||||
|
|
||||||
$mesg='';
|
$mesg='';
|
||||||
@ -81,7 +81,7 @@ if ($_REQUEST['action'] == 'confirm_valide' && $_REQUEST['confirm'] == 'yes' &&
|
|||||||
{
|
{
|
||||||
$db->commit();
|
$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();
|
$factures=array();
|
||||||
foreach($factures as $id)
|
foreach($factures as $id)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user