update 20.10.2025
This commit is contained in:
parent
8ccd81b770
commit
a67740d6ef
612 changed files with 84540 additions and 4008 deletions
29
dev/app-bak/Libraries/ContractPDF.php
Normal file
29
dev/app-bak/Libraries/ContractPDF.php
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
namespace App\Libraries;
|
||||
|
||||
|
||||
|
||||
use setasign\Fpdi\Fpdi;
|
||||
|
||||
class ContractPDF extends Fpdi
|
||||
{
|
||||
protected $_tplIdx;
|
||||
protected $_site = 1;
|
||||
|
||||
public function Header()
|
||||
{
|
||||
if (null === $this->_tplIdx) {
|
||||
$this->setSourceFile('./pdf/mivita_template_contract_de.pdf');
|
||||
}
|
||||
$this->_tplIdx = $this->importPage($this->_site++);
|
||||
$this->useTemplate($this->_tplIdx);
|
||||
|
||||
}
|
||||
|
||||
function Footer() {
|
||||
|
||||
} // end of footer
|
||||
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue