Author: danydb
Date: 2012-09-16 18:40:59 +0200 (Sun, 16 Sep 2012)
New Revision: 5106
Modified:
phpcompta/tags/rel650/include/class_acc_account_ledger.php
Log:
bug : Impossible d'avoir impression GRAND LIVRE Pour compte non sold?\195?\169
Modified: phpcompta/tags/rel650/include/class_acc_account_ledger.php
===================================================================
--- phpcompta/tags/rel650/include/class_acc_account_ledger.php 2012-09-16
01:01:44 UTC (rev 5105)
+++ phpcompta/tags/rel650/include/class_acc_account_ledger.php 2012-09-16
16:40:59 UTC (rev 5106)
@@ -127,8 +127,7 @@
if ( $solded == 1)
{
$filter=str_replace('jrn_def_id','jr_def_id',$filter_sql);
- $bal_sql="select sum(amount_deb) as s_deb,sum(amount_cred) as
s_cred, j_poste,
- coalesce(comptaproc.get_letter_jnt(j_id),-1)
as letter
+ $bal_sql="select sum(amount_deb) as s_deb,sum(amount_cred) as
s_cred, j_poste
from
(select case when j_debit='t' then j_montant else 0 end as amount_deb,
case when
j_debit='f' then j_montant else 0 end as amount_cred,
j_poste
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
_______________________________________________
Phpcompta est un logiciel libre de comptabilité en ligne
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev