// Attributs composés\r
protected $projet;\r
\r
-\r
public function getBackground()\r
{\r
if ($this->status == 0) {\r
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
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