mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-12 21:29:33 +00:00
Assemblies einführen
This commit is contained in:
parent
e1418dfdc1
commit
6fa960df42
107 changed files with 14101 additions and 96 deletions
|
|
@ -22,6 +22,7 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Services;
|
||||
|
||||
use App\Entity\AssemblySystem\Assembly;
|
||||
use App\Entity\Attachments\Attachment;
|
||||
use App\Entity\Attachments\AttachmentType;
|
||||
use App\Entity\Attachments\PartAttachment;
|
||||
|
|
@ -98,6 +99,7 @@ class EntityURLGenerator
|
|||
AttachmentType::class => 'attachment_type_edit',
|
||||
Category::class => 'category_edit',
|
||||
Project::class => 'project_edit',
|
||||
Assembly::class => 'assembly_edit',
|
||||
Supplier::class => 'supplier_edit',
|
||||
Manufacturer::class => 'manufacturer_edit',
|
||||
StorageLocation::class => 'store_location_edit',
|
||||
|
|
@ -204,6 +206,7 @@ class EntityURLGenerator
|
|||
AttachmentType::class => 'attachment_type_edit',
|
||||
Category::class => 'category_edit',
|
||||
Project::class => 'project_info',
|
||||
Assembly::class => 'assembly_info',
|
||||
Supplier::class => 'supplier_edit',
|
||||
Manufacturer::class => 'manufacturer_edit',
|
||||
StorageLocation::class => 'store_location_edit',
|
||||
|
|
@ -234,6 +237,7 @@ class EntityURLGenerator
|
|||
AttachmentType::class => 'attachment_type_edit',
|
||||
Category::class => 'category_edit',
|
||||
Project::class => 'project_edit',
|
||||
Assembly::class => 'assembly_edit',
|
||||
Supplier::class => 'supplier_edit',
|
||||
Manufacturer::class => 'manufacturer_edit',
|
||||
StorageLocation::class => 'store_location_edit',
|
||||
|
|
@ -265,6 +269,7 @@ class EntityURLGenerator
|
|||
AttachmentType::class => 'attachment_type_new',
|
||||
Category::class => 'category_new',
|
||||
Project::class => 'project_new',
|
||||
Assembly::class => 'assembly_new',
|
||||
Supplier::class => 'supplier_new',
|
||||
Manufacturer::class => 'manufacturer_new',
|
||||
StorageLocation::class => 'store_location_new',
|
||||
|
|
@ -296,6 +301,7 @@ class EntityURLGenerator
|
|||
AttachmentType::class => 'attachment_type_clone',
|
||||
Category::class => 'category_clone',
|
||||
Project::class => 'device_clone',
|
||||
Assembly::class => 'assembly_clone',
|
||||
Supplier::class => 'supplier_clone',
|
||||
Manufacturer::class => 'manufacturer_clone',
|
||||
StorageLocation::class => 'store_location_clone',
|
||||
|
|
@ -323,6 +329,7 @@ class EntityURLGenerator
|
|||
{
|
||||
$map = [
|
||||
Project::class => 'project_info',
|
||||
Assembly::class => 'assembly_info',
|
||||
|
||||
Category::class => 'part_list_category',
|
||||
Footprint::class => 'part_list_footprint',
|
||||
|
|
@ -341,6 +348,7 @@ class EntityURLGenerator
|
|||
AttachmentType::class => 'attachment_type_delete',
|
||||
Category::class => 'category_delete',
|
||||
Project::class => 'project_delete',
|
||||
Assembly::class => 'assembly_delete',
|
||||
Supplier::class => 'supplier_delete',
|
||||
Manufacturer::class => 'manufacturer_delete',
|
||||
StorageLocation::class => 'store_location_delete',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue