fix recap devis delete white space
This commit is contained in:
parent
085acaf193
commit
06a2e8fb2a
@ -118,17 +118,17 @@ class DevisPdfLayoutManager
|
||||
$pdf->MultiCell(0, 7, trim(\OCA\Gestion\Helpers\FileExportHelpers::FormatTextForExport($clientInfo['address'])));
|
||||
$pdf->SetMargins(0, 0, 0);
|
||||
|
||||
$clientInfoYAxis += 14;
|
||||
$clientInfoYAxis += 7;
|
||||
$pdf->SetXY($clientInfoXAxis, $clientInfoYAxis);
|
||||
$pdf->Cell(0, 7, trim(mb_convert_encoding(html_entity_decode($clientInfo['city']), 'ISO-8859-1', 'UTF-8')));
|
||||
|
||||
if (!empty($clientInfo['siret'])) {
|
||||
if (isset($clientInfo['siret']) && trim($clientInfo['siret']) !== '' && $clientInfo['siret'] !== null) {
|
||||
$clientInfoYAxis += 7;
|
||||
$pdf->SetXY($clientInfoXAxis, $clientInfoYAxis);
|
||||
$pdf->Cell(0, 7, 'Siret: ' . \OCA\Gestion\Helpers\FileExportHelpers::FormatTextForExport($clientInfo['siret']));
|
||||
}
|
||||
|
||||
if (!empty($clientInfo['email'])) {
|
||||
if (isset($clientInfo['email']) && trim($clientInfo['email']) !== '' && $clientInfo['email'] !== null) {
|
||||
$clientInfoYAxis += 7;
|
||||
$pdf->SetXY($clientInfoXAxis, $clientInfoYAxis);
|
||||
$pdf->Cell(0, 7, 'Email: ' . mb_convert_encoding(html_entity_decode($clientInfo['email']), 'ISO-8859-1', 'UTF-8'));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user