diff --git a/gestion/lib/Db/Bdd.php b/gestion/lib/Db/Bdd.php index 2031d4c..564819e 100644 --- a/gestion/lib/Db/Bdd.php +++ b/gestion/lib/Db/Bdd.php @@ -2977,6 +2977,7 @@ class Bdd { client.nom as client_nom, client.entreprise as client_entreprise, client.adresse as client_adresse, + client.mail as client_mail, defunt.nom as defunt_nom, defunt.sexe as defunt_sexe, lieu.nom as lieu_nom, diff --git a/gestion/lib/Service/InvoicePdfHandler.php b/gestion/lib/Service/InvoicePdfHandler.php index ec46795..b5ea872 100644 --- a/gestion/lib/Service/InvoicePdfHandler.php +++ b/gestion/lib/Service/InvoicePdfHandler.php @@ -111,7 +111,8 @@ class InvoicePdfHandler extends FPDF { $this->Cell(0, 7, trim(FileExportHelpers::FormatTextForExport($this->factureData['client_adress_city'])), 0, 1,'R'); $this->Cell(0, 7, FileExportHelpers::FormatTextForExport('Tél : ') . FileExportHelpers::FormatTextForExport($this->factureData['configuration']->telephone),0,0); $this->Cell(0, 7, FileExportHelpers::FormatTextForExport('Numéro') . ' Siret: ' . $this->factureData['siret'], 0, 1,'R'); - $this->Cell(0, 7, 'Mail : ' . $this->factureData['configuration']->mail, 0, 1); + $this->Cell(0, 7, 'Mail : ' . $this->factureData['configuration']->mail, 0, 0); + $this->Cell(0, 7, FileExportHelpers::FormatTextForExport('Mail : ') . $this->factureData['client_mail'], 0, 1,'R'); $this->Ln(3); }