Bonsoir,

Ci-attaché, une toute petite correction qui a rendu mon rapport
trimestriel de TVA beaucoup plus complet et compréhensible.

Bonne nuit.

-- 
Gaëtan
Index: quadri_detail.php
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/htdocs/compta/tva/quadri_detail.php,v
retrieving revision 1.4
diff -c -r1.4 quadri_detail.php
*** quadri_detail.php   1 Mar 2007 19:42:48 -0000       1.4
--- quadri_detail.php   3 Aug 2007 22:21:27 -0000
***************
*** 225,237 ****
                        $x_both[$my_paye_rate]['paye']['totalht'] = 
$x_paye[$my_paye_rate]['totalht'];
                        $x_both[$my_paye_rate]['paye']['vat'] = 
$x_paye[$my_paye_rate]['vat'];
                        if(!isset($x_both[$my_paye_rate]['coll']['totalht'])){
!                               $x_both[$my_paye_rate]['coll']['total_ht'] = 0; 
        
                                $x_both[$my_paye_rate]['coll']['vat'] = 0;      
        
                        }
                        $x_both[$my_paye_rate]['paye']['links'] = '';
!                       $x_both[$my_coll_rate]['paye']['detail'] = array();
                        foreach($x_paye[$my_paye_rate]['facid'] as $id=>$dummy){
!                               $x_both[$my_coll_rate]['paye']['detail'][] = 
array(
                                        
'id'=>$x_paye[$my_paye_rate]['facid'][$id],
                                        
'descr'=>$x_paye[$my_paye_rate]['descr'][$id],
                                        'link'=>'<a 
href="../facture.php?facid='.$x_paye[$my_paye_rate]['facid'][$id].'" 
title="'.$langs->trans("Invoice").' 
'.$x_paye[$my_paye_rate]['facnum'][$id].'">'.$x_paye[$my_paye_rate]['facnum'][$id].'</a>
 ',
--- 225,237 ----
                        $x_both[$my_paye_rate]['paye']['totalht'] = 
$x_paye[$my_paye_rate]['totalht'];
                        $x_both[$my_paye_rate]['paye']['vat'] = 
$x_paye[$my_paye_rate]['vat'];
                        if(!isset($x_both[$my_paye_rate]['coll']['totalht'])){
!                               $x_both[$my_paye_rate]['coll']['totalht'] = 0;  
        
                                $x_both[$my_paye_rate]['coll']['vat'] = 0;      
        
                        }
                        $x_both[$my_paye_rate]['paye']['links'] = '';
!                       $x_both[$my_paye_rate]['paye']['detail'] = array();
                        foreach($x_paye[$my_paye_rate]['facid'] as $id=>$dummy){
!                               $x_both[$my_paye_rate]['paye']['detail'][] = 
array(
                                        
'id'=>$x_paye[$my_paye_rate]['facid'][$id],
                                        
'descr'=>$x_paye[$my_paye_rate]['descr'][$id],
                                        'link'=>'<a 
href="../facture.php?facid='.$x_paye[$my_paye_rate]['facid'][$id].'" 
title="'.$langs->trans("Invoice").' 
'.$x_paye[$my_paye_rate]['facnum'][$id].'">'.$x_paye[$my_paye_rate]['facnum'][$id].'</a>
 ',
_______________________________________________
Dolibarr-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à