todos fixed

This commit is contained in:
Dennis Eichhorn 2023-10-12 22:49:21 +00:00
parent 29a98ac977
commit 5663dde86a
3 changed files with 8 additions and 8 deletions

View File

@ -289,7 +289,7 @@ final class ApiController extends Controller
return;
}
$type = SupplierAttributeTypeMapper::get()->where('id', (int) $request->getData('type'))->execute();
$type = SupplierAttributeTypeMapper::get()->with('defaults')->where('id', (int) $request->getData('type'))->execute();
$attribute = $this->createAttributeFromRequest($request, $type);
$this->createModel($request->header->account, $attribute, SupplierAttributeMapper::class, 'attribute', $request->getOrigin());
$this->createStandardCreateResponse($request, $response, $attribute);

View File

@ -14,6 +14,6 @@ declare(strict_types=1);
return ['Navigation' => [
'Create' => 'Erstellen',
'List' => 'Aufführen',
'List' => 'Liste',
'Suppliers' => 'Lieferanten',
]];

View File

@ -30,8 +30,8 @@ return ['SupplierManagement' => [
'CLV' => 'CLV',
'Calendar' => 'Kalender',
'City' => 'Stadt',
'Client' => 'Klient',
'ClientID' => '',
'Client' => 'Kunde',
'ClientID' => 'Kunden ID',
'Clients' => 'Kunden',
'Contact' => 'Kontakt',
'Country' => 'Land',
@ -75,9 +75,9 @@ return ['SupplierManagement' => [
'Modified' => 'Geändert',
'Modules' => 'Module',
'Name' => 'Name',
'Name1' => 'Name1.',
'Name2' => 'Name2.',
'Name3' => 'Name3.',
'Name1' => 'Name1',
'Name2' => 'Name2',
'Name3' => 'Name3',
'Net' => 'Netz',
'Notes' => 'Anmerkungen',
'Number' => 'Nummer',
@ -96,7 +96,7 @@ return ['SupplierManagement' => [
'Purchase' => 'Kaufen',
'Quantity' => 'Menge',
'RecentInvoices' => 'Jüngste Rechnungen',
'Sales' => 'Der Umsatz',
'Sales' => 'Umsatz',
'Segment' => 'Segment',
'Segments' => 'Segmente',
'Subtype' => 'Untertyp',