feat: convert uploaded contracts and invoices to pdf

This commit is contained in:
Björn Fromme
2025-03-04 14:13:09 +01:00
parent ab6d350045
commit 917640183f
9 changed files with 164 additions and 8 deletions
+6
View File
@@ -31,6 +31,7 @@ services:
autowire: true
autoconfigure: true
bind:
$tempDir: '%kernel.project_dir%/temp'
$logger: '@monolog.logger.myep'
$destinations: '%destinations%'
@@ -138,6 +139,11 @@ services:
$orphanageManager: '@oneup_uploader.orphanage_manager'
$projectDir: '%kernel.project_dir%'
App\Service\Pdf\Sanitizer:
arguments:
$binGs: '/usr/bin/gs'
$binConvert: '/usr/bin/convert'
App\EventListener\UploadSessionListener:
tags:
- name: kernel.event_listener