noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 07/33: remove euro symbole


From: dwm
Subject: [Noalyss-commit] [noalyss] 07/33: remove euro symbole
Date: Thu, 18 Jul 2024 12:24:43 -0400 (EDT)

sparkyx pushed a commit to branch unstable
in repository noalyss.

commit 8179c2784bf052fbc7f5adf38162c060652a1d2a
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Jun 16 10:34:49 2024 +0200

    remove euro symbole
---
 include/export/export_fiche_detail_pdf.php | 12 ++++++------
 include/export/export_poste_detail_pdf.php | 12 ++++++------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/include/export/export_fiche_detail_pdf.php 
b/include/export/export_fiche_detail_pdf.php
index cec2051c7..4dabf0ba0 100644
--- a/include/export/export_fiche_detail_pdf.php
+++ b/include/export/export_fiche_detail_pdf.php
@@ -98,8 +98,8 @@ for ($e=0;$e<count($array);$e++)
     if ( $current_exercice == "") $current_exercice=$row['p_exercice'];
 
     if ( $current_exercice != $row['p_exercice']) {
-            $str_debit=sprintf("% 12.2f €",$tot_deb);
-            $str_credit=sprintf("% 12.2f €",$tot_cred);
+            $str_debit=sprintf("% 12.2f ",$tot_deb);
+            $str_credit=sprintf("% 12.2f ",$tot_cred);
             $diff_solde=bcsub($tot_deb,$tot_cred);
             if ( $diff_solde < 0 )
             {
@@ -110,7 +110,7 @@ for ($e=0;$e<count($array);$e++)
             {
                  $solde=" "._('débiteur')." ";
             }
-            $str_diff_solde=sprintf("%12.2f €",$diff_solde);
+            $str_diff_solde=sprintf("%12.2f ",$diff_solde);
 
             $pdf->SetFont('DejaVu','B',8);
             $pdf->LongLine(15,6,_('totaux'),0,'L');
@@ -203,8 +203,8 @@ for ($e=0;$e<count($array);$e++)
     }
 
 }
-$str_debit=sprintf("% 12.2f €",$tot_deb);
-$str_credit=sprintf("% 12.2f €",$tot_cred);
+$str_debit=sprintf("% 12.2f ",$tot_deb);
+$str_credit=sprintf("% 12.2f ",$tot_cred);
 $diff_solde=$tot_deb-$tot_cred;
 if ( $diff_solde < 0 )
 {
@@ -215,7 +215,7 @@ else
 {
     $solde=" "._('débiteur')." ";
 }
-$str_diff_solde=sprintf("%12.2f €",$diff_solde);
+$str_diff_solde=sprintf("%12.2f ",$diff_solde);
 
 $pdf->SetFont('DejaVu','B',8);
 
diff --git a/include/export/export_poste_detail_pdf.php 
b/include/export/export_poste_detail_pdf.php
index cda145a4a..db7d54c50 100644
--- a/include/export/export_poste_detail_pdf.php
+++ b/include/export/export_poste_detail_pdf.php
@@ -114,8 +114,8 @@ foreach ($a_poste as $poste)
             if ( $current_exercice == "") $current_exercice=$row['p_exercice'];
             
             if ( $current_exercice != $row['p_exercice']) {
-                    $str_debit=sprintf("% 12.2f €",$tot_deb);
-                    $str_credit=sprintf("% 12.2f €",$tot_cred);
+                    $str_debit=sprintf("% 12.2f ",$tot_deb);
+                    $str_credit=sprintf("% 12.2f ",$tot_cred);
                     $diff_solde=bcsub($tot_deb,$tot_cred);
                     if ( $diff_solde < 0 )
                     {
@@ -126,7 +126,7 @@ foreach ($a_poste as $poste)
                     {
                          $solde=_(" D ");
                     }
-                    $str_diff_solde=sprintf("%12.2f €",$diff_solde);
+                    $str_diff_solde=sprintf("%12.2f ",$diff_solde);
 
                     $pdf->SetFont('DejaVu','B',8);
                     $pdf->write_cell(15,6,_('totaux'),0,0,'L');
@@ -221,8 +221,8 @@ foreach ($a_poste as $poste)
             }
         }
     }
-    $str_debit=sprintf("% 12.2f €",$tot_deb);
-    $str_credit=sprintf("% 12.2f €",$tot_cred);
+    $str_debit=sprintf("% 12.2f ",$tot_deb);
+    $str_credit=sprintf("% 12.2f ",$tot_cred);
     $diff_solde=bcsub($tot_deb,$tot_cred);
     $solde=" = ";
     if ( $diff_solde < 0 )
@@ -234,7 +234,7 @@ foreach ($a_poste as $poste)
     {
         $solde=_(" D ");
     }
-    $str_diff_solde=sprintf("%12.2f €",$diff_solde);
+    $str_diff_solde=sprintf("%12.2f ",$diff_solde);
 
     $pdf->SetFont('DejaVu','B',8);
 



reply via email to

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