Ersetzen der FPDF-Library durch TCPDF und Code-Formatierung

This commit is contained in:
2016-07-06 22:04:12 +00:00
parent 5665bcbd3b
commit 715cb62aa9
515 changed files with 110799 additions and 24957 deletions

View File

@@ -1,31 +1,32 @@
<?php
$this->SetLineWidth(0.1);
$this->Line(20,280,200,280);
$this->SetY(-15);
$this->SetFont('Helvetica', 'B', 8);
$this->Cell(80, 4, "Bankverbindung", 0);
$this->SetX(120);
$this->Cell(40, 4, "Steuernummer", 0);
$this->SetX(165);
$this->Cell(35, 4, "Gerichtsstand", 0, 1, 'R');
$this->SetFont('Helvetica', '', 8);
$this->Cell(80, 4, $_SESSION['Firma']['Bank1']." - BIC: ".$_SESSION['Firma']['BLZ1']." - IBAN: ".$_SESSION['Firma']['Konto1'], 0);
$this->SetX(120);
$this->Cell(40, 4, $_SESSION['Firma']['Steuernummer'], 0);
$this->SetX(165);
$this->Cell(35, 4, $_SESSION['Firma']['Gerichtsstand'], 0, 1, 'R');
if ("" != $_SESSION['Firma']['Bank2']) {
$this->Cell(80, 4, $_SESSION['Firma']['Bank2']." - BIC: ".$_SESSION['Firma']['BLZ2']." - IBAN: ".$_SESSION['Firma']['Konto2'], 0);
}
if ("1" == $_SESSION['Firma']['Werbung']) {
$this->Image('img/rist_logo.gif',180,273,20,0,'GIF','http://www.ri-st.de');
$this->SetY(-22);
$this->SetFont('Helvetica', 'I', 6);
$this->Cell(80, 4, 'Dieses Dokument wurde erstellt mit ', 0);
$this->SetX(120);
$this->SetTextColor(204, 0, 102);
$this->SetFont('Helvetica', 'U', 10);
$this->Cell(40, 4, "www.ri-st.de", 0, 0, 'L', '0', "http://www.ri-st.de");
}
?>
<?php
$this->SetLineWidth(0.1);
$this->Line(10, 280, 200, 280);
$this->SetY(-15);
$this->SetFont('Helvetica', 'B', 8);
$this->Cell(80, 4, "Bankverbindung", 0);
$this->SetX(120);
$this->Cell(40, 4, "Steuernummer", 0);
$this->SetX(165);
$this->Cell(35, 4, "Gerichtsstand", 0, 1, 'R');
$this->SetFont('Helvetica', '', 8);
$this->Cell(80, 4, $_SESSION['Firma']['Bank1'] . " - BIC: " . $_SESSION['Firma']['BLZ1'] . " - IBAN: " . $_SESSION['Firma']['Konto1'], 0);
$this->SetX(120);
$this->Cell(40, 4, $_SESSION['Firma']['Steuernummer'], 0);
$this->SetX(165);
$this->Cell(35, 4, $_SESSION['Firma']['Gerichtsstand'], 0, 1, 'R');
if ("" != $_SESSION['Firma']['Bank2'])
{
$this->Cell(80, 4, $_SESSION['Firma']['Bank2'] . " - BIC: " . $_SESSION['Firma']['BLZ2'] . " - IBAN: " . $_SESSION['Firma']['Konto2'], 0);
}
if ("1" == $_SESSION['Firma']['Werbung'])
{
$this->Image('img/rist_logo.gif', 180, 273, 20, 0, 'GIF', 'http://www.ri-st.de');
$this->SetY(-22);
$this->SetFont('Helvetica', 'I', 6);
$this->Cell(80, 4, 'Dieses Dokument wurde erstellt mit ', 0);
$this->SetX(120);
$this->SetTextColor(204, 0, 102);
$this->SetFont('Helvetica', 'U', 10);
$this->Cell(40, 4, "www.ri-st.de", 0, 0, 'L', '0', "http://www.ri-st.de");
}