Merge branch 'fixes/fix-mail-facture' into staging
This commit is contained in:
commit
8c94a219e1
@ -113,7 +113,7 @@ class InvoiceController extends Controller
|
|||||||
|
|
||||||
$message->setHtmlBody(
|
$message->setHtmlBody(
|
||||||
"<p>Bonjour.</p>".
|
"<p>Bonjour.</p>".
|
||||||
"<p> Vous trouverez en pièce jointe la facture des soins de « " . $factureDate . " » .</p>".
|
"<p> Vous trouverez en pièce jointe la facture des soins de " . $factureDate . ".</p>".
|
||||||
$signature
|
$signature
|
||||||
);
|
);
|
||||||
$appAdminEmail = $this->gestionRepository->getUserEmailByNextcloudId(BddConstant::DEFAULT_ADMIN_APP_ID_NEXTCLOUD);
|
$appAdminEmail = $this->gestionRepository->getUserEmailByNextcloudId(BddConstant::DEFAULT_ADMIN_APP_ID_NEXTCLOUD);
|
||||||
|
|||||||
@ -238,10 +238,9 @@ class InvoiceGroupPdfHandler extends FPDF {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->SetXY($clientInfoXAxis,$clientInfoYAxis);
|
|
||||||
$this->Cell(0, $this->interLigneHeader, trim(FileExportHelpers::FormatTextForExport($this->factureData['client_adress_city'])));
|
$this->Cell(0, $this->interLigneHeader, trim(FileExportHelpers::FormatTextForExport($this->factureData['client_adress_city'])));
|
||||||
if($this->factureData['siret']){
|
if($this->factureData['siret']){
|
||||||
$clientInfoYAxis += $this->interLigneHeader;
|
$clientInfoYAxis += $this->interLigneHeader +1 ;
|
||||||
$this->SetXY($clientInfoXAxis,$clientInfoYAxis);
|
$this->SetXY($clientInfoXAxis,$clientInfoYAxis);
|
||||||
$this->Cell(0, $this->interLigneHeader, 'Siret: ' . $this->factureData['siret']);
|
$this->Cell(0, $this->interLigneHeader, 'Siret: ' . $this->factureData['siret']);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -51,7 +51,7 @@ class MailerService {
|
|||||||
if (!$signatureImage) {
|
if (!$signatureImage) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
return "<img style= 'width: 250px;height: 150;' src='data:image/jpeg;base64,".base64_encode($signatureImage)."'>" ;
|
return "<img style= 'width: 250px;height: 150px;' src='data:image/jpeg;base64,".base64_encode($signatureImage)."'>" ;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function getSignatureContent(){
|
private function getSignatureContent(){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user