Line 90... |
Line 90... |
90 |
$pdf->SetFont('Arial', '', 12);
|
90 |
$pdf->SetFont('Arial', '', 12);
|
91 |
$pdf->Text($adress_left, $adress_top, $shop->view['kunde']['firma']);
|
91 |
$pdf->Text($adress_left, $adress_top, $shop->view['kunde']['firma']);
|
92 |
$pdf->Text($adress_left, $adress_top + 5, $shop->view['kunde']['vname'].' '.$shop->view['kunde']['name']);
|
92 |
$pdf->Text($adress_left, $adress_top + 5, $shop->view['kunde']['vname'].' '.$shop->view['kunde']['name']);
|
93 |
$pdf->Text($adress_left, $adress_top + 10, $shop->view['kunde']['strasse'].' '.wpsg_getStr($shop->view['kunde']['nr']));
|
93 |
$pdf->Text($adress_left, $adress_top + 10, $shop->view['kunde']['strasse'].' '.wpsg_getStr($shop->view['kunde']['nr']));
|
94 |
$pdf->Text($adress_left, $adress_top + 15, $shop->view['kunde']['plz'].' '.$shop->view['kunde']['ort']);
|
94 |
$pdf->Text($adress_left, $adress_top + 15, $shop->view['kunde']['plz'].' '.$shop->view['kunde']['ort']);
|
95 |
if ($shop->get_option("wpsg_mod_rechnungen_hideCountry") == '0')
|
- |
|
- |
|
95 |
|
96 |
$pdf->Text($adress_left, $adress_top + 20, strtoupper($shop->view['oOrder']->getInvoiceCountryName()));
|
96 |
if ($shop->get_option("wpsg_mod_rechnungen_hideCountry") == '0') $pdf->Text($adress_left, $adress_top + 20, strtoupper($shop->view['oOrder']->getInvoiceCountryName()));
|
97 |
|
97 |
|
98 |
// Rechnungsdaten
|
98 |
// Rechnungsdaten
|
99 |
$pdf->SetFont('Arial', 'B', 16);
|
99 |
$pdf->SetFont('Arial', 'B', 16);
|
100 |
$pdf->Text($rdata_left, $rdata_top, __('Rechnungskorrektur', 'wpsg'));
|
100 |
$pdf->Text($rdata_left, $rdata_top, __('Rechnungskorrektur', 'wpsg'));
|
101 |
$pdf->SetFont('Arial', 'B', 9);
|
101 |
$pdf->SetFont('Arial', 'B', 9);
|
Line 827... |
Line 827... |
827 |
$pdf->setFont('Arial', '', '9');
|
827 |
$pdf->setFont('Arial', '', '9');
|
828 |
|
828 |
|
829 |
} else {
|
829 |
} else {
|
830 |
|
830 |
|
831 |
$offset += 5;
|
831 |
$offset += 5;
|
832 |
$pdf->Text($prod_left + 100, $prod_top + $offset, __("SUMME", "wpsg"));
|
832 |
$pdf->Text($prod_left + 80, $prod_top + $offset, __("SUMME", "wpsg"));
|
833 |
$pdf->setXY($prod_left + 140, $prod_top + $offset - 5);
|
833 |
$pdf->setXY($prod_left + 140, $prod_top + $offset - 5);
|
834 |
|
834 |
|
835 |
/* Endbetrag wird fett ausgegeben */
|
835 |
/* Endbetrag wird fett ausgegeben */
|
836 |
$pdf->setFont('Arial', 'B', '9');
|
836 |
$pdf->setFont('Arial', 'B', '9');
|
837 |
$pdf->Cell(37, 8, wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')), 0, 0, 'R');
|
837 |
$pdf->Cell(37, 8, wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')), 0, 0, 'R');
|
Line 966... |
Line 966... |
966 |
|
966 |
|
967 |
$filename = $this->view['filename'].".pdf";
|
967 |
$filename = $this->view['filename'].".pdf";
|
968 |
|
968 |
|
969 |
ob_end_clean();
|
969 |
ob_end_clean();
|
970 |
|
970 |
|
971 |
if ($this->view['preview'])
|
971 |
if ($this->view['preview']) {
|
972 |
{
|
- |
|
973 |
|
972 |
|
974 |
$pdf->Output($filename, 'I');
|
973 |
$pdf->Output($filename, 'I');
|
975 |
|
974 |
|
976 |
}
|
- |
|
977 |
else
|
975 |
} else {
|
978 |
{
|
- |
|
979 |
|
976 |
|
980 |
$pdf->Output($this->callMod('wpsg_mod_rechnungen', 'getFilePath', array($this->view['data']['id'])).$filename, 'F');
|
977 |
$pdf->Output($this->callMod('wpsg_mod_rechnungen', 'getFilePath', array($this->view['data']['id'])).$filename, 'F');
|
981 |
|
978 |
|
982 |
// Hier wird der Dateiname an FPD übergeben. Er soll sich aus der Rechnungsnummer ergeben, auch wenn das Dokument über die ID gespeichert ist.
|
979 |
// Hier wird der Dateiname an FPD übergeben. Er soll sich aus der Rechnungsnummer ergeben, auch wenn das Dokument über die ID gespeichert ist.
|
983 |
if ($this->view['output'] === true) $pdf->Output($this->view['filename_out'], 'I');
|
980 |
$pdf->Output($this->view['filename_out'], 'I');
|
984 |
|
981 |
|
985 |
}
|
982 |
}
|
986 |
|
983 |
|
987 |
?>
|
- |
|
988 |
|
984 |
|