Merged revisions 2171,2173-2176,2178-2179,2181-2187,2189,2191-2194,2196-2230,2232,2234-2244 via svnmerge from
svn+ssh://danydb@svn/svn/phpcompta/branches/rel420 ........ r2174 | danydb | 2008-09-16 21:34:23 +0200 (Tue, 16 Sep 2008) | 3 lines Removed merge tracking for "svnmerge" for svn+ssh://danydb@svn/svn/phpcompta/branches/rel410-exp ........ r2178 | danydb | 2008-09-16 21:43:31 +0200 (Tue, 16 Sep 2008) | 1 line Update version ........ r2191 | danydb | 2008-09-22 20:31:03 +0200 (Mon, 22 Sep 2008) | 1 line Add correct version ........ r2196 | danydb | 2008-10-03 21:46:50 +0200 (Fri, 03 Oct 2008) | 1 line update index version ........ r2234 | danydb | 2008-11-19 20:54:30 +0100 (Wed, 19 Nov 2008) | 1 line Add the payer, not yet finished ........ r2235 | danydb | 2008-11-21 22:34:32 +0100 (Fri, 21 Nov 2008) | 1 line Add the form for setting the medium of payment ........ r2236 | danydb | 2008-11-22 23:15:30 +0100 (Sat, 22 Nov 2008) | 1 line Improve add : payment (second operation) + generation of a note of fee ........ r2237 | danydb | 2008-11-23 01:20:40 +0100 (Sun, 23 Nov 2008) | 1 line Improve Payment method ........ r2238 | danydb | 2008-11-23 01:45:52 +0100 (Sun, 23 Nov 2008) | 1 line Get only the valid payment method ........ r2239 | danydb | 2008-11-24 23:03:34 +0100 (Mon, 24 Nov 2008) | 1 line cosmetic remove debug info ........ r2240 | danydb | 2008-11-24 23:04:07 +0100 (Mon, 24 Nov 2008) | 1 line Filter the search to the good frd_id ........ r2241 | danydb | 2008-11-26 18:11:30 +0100 (Wed, 26 Nov 2008) | 2 lines BUG if no class base is given the flag create account is false ........ r2242 | danydb | 2008-11-26 18:45:56 +0100 (Wed, 26 Nov 2008) | 1 line Create note of fee + database patch ........
This commit is contained in:
parent
e275645199
commit
8e1db97b25
25 changed files with 925 additions and 134 deletions
|
|
@ -194,21 +194,25 @@ function ShowDevise($p_cn)
|
|||
|
||||
$Res=ExecSql($p_cn,"select pm_id,pm_code,pm_rate from parm_money order by pm_code");
|
||||
$Max=pg_NumRows($Res);
|
||||
|
||||
$link='parametre.php?p_action=divers&sa=devise&'.dossier::get();
|
||||
for ($i=0;$i<$Max;$i++) {
|
||||
$l_line=pg_fetch_array($Res,$i);
|
||||
echo '<TR>';
|
||||
echo '<TD>'.$l_line['pm_code'].'</TD>';
|
||||
$l_rate=sprintf("% 10.6f",$l_line['pm_rate']);
|
||||
echo '<TD ALIGN="RIGHT">'.$l_rate.'</TD>';
|
||||
echo "<TD class=\"mtitle\"> <A class=\"mtitle\" HREF=\"parametre.php?p_mid=$l_line[pm_id]&p_action=change&p_code=$l_line[pm_code]&p_rate=$l_line[pm_rate]\">Change</A></TD>";
|
||||
echo "<TD class=\"mtitle\"> <A class=\"mtitle\" HREF=\"parametre.php?p_mid=$l_line[pm_id]&p_action=delete&p_code=$l_line[pm_code]\">Efface</A></TD>";
|
||||
echo "<TD class=\"mtitle\"> <A class=\"mtitle\" HREF=\"$link&p_id=$l_line[pm_id]&sb=ch&p_code=$l_line[pm_code]&p_rate=$l_line[pm_rate]\">Change</A></TD>";
|
||||
echo "<TD class=\"mtitle\"> <A class=\"mtitle\" HREF=\"$link&p_id=$l_line[pm_id]&sb=d&p_code=$l_line[pm_code]\">Efface</A></TD>";
|
||||
echo '</TR>';
|
||||
|
||||
}
|
||||
echo '<TR> <FORM ACTION="parametre.php" METHOD="POST">';
|
||||
echo '<TD> <INPUT TYPE="text" NAME="p_devise"></TD>';
|
||||
echo '<TD> <INPUT TYPE="text" NAME="p_rate"></TD>';
|
||||
echo dossier::hidden();
|
||||
echo '<input type="hidden" name="p_action" value="divers">';
|
||||
echo '<input type="hidden" name="sa" value="devise">';
|
||||
echo '<input type="hidden" name="sb" value="a">';
|
||||
echo '<TD> <INPUT TYPE="SUBMIT" NAME="action" Value="Ajout"</TD>';
|
||||
echo '</FORM></TR>';
|
||||
echo '</TABLE>';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue