mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-27 20:28:54 +02:00
Added default_currency and shipping cost fields to supplier admin page.
This commit is contained in:
parent
e274d6aa9e
commit
06c6483fd1
6 changed files with 121 additions and 9 deletions
|
@ -37,6 +37,7 @@ use App\Entity\Attachments\AttachmentType;
|
|||
use App\Entity\Parts\Supplier;
|
||||
use App\Form\AdminPages\BaseEntityAdminForm;
|
||||
use App\Form\AdminPages\CompanyForm;
|
||||
use App\Form\AdminPages\SupplierForm;
|
||||
use App\Services\EntityExporter;
|
||||
use App\Services\EntityImporter;
|
||||
use App\Services\StructuralElementRecursionHelper;
|
||||
|
@ -55,7 +56,7 @@ class SupplierController extends BaseAdminController
|
|||
|
||||
protected $entity_class = Supplier::class;
|
||||
protected $twig_template = 'AdminPages/SupplierAdmin.html.twig';
|
||||
protected $form_class = CompanyForm::class;
|
||||
protected $form_class = SupplierForm::class;
|
||||
protected $route_base = "supplier";
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue