]> _ Git - cubeextranet.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 11 Jan 2010 09:34:10 +0000 (09:34 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 11 Jan 2010 09:34:10 +0000 (09:34 +0000)
inc/extranet/Metier/class.extranet.facture.php

index 56f8ae8386e9560f774ca41294dfcf6b68168875..e9d00995a49d04c03e59caa6ea7d0bb2b7bd16fa 100644 (file)
@@ -9,7 +9,6 @@ class extranetFacture extends extranetDocument {
        // Attributs composés\r
        protected $projet;\r
 \r
-\r
        public function getBackground()\r
        {\r
                if ($this->status == 0) {\r
@@ -27,7 +26,7 @@ class extranetFacture extends extranetDocument {
        protected function documentTitre()\r
        {\r
                $lang = $this->client->lang;\r
-               if ($this->status == 4 || $this->total_ht<0) {\r
+               if ($this->status == 4 || $this->total_ht < 0) {\r
                        $titre = __('AVOIR');\r
                } else {\r
                        $titre = __('FACTURE');\r
@@ -40,13 +39,14 @@ class extranetFacture extends extranetDocument {
                if ($lang == 'fr') {\r
                        $titre .= 'Le ' . strftime('%d %B %Y', $this->date_creation);\r
                } else {\r
-                       $titre .= date('F jS Y');\r
+                       $titre .= date('F jS Y', $this->date_creation);\r
                }\r
                $titre .= "\n\n" . $this->nom;\r
                return $titre;\r
        }\r
 \r
-       protected function isFacture(){\r
+       protected function isFacture()\r
+       {\r
                return true;\r
        }\r
 }\r