[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r4568 - phpcompta/trunk/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r4568 - phpcompta/trunk/include |
Date: |
Tue, 6 Dec 2011 23:08:48 +0100 (CET) |
Author: danydb
Date: 2011-12-06 23:08:47 +0100 (Tue, 06 Dec 2011)
New Revision: 4568
Modified:
phpcompta/trunk/include/compta_fin_rec.inc.php
Log:
Si rapprochement ?\195?\169choue, r?\195?\169affiche les choix
pr?\195?\169c?\195?\169dents
Modified: phpcompta/trunk/include/compta_fin_rec.inc.php
===================================================================
--- phpcompta/trunk/include/compta_fin_rec.inc.php 2011-12-06 22:00:31 UTC
(rev 4567)
+++ phpcompta/trunk/include/compta_fin_rec.inc.php 2011-12-06 22:08:47 UTC
(rev 4568)
@@ -95,9 +95,11 @@
echo '<span id="bkname">' . hb(h($Ledger->get_bank_name())) . '</span>';
echo '<p>';
$iextrait = new IText('ext');
-$iextrait->value = $Ledger->guess_pj();
+if ( isset ($_POST['ext'])) $iextrait->value=$_POST['ext']; else
$iextrait->value = $Ledger->guess_pj();
$nstart_extrait = new INum('start_extrait');
+if( isset($_POST['start_extrait']))
$nstart_extrait->value=$_POST['start_extrait'];
$nend_extrait = new INum('end_extrait');
+if( isset($_POST['end_extrait'])) $nend_extrait->value=$_POST['end_extrait'];
echo "Extrait / relevé :" . $iextrait->input();
echo 'solde Début' . $nstart_extrait->input();
@@ -128,6 +130,18 @@
$tot_not_reconcilied+=$row['jr_montant'];
$diff+=$cn->get_value('select qf_amount from quant_fin where jr_id=$1',
array($row['jr_id']));
$iradio->value = $row['jr_id'];
+ $iradio->selected=false;
+ if (isset($_POST['op']))
+ {
+ for ($x=0;$x<count($_POST['op']);$x++)
+ {
+ if ($row['jr_id']==$_POST['op'][$x])
+ {
+ $iradio->selected=true;
+ break;
+ }
+ }
+ }
$r.=td(HtmlInput::hidden('jrid[]', $row['jr_id']) . $iradio->input(), '
style="text-align:center" ');
if ($i % 2 == 0)
echo tr($r, ' class="odd" ');
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r4568 - phpcompta/trunk/include,
phpcompta-dev <=