예제 #1
0
*/
if (BARCODE_RECHNUNG == 'ja') {
    $pdf->Code39(140, 50, tep_db_input($oID));
}
/*
 barcodegen.php?barcode= ' . tep_db_input($oID) . ' ;
*/
// Rechnungsnummer
$temp = str_replace(' ', ' ', PRINT_INVOICE_ORDERNR);
$pdf->Text(20, 95, $temp . tep_db_input($oID));
// Rechnungsdatum
$temp = str_replace(' ', ' ', PRINT_INVOICE_DATE);
$pdf->Text(160, 95, $temp . tep_date_short($order->info['date_purchased']));
// Fälligkeitsdatum
$temp2 = str_replace(' ', ' ', ENTRY_INVOICE_DATE_ZAHLBAR);
$pdf->Text(171, 99, $temp2 . tep_date_short_add($order->info['date_purchased'], 'day', ZAHLUNGSFAELLIGKEIT));
// Falzmarke
$pdf->SetY(105);
$pdf->SetX(20);
$x = 10;
$y = $pdf->GetY();
$pdf->SetLineWidth(0.25);
$pdf->Line($x, $y, $this->w - $this->rMargin, $y);
// Rechnungstext 1
$pdf->SetFont('Arial', '', 8);
$pdf->SetTextColor(0);
$pdf->SetY(100);
$pdf->Cell(15);
$text['edit_invoice_text'] = str_replace("<br>", '', $text['edit_invoice_text']);
$pdf->MultiCell(200, 4, $text['edit_invoice_text'], 0, 'L');
$pdf->SetFont('Arial', 'B', 8);
예제 #2
0
   <?php 
if (EDIT_INVOICE_SHOW_DATE == 'Datum und Uhrzeit') {
    ?>
          <td class="main"><?php 
    echo tep_datetime_short($order->info['date_purchased']);
    ?>
</td>
   <?php 
} else {
    if (EDIT_INVOICE_SHOW_DATE == 'nur Datum') {
        ?>
          <td class="main" width="10%" align="right">&nbsp;<?php 
        echo tep_date_short($order->info['date_purchased']);
        ?>
<br><?php 
        echo tep_date_short_add($order->info['date_purchased'], 'day', ZAHLUNGSFAELLIGKEIT);
        ?>
</td>
   <?php 
    }
}
?>
 </tr>
 </table>
  <div class="d1" id="d1" name="d1"><?php 
echo tep_draw_separator('pixel_black.gif', '5', '1');
?>
</div>
 <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">       <tr> 
          <td colspan="5" class="titleHeading"><?php 
echo tep_draw_separator('pixel_trans.gif', '1', '25');
예제 #3
0
if (BARCODE_RECHNUNG == 'ja') {
    $pdf->Code39(140, 50, tep_db_input($oID));
}
/*
 barcodegen.php?barcode= ' . tep_db_input($oID) . ' ;
*/
// Rechnungsnummer
$temp = str_replace('&nbsp;', ' ', PRINT_INVOICE_ORDERNR);
$pdf->Text(20, 95, $temp . ENTRY_INVOICE_ORDER_ID_PREFIX . tep_db_input($oID) . ENTRY_INVOICE_ORDER_ID_SUFIX);
// Rechnungsdatum
$temp = str_replace('&nbsp;', '  ', PRINT_INVOICE_DATE);
$datum = date('Y-m-d H:i:s');
$pdf->Text(160, 95, $temp . date('d.m.Y'));
// Fälligkeitsdatum
$temp2 = str_replace('&nbsp;', '  ', ENTRY_INVOICE_DATE_ZAHLBAR);
$pdf->Text(172, 99, utf8_decode($temp2) . tep_date_short_add($datum, 'day', ZAHLUNGSFAELLIGKEIT));
// Falzmarke
$pdf->SetY(105);
$pdf->SetX(20);
$x = 10;
$y = $pdf->GetY();
$pdf->SetLineWidth(0.25);
$pdf->Line($x, $y, $pdf->w - $pdf->rMargin, $y);
// Rechnungstext 1
$pdf->SetFont('Arial', '', 8);
$pdf->SetTextColor(0);
$pdf->SetY(100);
$pdf->Cell(15);
$text['edit_invoice_text'] = str_replace("<br>", '', $text['edit_invoice_text']);
$pdf->MultiCell(200, 4, $text['edit_invoice_text'], 0, 'L');
$pdf->SetFont('Arial', 'B', 8);