HOTFIX facture pdf group
This commit is contained in:
parent
181c5d2e79
commit
bdff3b0331
File diff suppressed because it is too large
Load Diff
@ -35,7 +35,6 @@ use OCA\Gestion\Helpers\PriceHelpers;
|
|||||||
|
|
||||||
class InvoicePdfHandler extends FPDF
|
class InvoicePdfHandler extends FPDF
|
||||||
{
|
{
|
||||||
|
|
||||||
private $multipleFactureData = [];
|
private $multipleFactureData = [];
|
||||||
private $factureData = [];
|
private $factureData = [];
|
||||||
private $logo = null;
|
private $logo = null;
|
||||||
@ -51,7 +50,7 @@ class InvoicePdfHandler extends FPDF
|
|||||||
public $interLigneHeader = 5;
|
public $interLigneHeader = 5;
|
||||||
public $hasTva = true;
|
public $hasTva = true;
|
||||||
|
|
||||||
function Header()
|
public function Header()
|
||||||
{
|
{
|
||||||
if ($this->logo != "nothing") {
|
if ($this->logo != "nothing") {
|
||||||
$this->Image($this->logoPath . "logo.png", 4, 2, 50, 35);
|
$this->Image($this->logoPath . "logo.png", 4, 2, 50, 35);
|
||||||
@ -129,7 +128,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['tva']) ? $factureData['tva'] : true;
|
$this->hasTva = isset($factureData['is_tva']) ? $factureData['is_tva'] : true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function MutlipleInvoicePdfFactory(array $multipleInvoiceData, $logo = null)
|
public function MutlipleInvoicePdfFactory(array $multipleInvoiceData, $logo = null)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user