[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r4559 - phpcompta/trunk/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r4559 - phpcompta/trunk/include |
Date: |
Mon, 5 Dec 2011 21:20:16 +0100 (CET) |
Author: danydb
Date: 2011-12-05 21:20:15 +0100 (Mon, 05 Dec 2011)
New Revision: 4559
Modified:
phpcompta/trunk/include/class_acc_ledger_fin.php
Log:
Fix bug when several op. reconcilied
Modified: phpcompta/trunk/include/class_acc_ledger_fin.php
===================================================================
--- phpcompta/trunk/include/class_acc_ledger_fin.php 2011-12-05 20:19:05 UTC
(rev 4558)
+++ phpcompta/trunk/include/class_acc_ledger_fin.php 2011-12-05 20:20:15 UTC
(rev 4559)
@@ -530,8 +530,11 @@
$r.='<td style="text-align:center">';
if (${"e_concerned".$i} != '')
{
- $jr_internal=$this->db->get_value("select
jr_internal from jrn where jr_id=$1",array(${"e_concerned".$i}));
- $r.=HtmlInput::detail_op(${"e_concerned".$i},$jr_internal);
+ $jr_internal=$this->db->get_array("select
jr_internal from jrn where jr_id in (".${"e_concerned".$i}.")");
+ for ($x=0;$x<count($jr_internal);$x++)
+ {
+
$r.=HtmlInput::detail_op(${"e_concerned".$i},$jr_internal[$x]['jr_internal']);
+ }
}
$r.='</td>';
// encode the pa
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r4559 - phpcompta/trunk/include,
phpcompta-dev <=