Files
crm.e5.pl/modules/templates/EcmInvoiceOuts/e5/_footer.php
2024-04-27 09:23:34 +02:00

49 lines
1.5 KiB
PHP
Executable File

<?php
//if($this->edt->show_footer_on_all_pages == 0 && $this->page > 1) return;
if ($this->page > 1) {
$y = $this->fh - 20;
$this->Line(10, $y, 200, $y);
$this->SetFont('arialpl', '', 10);
$this->SetXY(10, $this->fh - 16);
$this->Cell(10, 0, 'Oferta nr ' . $this->focus->document_no);
$this->SetXY($this->fw / 2, $this->fh - 16);
$this->Cell(10, 0, $this->PageNo() . '/{nb}');
} else {
$y = $this->fh - 20;
$this->Line(10, $y, 200, $y);
$this->SetFont('arialpl', '', 7.5);
$this->SetXY(10, $this->fh - 16);
$this->Cell(49, 0, "Prezes Zarządu - J.Lasowy");
$this->Cell(40, 0, "NIP: 879-016-88-72");
$this->Cell(50, 0, "Sąd Rejonowy w Toruniu");
if($this->focus->pdf_type == 'K')
$this->Cell(30, 0, "Konto: Alior Bank S.A. Oddział w Toruniu");
else
$this->Cell(30, 0, "Bank: City Handlowy");
$this->SetXY(10, $this->fh - 12.5);
$this->Cell(49, 0, "Wiceprezes - M.Lasowy");
$this->Cell(40, 0, "REGON: 870525737");
$this->Cell(50, 0, "VII Wydział Gospodarczy KRS");
if($this->focus->pdf_type == 'K')
$this->Cell(30, 0, "14 2490 0005 0000 4530 1266 3471");
else
$this->Cell(30, 0, "IBAN: PL 02 1030 1090 0000 0000 5802 0503");
$this->SetXY(10, $this->fh - 9);
$this->Cell(49, 0, "");
$this->Cell(40, 0, "Kapitał zakładowy 50 000 PLN");
$this->Cell(50, 0, "KRS 0000160548");
if($this->focus->pdf_type != 'K')
$this->Cell(30, 0, "SWITF: CITIPLPX");
}