HOTFIX pdf facture tva simple
This commit is contained in:
parent
3a8eb35681
commit
181c5d2e79
@ -51,10 +51,10 @@ class InvoicePdfHandler extends FPDF
|
|||||||
public $interLigneHeader = 5;
|
public $interLigneHeader = 5;
|
||||||
public $hasTva = true;
|
public $hasTva = true;
|
||||||
|
|
||||||
public function Header()
|
function Header()
|
||||||
{
|
{
|
||||||
if ($this->logo != "nothing") {
|
if ($this->logo != "nothing") {
|
||||||
$this->Image($this->logoPath . "logo.png", 2, 10, 75, 25);
|
$this->Image($this->logoPath . "logo.png", 4, 2, 50, 35);
|
||||||
//$this->AddWatermark();
|
//$this->AddWatermark();
|
||||||
} else {
|
} else {
|
||||||
$this->Cell(55, 30, '');
|
$this->Cell(55, 30, '');
|
||||||
@ -129,7 +129,7 @@ class InvoicePdfHandler extends FPDF
|
|||||||
$this->factureData = $factureData;
|
$this->factureData = $factureData;
|
||||||
$this->logo = $logo;
|
$this->logo = $logo;
|
||||||
// Déterminer si la TVA est applicable
|
// Déterminer si la TVA est applicable
|
||||||
$this->hasTva = isset($factureData['is_tva']) ? $factureData['is_tva'] : true;
|
$this->hasTva = isset($factureData['tva']) ? $factureData['tva'] : true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function MutlipleInvoicePdfFactory(array $multipleInvoiceData, $logo = null)
|
public function MutlipleInvoicePdfFactory(array $multipleInvoiceData, $logo = null)
|
||||||
@ -378,13 +378,6 @@ class InvoicePdfHandler extends FPDF
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$this->SetXY(5, $yValue);
|
$this->SetXY(5, $yValue);
|
||||||
$this->Cell(5, 6, $dateValue, 0, 0);
|
$this->Cell(5, 6, $dateValue, 0, 0);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user