[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 79/219: PRINTGL : do not print accounting wit
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 79/219: PRINTGL : do not print accounting without operation |
Date: |
Mon, 18 Dec 2017 13:22:41 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 53cad342d79e3f914b4d643bbc28928ea1b457eb
Author: Dany De Bontridder <address@hidden>
Date: Tue Oct 10 15:40:43 2017 +0200
PRINTGL : do not print accounting without operation
---
include/export/export_gl_pdf.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/export/export_gl_pdf.php b/include/export/export_gl_pdf.php
index befc3e9..6d3faa5 100644
--- a/include/export/export_gl_pdf.php
+++ b/include/export/export_gl_pdf.php
@@ -72,7 +72,7 @@ $sql=$sql.$cond_poste.' order by pcm_val::text';
$a_poste=$cn->get_array($sql);
$pdf = new PDF($cn);
-$pdf->setDossierInfo(" Periode : ".$from_periode." - ".$to_periode);
+$pdf->setDossierInfo(_(" Periode : ").$from_periode." - ".$to_periode);
$pdf->AliasNbPages();
$pdf->AddPage();
$pdf->setTitle("Grand Livre",true);
@@ -85,7 +85,7 @@ if ( count($a_poste) == 0 )
}
// Header
-$header = array( "Date", "Référence", "Libellé", "Pièce","Let", "Débit",
"Crédit", "Solde" );
+$header = array( _("Date"), _("Référence"), _("Libellé"), _("Pièce"),_("Let"),
_("Débit"), _("Crédit"), _("Solde") );
// Left or Right aligned
$lor = array( "L" , "L" , "L" , "L" , "R", "R" , "R"
, "R" );
// Column widths (in mm)
@@ -101,7 +101,7 @@ foreach ($a_poste as $poste)
$array1=$Poste->get_row_date($from_periode,$to_periode,$l,$s);
// don't print empty account
- if ( count($array1) == 0 )
+ if ( count($array1[0]) == 0 )
{
continue;
}
- [Noalyss-commit] [noalyss] 94/219: Fix background color for button 'modele operation', (continued)
- [Noalyss-commit] [noalyss] 94/219: Fix background color for button 'modele operation', Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 139/219: Javascript : small error, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 42/219: SQL : protection injection, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 75/219: PRINTJRN Use new class http_input, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 82/219: Fix Doxygen issue : @example must be in a function otherwise the detailed section of Doxygen disappear, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 64/219: Inplace_Edit : cosmetic, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 137/219: Infobulle : avoid that the info balloon exceed limit of the display, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 193/219: SansationLight add the readme.txt file with license, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 85/219: Task #1349 : si une seule catégorie de fiche , alors on ne doit pas la choisir, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 07/219: Bug : cannot print action in profil Cannot add a export / printing in profile, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 79/219: PRINTGL : do not print accounting without operation,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 182/219: Icon move / fix, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 111/219: Comment Table, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 92/219: Esthetic : hide some columns when screen too small, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 39/219: Acc_Reconciliation : improve function get_amount_noautovat, set the prepare query inside the function, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 172/219: Merge branch 'master' of ns3:/srv/git/noalyss, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 143/219: ANC : balance analytique / comptabilité, corrige bug SQL, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 155/219: Task #1493 Encodage VEN , ACH, Ordre des opérations Déplacement du bouton modèle d'opérations, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 130/219: ANC groupe : little bug in PLANANC, allow a group null, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 142/219: ANC : balance croisée double fixe SQL query, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 160/219: INSTALL : check PHP version minimum 5.5, Dany De Bontridder, 2017/12/18