Add php files
This commit is contained in:
47
modules/EcmDocumentTemplates/templates/EcmInvoiceOuts/e5/footer.pl.php
Executable file
47
modules/EcmDocumentTemplates/templates/EcmInvoiceOuts/e5/footer.pl.php
Executable file
@@ -0,0 +1,47 @@
|
||||
<?
|
||||
|
||||
error_reporting ( 0 );
|
||||
|
||||
$r = mysql_fetch_array ( mysql_query ( "select document_no, ecmlanguage from " . strtolower ( $_REQUEST ['module'] ) . " where id='" . $_REQUEST ['record'] . "'" ) );
|
||||
$this->SetFont ( 'arialpl', '', 8 );
|
||||
$this->SetY ( $this->fh - 15 );
|
||||
|
||||
$this->SetDrawColor ( 0, 0, 0 );
|
||||
$this->SetFillColor ( 255, 255, 255 );
|
||||
$this->Rect ( 0, $this->getBreakLine (), $this->fw, $this->bMargin + 1, "F" );
|
||||
|
||||
$this->SetDrawColor ( 0, 0, 0 );
|
||||
$this->Cell ( 0, 10, $this->PageNo () . '/{nb}' );
|
||||
|
||||
$this->Ln ( 5 );
|
||||
$this->AliasNbPages ();
|
||||
$this->SetLineWidth ();
|
||||
$this->SetDrawColor ( 0, 0, 0 );
|
||||
$this->Line ( $this->lMargin, - 17 - 16 + 1, $this->fw - $this->rMargin, - 17 - 16 + 1 );
|
||||
|
||||
if ($this->edt->show_footer_on_all_pages == 0 && $this->page > 1) {
|
||||
return;
|
||||
}
|
||||
$doc = new EcmDocumentTemplate();
|
||||
$doc->retrieve('97700b0d-fbe9-e366-4016-4b260f058a47');
|
||||
$this->SetXY ( $this->lMargin, - 20 - 16 );
|
||||
|
||||
$this->Line(10,$this->fh-37,200,$this->fh-37);
|
||||
|
||||
$this->SetFont ( 'arialpl', '', '7' );
|
||||
$this->Cell ( 110, 4,$doc->name );
|
||||
$this->SetFont ( 'arialpl', 'B', '7' );
|
||||
$this->Cell ( 20, 4, 'Bank: ' );
|
||||
$this->SetFont ( 'arialpl', '', '7' );
|
||||
$this->Cell ( 45, 4, 'PKO BP SA', 0, 0, 'L' );
|
||||
$this->Ln ();
|
||||
|
||||
$this->SetFont ( 'arialpl', '', '7' );
|
||||
$this->Cell ( 110, 4, $doc->footer_address );
|
||||
$this->SetFont ( 'arialpl', 'B', '7' );
|
||||
$this->Cell ( 20, 4, 'Numer konta: ' );
|
||||
$this->SetFont ( 'arialpl', '', '7' );
|
||||
$this->Cell ( 45, 4, '53 1020 5011 0000 9002 0270 6323', 0, 0, 'L' );
|
||||
$this->Ln ();
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user