Remplacement du mot "[edit]" par la fonction img_edit();
Suppression d'un mot "total" en double et mal placé. Affichage du numéro de CHQ, VIR... à coté du type de virement et non plus à côté du libellé de la transaction. Changement du text "prev" et "next" par "Relevé suivant" et "Relevé précédent"
This commit is contained in:
parent
f8355c5f9e
commit
dbe4d4ec6f
@ -1,5 +1,6 @@
|
|||||||
<?PHP
|
<?PHP
|
||||||
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
|
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -121,8 +122,8 @@ else
|
|||||||
print_titre('Releve numéro '.$_GET["num"].' compte : <a href="account.php?account='.$acct->id.'">'.$acct->label.'</a>');
|
print_titre('Releve numéro '.$_GET["num"].' compte : <a href="account.php?account='.$acct->id.'">'.$acct->label.'</a>');
|
||||||
|
|
||||||
print "<table border=0 width=100%><tr><td> </td>";
|
print "<table border=0 width=100%><tr><td> </td>";
|
||||||
print "<td align=right><a href=\"$PHP_SELF?rel=prev&num=$num&ve=$ve&account=$acct->id\"><- prev</a>";
|
print "<td align=right><a href=\"$PHP_SELF?rel=prev&num=$num&ve=$ve&account=$acct->id\"><- Relevé précédent</a>";
|
||||||
print " - <a href=\"$PHP_SELF?rel=next&num=$num&ve=$ve&account=$acct->id\">next -></a></td></tr></table>";
|
print " - <a href=\"$PHP_SELF?rel=next&num=$num&ve=$ve&account=$acct->id\">Relevé suivant -></a></td></tr></table>";
|
||||||
print "<form method=\"post\" action=\"$PHP_SELF\">";
|
print "<form method=\"post\" action=\"$PHP_SELF\">";
|
||||||
print "<input type=\"hidden\" name=\"action\" value=\"add\">";
|
print "<input type=\"hidden\" name=\"action\" value=\"add\">";
|
||||||
print '<table class="border" width="100%" cellspacing="0" cellpadding="2">';
|
print '<table class="border" width="100%" cellspacing="0" cellpadding="2">';
|
||||||
@ -152,8 +153,8 @@ else
|
|||||||
$var=True;
|
$var=True;
|
||||||
$numrows = $db->num_rows();
|
$numrows = $db->num_rows();
|
||||||
$i = 0;
|
$i = 0;
|
||||||
print "<tr><td colspan=\"3\"><a href=\"$PHP_SELF?num=".$_GET["num"]."&ve=1&rel=$rel&account=".$acct->id."\">vue etendue</a></td>";
|
print "<tr><td colspan=\"3\"><a href=\"$PHP_SELF?num=".$_GET["num"]."&ve=1&rel=$rel&account=".$acct->id."\">Vue etendue</a></td>";
|
||||||
print "<td align=\"right\" colspan=\"2\">Total :</td><td align=\"right\"><b>".price($total)."</b></td><td> </td></tr>\n";
|
print "<td align=\"right\" colspan=\"2\"> </td><td align=\"right\"><b>".price($total)."</b></td><td> </td></tr>\n";
|
||||||
|
|
||||||
while ($i < $numrows)
|
while ($i < $numrows)
|
||||||
{
|
{
|
||||||
@ -164,8 +165,8 @@ else
|
|||||||
print "<tr $bc[$var]>";
|
print "<tr $bc[$var]>";
|
||||||
|
|
||||||
print "<td>".strftime("%d %b %Y",$objp->do)."</TD>\n";
|
print "<td>".strftime("%d %b %Y",$objp->do)."</TD>\n";
|
||||||
print '<td>'.$objp->fk_type.'</td>';
|
print '<td>'.$objp->fk_type.' '.($objp->num_chq?$objp->num_chq:'').'</td>';
|
||||||
print "<td>$objp->num_chq $objp->label";
|
print "<td>$objp->label";
|
||||||
|
|
||||||
if ($ve)
|
if ($ve)
|
||||||
{
|
{
|
||||||
@ -206,7 +207,9 @@ else
|
|||||||
|
|
||||||
if ($user->rights->banque->modifier)
|
if ($user->rights->banque->modifier)
|
||||||
{
|
{
|
||||||
print "<td align=\"center\">[<a href=\"ligne.php?rowid=$objp->rowid&account=".$acct->id."\">edit</a>]</td>";
|
print "<td align=\"center\"><a href=\"ligne.php?rowid=$objp->rowid&account=".$acct->id."\">";
|
||||||
|
print img_edit();
|
||||||
|
print "</a></td>";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user