[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r4080 - phpcompta/trunk/include/template
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r4080 - phpcompta/trunk/include/template |
Date: |
Fri, 6 May 2011 20:42:41 +0200 (CEST) |
Author: danydb
Date: 2011-05-06 20:42:41 +0200 (Fri, 06 May 2011)
New Revision: 4080
Modified:
phpcompta/trunk/include/template/ledger_detail_bottom.php
Log:
#253 add comment in popin detail
Modified: phpcompta/trunk/include/template/ledger_detail_bottom.php
===================================================================
--- phpcompta/trunk/include/template/ledger_detail_bottom.php 2011-05-06
18:34:51 UTC (rev 4079)
+++ phpcompta/trunk/include/template/ledger_detail_bottom.php 2011-05-06
18:42:41 UTC (rev 4080)
@@ -12,7 +12,8 @@
$opRap=new Acc_Operation($cn);
$opRap->jr_id=$aRap[$e];
$internal=$opRap->get_internal();
- $amount=$cn->get_value('select jr_montant from jrn where
jr_id=$1',array($aRap[$e]));
+ $array_jr=$cn->get_array('select jr_montant,jr_comment from jrn where
jr_id=$1',array($aRap[$e]));
+ $amount=$array_jr[0]['jr_montant'];
$str="modifyOperation(".$aRap[$e].",".$gDossier.")";
$rmReconciliation=new IButton('rmr');
$rmReconciliation->label='enlever';
@@ -28,7 +29,7 @@
$remove=$rmReconciliation->input();
else
$remove='';
- echo tr (td('<a href="javascript:void(0)" onclick="'.$str.'"
>'.$internal.'</A>').td($amount).td($remove));
+ echo tr (td('<a href="javascript:void(0)" onclick="'.$str.'"
>'.$internal.'</A>').td($amount).td($array_jr[0]['jr_comment']).td($remove));
}
echo '</table>';
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r4080 - phpcompta/trunk/include/template,
phpcompta-dev <=