Skip to content

PDF Watermark AND XRechnung (ZUGFeRD XML) #912

@gklimm

Description

@gklimm

Expected Behavior

Generate the PDF

Current Behavior

Exception (see below)

Screenshots

Steps to Reproduce

  1. Switch on "ZUGFeRD XML"
  2. Activate Watermarks in PDF generation
  3. Try to generate a PDF of an invoice

Failure Logs

An uncaught Exception was encountered
Type: Mpdf\MpdfException

Message: PDFA and PDFX do not permit transparency, so mPDF does not allow Watermarks!

Filename: /var/www/ip/vendor/mpdf/mpdf/src/Mpdf.php

Line Number: 10546

Backtrace:

File: /var/www/ip/vendor/mpdf/mpdf/src/Mpdf.php
Line: 13205
Function: watermark

File: /var/www/ip/vendor/mpdf/mpdf/src/Mpdf.php
Line: 2054
Function: Footer

File: /var/www/ip/vendor/mpdf/mpdf/src/Mpdf.php
Line: 9519
Function: Close

File: /var/www/ip/application/helpers/mpdf_helper.php
Line: 115
Function: Output

File: /var/www/ip/application/helpers/pdf_helper.php
Line: 105
Function: pdf_create

File: /var/www/ip/application/modules/invoices/controllers/Invoices.php
Line: 272
Function: generate_invoice_pdf

File: /var/www/ip/index.php
Line: 329
Function: require_once

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions