diff --git a/models/HTMLTemplateEverQuotationPdf.php b/models/HTMLTemplateEverQuotationPdf.php index f3aa6df..246eb83 100644 --- a/models/HTMLTemplateEverQuotationPdf.php +++ b/models/HTMLTemplateEverQuotationPdf.php @@ -113,7 +113,7 @@ public function getHeader() $newDateTimestamp = strtotime($everpsquotation->date_add . " +{$this->duration} days"); // Formater la nouvelle date au format 'd/m/Y' - $deadline = date('d/m/Y', $newDateTimestamp); + $deadline = date('Y-m-d h:m:s', $newDateTimestamp); } else { $deadline = false; }