Fixed problems with attachments on label profiles.

This commit is contained in:
Jan Böhmer 2023-02-03 23:18:14 +01:00
parent cf06cf363b
commit 5f5c06d6e9

View file

@ -28,6 +28,7 @@ use App\Entity\Attachments\AttachmentType;
use App\Entity\Attachments\AttachmentTypeAttachment; use App\Entity\Attachments\AttachmentTypeAttachment;
use App\Entity\Attachments\CategoryAttachment; use App\Entity\Attachments\CategoryAttachment;
use App\Entity\Attachments\CurrencyAttachment; use App\Entity\Attachments\CurrencyAttachment;
use App\Entity\Attachments\LabelAttachment;
use App\Entity\Attachments\ProjectAttachment; use App\Entity\Attachments\ProjectAttachment;
use App\Entity\Attachments\FootprintAttachment; use App\Entity\Attachments\FootprintAttachment;
use App\Entity\Attachments\GroupAttachment; use App\Entity\Attachments\GroupAttachment;
@ -90,6 +91,7 @@ class AttachmentSubmitHandler
StorelocationAttachment::class => 'storelocation', StorelocationAttachment::class => 'storelocation',
SupplierAttachment::class => 'supplier', SupplierAttachment::class => 'supplier',
UserAttachment::class => 'user', UserAttachment::class => 'user',
LabelAttachment::class => 'label_profile',
]; ];
} }