The generated ticket PDF shows the event, session time, admits, booker, order number and QR code, but nothing that visually identifies the site or organiser.

Rendering the site logo (or a ticket-specific logo) in the ticket header would make tickets look official and on-brand, and help door staff recognise a genuine ticket at a glance.

Scope:

  • Render a logo in the ticket header in yoyaku-ticket.html.twig.
  • Embed it so it survives Dompdf rendering (a data URI, or an absolute path the renderer resolves), since the PDF has no access to the running site.
  • Optionally add a ticket logo setting to yoyaku_ticket.settings, falling back to the site logo when unset.

Follow-up to the ticketing work in the yoyaku_ticket submodule.

Issue fork yoyaku-3612731

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

mably’s picture

Status: Active » Needs review

  • mably committed 2ba86c79 on 1.x
    feat: #3612731 Add the site logo to the PDF ticket
    
    By: mably
    
mably’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.