noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 40/86: Fix bug CSV for P1TVA , wrong header


From: dwm
Subject: [Noalyss-commit] [noalyss] 40/86: Fix bug CSV for P1TVA , wrong header
Date: Thu, 19 Sep 2024 02:41:53 -0400 (EDT)

sparkyx pushed a commit to branch unstable
in repository noalyss.

commit f51b18324a4c994844646df73a8d48fcbaa5140d
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Fri Sep 6 00:17:42 2024 +0200

    Fix bug CSV for P1TVA , wrong header
---
 include/class/tax_detail.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class/tax_detail.class.php 
b/include/class/tax_detail.class.php
index 1008cc6b3..ab1698fef 100644
--- a/include/class/tax_detail.class.php
+++ b/include/class/tax_detail.class.php
@@ -161,7 +161,7 @@ order by jr_date,j_debit
         $noalyss_csv=new 
Noalyss_Csv(sprintf("tax_detail-{$this->tva_code}-{$this->from}-{$this->to}"));
         $data=$this->get_data();
 
-        $header=["date",'piece',"fiche","poste","base","privé","code 
tva","taux","montant tva","non deductible","recup"];
+        $header=[_("date"),_('piece'),_("n° 
interne"),_("fiche"),_("poste"),_("base"),_("privé"),_("code 
tva"),_("taux"),_("montant tva"),_("non deductible"),_("recup")];
         $noalyss_csv->send_header();
         $noalyss_csv->write_header($header  );
         foreach ($data as $item) {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]