diff options
| author | karl <noreply@maennchen1.de> | 2022-08-01 13:12:20 +0000 |
|---|---|---|
| committer | karl <noreply@maennchen1.de> | 2022-08-01 13:12:20 +0000 |
| commit | 82f1349185b2528ddc42c1a1e3568ae9d23b375f (patch) | |
| tree | 2f7496177bba364d16e47c5505bd41dbbd6621ff | |
| parent | 4f5b49e465a036accb9e8bd006317010844391a8 (diff) | |
- commit invoice_pdf.phtml
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8056 0d5edaf7-2b12-4e95-93f4-047927463d4b
| -rw-r--r-- | views/mods/mod_rechnungen/invoice_pdf.phtml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/views/mods/mod_rechnungen/invoice_pdf.phtml b/views/mods/mod_rechnungen/invoice_pdf.phtml index 3e1c416..0b6d5fd 100644 --- a/views/mods/mod_rechnungen/invoice_pdf.phtml +++ b/views/mods/mod_rechnungen/invoice_pdf.phtml @@ -196,8 +196,10 @@ $pdf->Cell(10, 8, __("Nr.", "wpsg"), 1, 0, 'C');
$pdf->setXY($prod_left + 10, $prod_top);
- $pdf->Cell( ((sizeof($this->view['basket']['mwst']) >= 1 || $this->get_option('wpsg_showMwstAlways') == '1')?87:102), 8, "Name", 1, 0, 'L');
-
+ if(is_array($this->view['basket']['mwst'])) {
+ $pdf->Cell( ((sizeof($this->view['basket']['mwst']) >= 1 || $this->get_option('wpsg_showMwstAlways') == '1')?87:102), 8, "Name", 1, 0, 'L');
+ }
+
if (sizeof($this->view['basket']['mwst']) >= 1 || $this->get_option('wpsg_showMwstAlways') == '1')
{
|
