fix adresse trim
This commit is contained in:
parent
04b3c5ca2c
commit
77eb600361
@ -827,9 +827,9 @@ class PageController extends Controller {
|
||||
$pdf->SetFont('Arial','B',size: 11);
|
||||
$pdf->SetY(40);
|
||||
$pdf->Cell( 0, 8, utf8_decode($current_client), 0, 1, 'R');
|
||||
$pdf->Cell( 0, 8, utf8_decode(html_entity_decode($clientAddress)), 0,1,'R');
|
||||
$pdf->Cell( 0, 8, trim(utf8_decode(html_entity_decode($clientAddress))), 0,1,'R');
|
||||
if($clientCity != ''){
|
||||
$pdf->Cell( 0, 8, utf8_decode(html_entity_decode($clientCity)), 0, 1, 'R');
|
||||
$pdf->Cell( 0, 8, trim(utf8_decode(html_entity_decode($clientCity))), 0, 1, 'R');
|
||||
}
|
||||
// date facture
|
||||
$pdf->SetFont('Arial','',11);
|
||||
@ -906,9 +906,9 @@ class PageController extends Controller {
|
||||
$pdf->SetFont('Arial','B',11);
|
||||
$pdf->SetY(y: 32);
|
||||
$pdf->Cell( 0, 6, utf8_decode($current_client), 0, 1, 'R');
|
||||
$pdf->Cell( 0, 6, utf8_decode(html_entity_decode($clientAddress)), 0, 1, 'R');
|
||||
$pdf->Cell( 0, 6, trim(utf8_decode(html_entity_decode($clientAddress))), 0, 1, 'R');
|
||||
if($clientCity != ''){
|
||||
$pdf->Cell( 0, 6, utf8_decode(html_entity_decode($clientCity)), 0, 1, 'R');
|
||||
$pdf->Cell( 0, 6, trim(utf8_decode(html_entity_decode($clientCity))), 0, 1, 'R');
|
||||
}
|
||||
$pdf->Cell( 0, 6, FileExportHelpers::FormatTextForExport('Numéro') . ' Siret: ' . FileExportHelpers::FormatTextForExport($tvaIntraCommuValue), 0, 1, 'R');
|
||||
$pdf->Cell( 0, 6, 'Email: ' . utf8_decode(html_entity_decode($facture['mail_client'])), 0, 1, 'R');
|
||||
|
||||
@ -77,9 +77,9 @@ class InvoicePdfHandler extends FPDF {
|
||||
$this->Cell(0, 7, FileExportHelpers::FormatTextForExport($this->factureData['configuration']->entreprise), 0, 0);
|
||||
$this->Cell(0, 7, FileExportHelpers::FormatTextForExport($this->factureData['client_nom'] . ' ' . $this->factureData['client_entreprise']), 0, 1,'R');
|
||||
$this->Cell(0, 7, FileExportHelpers::FormatTextForExport($this->factureData['configuration_adresse']), 0, 0);
|
||||
$this->Cell(0, 7, FileExportHelpers::FormatTextForExport($this->factureData['client_real_adress']), 0, 1,'R');
|
||||
$this->Cell(0, 7, trim(FileExportHelpers::FormatTextForExport($this->factureData['client_real_adress'])), 0, 1,'R');
|
||||
$this->Cell(0, 7, FileExportHelpers::FormatTextForExport($this->factureData['configuration_adresse_city']), 0, 0);border:
|
||||
$this->Cell(0, 7, FileExportHelpers::FormatTextForExport($this->factureData['client_adress_city']), 0, 1,'R');
|
||||
$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,1,'R');
|
||||
$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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user