NEW add VAT ID in sepamandate document
add: VAT ID in sepamandate document
This commit is contained in:
parent
41b2ed8f89
commit
35f3052280
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2016 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2016 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
* Copyright (C) 2020 Josep Lluís Amador <joseplluis@lliuretic.cat>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -282,8 +283,17 @@ class pdf_sepamandate extends ModeleBankAccountDoc
|
|||||||
$pdf->MultiCell($this->page_largeur - $this->marge_gauche - $this->marge_droite, 3, $outputlangs->transnoentitiesnoconv("SEPAFormYourName").' * : ', 0, 'L');
|
$pdf->MultiCell($this->page_largeur - $this->marge_gauche - $this->marge_droite, 3, $outputlangs->transnoentitiesnoconv("SEPAFormYourName").' * : ', 0, 'L');
|
||||||
$pdf->SetXY(80, $posY);
|
$pdf->SetXY(80, $posY);
|
||||||
$pdf->MultiCell($this->page_largeur - $this->marge_gauche - $this->marge_droite, 3, $sepaname, 0, 'L');
|
$pdf->MultiCell($this->page_largeur - $this->marge_gauche - $this->marge_droite, 3, $sepaname, 0, 'L');
|
||||||
|
|
||||||
|
$sepavatid = '__________________________________________________';
|
||||||
|
if (! empty($thirdparty->idprof1)) $sepavatid = $thirdparty->idprof1;
|
||||||
|
$posY=$pdf->GetY();
|
||||||
|
$posY+=1;
|
||||||
|
$pdf->SetXY($this->marge_gauche, $posY);
|
||||||
|
$pdf->MultiCell($this->page_largeur - $this->marge_gauche - $this->marge_droite, 3, $outputlangs->transnoentitiesnoconv('ProfId1'.$thirdparty->country_code).' * : ', 0, 'L');
|
||||||
|
$pdf->SetXY(80, $posY);
|
||||||
|
$pdf->MultiCell($this->page_largeur - $this->marge_gauche - $this->marge_droite, 3, $sepavatid, 0, 'L');
|
||||||
|
|
||||||
$address = '______________________________________________';
|
$address = '______________________________________________';
|
||||||
if ($thirdparty->id > 0)
|
if ($thirdparty->id > 0)
|
||||||
{
|
{
|
||||||
$address = $thirdparty->getFullAddress();
|
$address = $thirdparty->getFullAddress();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user