dolibarr-dev
[Top][All Lists]
Advanced

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

Re: [Dolibarr-dev] Réglementation des numéros de factures


From: Christophe
Subject: Re: [Dolibarr-dev] Réglementation des numéros de factures
Date: Mon, 22 Aug 2005 19:45:51 -0400

Le lundi 22 août 2005 à 19:34 -0400, Christophe a écrit :
> Dans ce cas, ne pourrait-il pas être retiré du pied de pdf si le SIREN
> existe ?

Genre :

--- /var/www/dolibarrcvs/htdocs/includes/modules/facture/pdf_crabe.modules.php 
2005-08-22 19:27:57.000000000 -0400
+++ /var/www/dolibarr/htdocs/includes/modules/facture/pdf_crabe.modules.php    
2005-08-22 19:43:18.000000000 -0400
@@ -788,14 +792,15 @@
         {
             $ligne.=($ligne?" - ":"").$langs->transcountry("ProfId1",
$this->code_pays).": ".$conf->global->MAIN_INFO_SIREN;
         }
-        if ($conf->global->MAIN_INFO_SIRET)
-        {
-            $ligne.=($ligne?" - ":"").$langs->transcountry("ProfId2",
$this->code_pays).": ".$conf->global->MAIN_INFO_SIRET;
-        }
-        if ($conf->global->MAIN_INFO_APE)
-        {
-            $ligne.=($ligne?" - ":"").$langs->transcountry("ProfId3",
$this->code_pays).": ".MAIN_INFO_APE;
-        }
+        else
+            if ($conf->global->MAIN_INFO_SIRET)
+            {
+                $ligne.=($ligne?" -
":"").$langs->transcountry("ProfId2",$this->code_pays).":
".$conf->global->MAIN_INFO_SIRET;
+            }
+            if ($conf->global->MAIN_INFO_APE)
+            {
+                $ligne.=($ligne?" -
":"").$langs->transcountry("ProfId3",$this->code_pays).":
".MAIN_INFO_APE;
+            }

         if ($ligne)
         {


-- 
Christophe





reply via email to

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