From: vincent@cubedesigners.com Date: Mon, 11 Jan 2010 09:34:10 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f43f5386b5f7c8a3d27985ca942d2c553fedfd9d;p=cubeextranet.git --- diff --git a/inc/extranet/Metier/class.extranet.facture.php b/inc/extranet/Metier/class.extranet.facture.php index 56f8ae838..e9d00995a 100644 --- a/inc/extranet/Metier/class.extranet.facture.php +++ b/inc/extranet/Metier/class.extranet.facture.php @@ -9,7 +9,6 @@ class extranetFacture extends extranetDocument { // Attributs composés protected $projet; - public function getBackground() { if ($this->status == 0) { @@ -27,7 +26,7 @@ class extranetFacture extends extranetDocument { protected function documentTitre() { $lang = $this->client->lang; - if ($this->status == 4 || $this->total_ht<0) { + if ($this->status == 4 || $this->total_ht < 0) { $titre = __('AVOIR'); } else { $titre = __('FACTURE'); @@ -40,13 +39,14 @@ class extranetFacture extends extranetDocument { if ($lang == 'fr') { $titre .= 'Le ' . strftime('%d %B %Y', $this->date_creation); } else { - $titre .= date('F jS Y'); + $titre .= date('F jS Y', $this->date_creation); } $titre .= "\n\n" . $this->nom; return $titre; } - protected function isFacture(){ + protected function isFacture() + { return true; } }