Bonsoir Jérôme,

Le Tue, 7 Aug 2007 22:40:07 +0200 (CEST), Jérôme Warnier a écrit:
> Est-ce que tu pourrais nous expliquer succinctement ce qui change?

 Il n'y a que trois lignes modifiées :

  un typo "total_ht" -> "totalht"
  et deux "my_coll_rate" -> "my_paye_rate"

> Et à mon avis, utiliser "diff -u" serait mieux pour fournir des patches
> (mais je ne sais pas ce qui se fait ici).

 Ainsi soit-il, voir ci-attaché.

 Bonne fin de journée.

-- 
Gaëtan
Index: quadri_detail.php
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/htdocs/compta/tva/quadri_detail.php,v
retrieving revision 1.4
diff -c -u -r1.4 quadri_detail.php
--- quadri_detail.php   1 Mar 2007 19:42:48 -0000       1.4
+++ quadri_detail.php   7 Aug 2007 20:45:09 -0000
@@ -225,13 +225,13 @@
                        $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']['totalht'] = 0;  
        
                                $x_both[$my_paye_rate]['coll']['vat'] = 0;      
        
                        }
                        $x_both[$my_paye_rate]['paye']['links'] = '';
-                       $x_both[$my_coll_rate]['paye']['detail'] = array();
+                       $x_both[$my_paye_rate]['paye']['detail'] = array();
                        foreach($x_paye[$my_paye_rate]['facid'] as $id=>$dummy){
-                               $x_both[$my_coll_rate]['paye']['detail'][] = 
array(
+                               $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 à