[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 02/03: Esthetic : in operation detail , we di
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 02/03: Esthetic : in operation detail , we display the date of the linked operation |
Date: |
Wed, 03 Jun 2015 21:18:47 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit d181934cb2575ca71a098bae47513abb076137e2
Author: Dany De Bontridder <address@hidden>
Date: Wed Jun 3 23:12:07 2015 +0200
Esthetic : in operation detail , we display the date of the linked operation
---
include/template/ledger_detail_bottom.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/template/ledger_detail_bottom.php
b/include/template/ledger_detail_bottom.php
index 68ac3e3..6d0ce65 100644
--- a/include/template/ledger_detail_bottom.php
+++ b/include/template/ledger_detail_bottom.php
@@ -162,7 +162,7 @@ if ($aRap != null ) {
$opRap=new Acc_Operation($cn);
$opRap->jr_id=$aRap[$e];
$internal=$opRap->get_internal();
- $array_jr=$cn->get_array('select jr_montant,jr_comment from jrn where
jr_id=$1',array($aRap[$e]));
+ $array_jr=$cn->get_array('select jr_date,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');
@@ -182,7 +182,7 @@ if ($aRap != null ) {
$remove='';
$comment=strip_tags($array_jr[0]['jr_comment']);
- echo tr (td('<a class="line" href="javascript:void(0)" onclick="'.$str.'"
>'.$internal.'</A>').td(nbm($amount)).td($comment).td($remove));
+ echo tr (td(format_date($array_jr[0]['jr_date'])).td('<a class="line"
href="javascript:void(0)" onclick="'.$str.'"
>'.$internal.'</A>').td($comment).td(nbm($amount)).td($remove));
}
echo '</table>';
}