mirror of
https://github.com/Karaka-Management/oms-ItemManagement.git
synced 2026-01-11 11:48:41 +00:00
todos fixed
This commit is contained in:
parent
8782ce2805
commit
daa8c273d5
|
|
@ -380,16 +380,16 @@
|
|||
"values": []
|
||||
},
|
||||
{
|
||||
"name": "origin",
|
||||
"l11n": {
|
||||
"en": "Country of origin",
|
||||
"de": "Herkunftsland"
|
||||
},
|
||||
"value_type": 2,
|
||||
"is_custom_allowed": false,
|
||||
"name": "releasedate",
|
||||
"value_type": 4,
|
||||
"is_custom_allowed": true,
|
||||
"validation_pattern": "",
|
||||
"is_required": true,
|
||||
"is_required": false,
|
||||
"default_value": "",
|
||||
"l11n": {
|
||||
"en": "Release date",
|
||||
"de": "Veröffentlichungsdatum"
|
||||
},
|
||||
"values": []
|
||||
},
|
||||
{
|
||||
|
|
@ -452,6 +452,32 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "brand",
|
||||
"l11n": {
|
||||
"en": "Brand",
|
||||
"de": "Marke"
|
||||
},
|
||||
"value_type": 2,
|
||||
"is_custom_allowed": true,
|
||||
"validation_pattern": "",
|
||||
"is_required": false,
|
||||
"default_value": "",
|
||||
"values": []
|
||||
},
|
||||
{
|
||||
"name": "model",
|
||||
"l11n": {
|
||||
"en": "Model",
|
||||
"de": "Modell"
|
||||
},
|
||||
"value_type": 2,
|
||||
"is_custom_allowed": true,
|
||||
"validation_pattern": "",
|
||||
"is_required": false,
|
||||
"default_value": "",
|
||||
"values": []
|
||||
},
|
||||
{
|
||||
"name": "os",
|
||||
"l11n": {
|
||||
|
|
@ -830,6 +856,163 @@
|
|||
"default_value": "",
|
||||
"values": []
|
||||
},
|
||||
{
|
||||
"name": "country_of_assembly",
|
||||
"l11n": {
|
||||
"en": "Country of assembly",
|
||||
"de": "Fertigungsland"
|
||||
},
|
||||
"value_type": 2,
|
||||
"is_custom_allowed": true,
|
||||
"validation_pattern": "",
|
||||
"is_required": false,
|
||||
"default_value": "",
|
||||
"values": []
|
||||
},
|
||||
{
|
||||
"name": "country_of_last_processing",
|
||||
"l11n": {
|
||||
"en": "Country of last processing",
|
||||
"de": "Letztes Herstellungsland"
|
||||
},
|
||||
"value_type": 2,
|
||||
"is_custom_allowed": true,
|
||||
"validation_pattern": "",
|
||||
"is_required": false,
|
||||
"default_value": "",
|
||||
"values": []
|
||||
},
|
||||
{
|
||||
"name": "consumablefor",
|
||||
"l11n": {
|
||||
"en": "Consumable for",
|
||||
"de": "Verbrauchsmaterial für"
|
||||
},
|
||||
"value_type": 2,
|
||||
"is_custom_allowed": true,
|
||||
"validation_pattern": "",
|
||||
"is_required": false,
|
||||
"default_value": "",
|
||||
"values": []
|
||||
},
|
||||
{
|
||||
"name": "successorof",
|
||||
"l11n": {
|
||||
"en": "Successor of",
|
||||
"de": "Nachfolger von"
|
||||
},
|
||||
"value_type": 2,
|
||||
"is_custom_allowed": true,
|
||||
"validation_pattern": "",
|
||||
"is_required": false,
|
||||
"default_value": "",
|
||||
"values": []
|
||||
},
|
||||
{
|
||||
"name": "variantof",
|
||||
"l11n": {
|
||||
"en": "Variant of",
|
||||
"de": "Variante von"
|
||||
},
|
||||
"value_type": 2,
|
||||
"is_custom_allowed": true,
|
||||
"validation_pattern": "",
|
||||
"is_required": false,
|
||||
"default_value": "",
|
||||
"values": []
|
||||
},
|
||||
{
|
||||
"name": "accessoryfor",
|
||||
"l11n": {
|
||||
"en": "Accessory for",
|
||||
"de": "Zusatz zu"
|
||||
},
|
||||
"value_type": 2,
|
||||
"is_custom_allowed": true,
|
||||
"validation_pattern": "",
|
||||
"is_required": false,
|
||||
"default_value": "",
|
||||
"values": []
|
||||
},
|
||||
{
|
||||
"name": "sparepartfor",
|
||||
"l11n": {
|
||||
"en": "Spare part for",
|
||||
"de": "Ersatzteil zu"
|
||||
},
|
||||
"value_type": 2,
|
||||
"is_custom_allowed": true,
|
||||
"validation_pattern": "",
|
||||
"is_required": false,
|
||||
"default_value": "",
|
||||
"values": []
|
||||
},
|
||||
{
|
||||
"name": "isfamilyfriendly",
|
||||
"l11n": {
|
||||
"en": "Is family friendly",
|
||||
"de": "Ist Familienfreundlich"
|
||||
},
|
||||
"value_type": 1,
|
||||
"is_custom_allowed": false,
|
||||
"validation_pattern": "",
|
||||
"is_required": false,
|
||||
"default_value": 0,
|
||||
"values": [
|
||||
{
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"value": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "item_condition",
|
||||
"l11n": {
|
||||
"en": "Item condition",
|
||||
"de": "Artikelzustand"
|
||||
},
|
||||
"value_type": 2,
|
||||
"is_custom_allowed": false,
|
||||
"validation_pattern": "",
|
||||
"is_required": false,
|
||||
"default_value": "",
|
||||
"values": [
|
||||
{
|
||||
"value": "new",
|
||||
"is_default": true,
|
||||
"l11n": {
|
||||
"en": "New",
|
||||
"de": "Neu"
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "used",
|
||||
"is_default": true,
|
||||
"l11n": {
|
||||
"en": "Used",
|
||||
"de": "Gebraucht"
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "damaged",
|
||||
"is_default": true,
|
||||
"l11n": {
|
||||
"en": "Damaged",
|
||||
"de": "Beschädigt"
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "broken",
|
||||
"is_default": true,
|
||||
"l11n": {
|
||||
"en": "Broken",
|
||||
"de": "Funktionsunfähig"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "gtin",
|
||||
"l11n": {
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ final class ApiAttributeController extends Controller
|
|||
return;
|
||||
}
|
||||
|
||||
$type = ItemAttributeTypeMapper::get()->where('id', (int) $request->getData('type'))->execute();
|
||||
$type = ItemAttributeTypeMapper::get()->with('defaults')->where('id', (int) $request->getData('type'))->execute();
|
||||
$attribute = $this->createAttributeFromRequest($request, $type);
|
||||
$this->createModel($request->header->account, $attribute, ItemAttributeMapper::class, 'attribute', $request->getOrigin());
|
||||
$this->createStandardCreateResponse($request, $response, $attribute);
|
||||
|
|
@ -359,7 +359,7 @@ final class ApiAttributeController extends Controller
|
|||
}
|
||||
|
||||
/** @var AttributeType $old */
|
||||
$old = ItemAttributeTypeMapper::get()->where('id', (int) $request->getData('id'))->execute();
|
||||
$old = ItemAttributeTypeMapper::get()->with('defaults')->where('id', (int) $request->getData('id'))->execute();
|
||||
$new = $this->updateAttributeTypeFromRequest($request, clone $old);
|
||||
|
||||
$this->updateModel($request->header->account, $old, $new, ItemAttributeTypeMapper::class, 'item_attribute_type', $request->getOrigin());
|
||||
|
|
@ -391,7 +391,7 @@ final class ApiAttributeController extends Controller
|
|||
}
|
||||
|
||||
/** @var AttributeType $itemAttributeType */
|
||||
$itemAttributeType = ItemAttributeTypeMapper::get()->where('id', (int) $request->getData('id'))->execute();
|
||||
$itemAttributeType = ItemAttributeTypeMapper::get()->with('defaults')->where('id', (int) $request->getData('id'))->execute();
|
||||
$this->deleteModel($request->header->account, $itemAttributeType, ItemAttributeTypeMapper::class, 'item_attribute_type', $request->getOrigin());
|
||||
$this->createStandardDeleteResponse($request, $response, $itemAttributeType);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return ['Navigation' => [
|
|||
'Article' => 'مقالة - سلعة',
|
||||
'Attributes' => 'صفات',
|
||||
'Create' => 'يخلق',
|
||||
'Item' => '',
|
||||
'ItemManagement' => 'إدارة البند',
|
||||
'Items' => '',
|
||||
'List' => 'قائمة',
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return ['Navigation' => [
|
|||
'Article' => 'Článek',
|
||||
'Attributes' => 'Atributy',
|
||||
'Create' => 'Vytvořit',
|
||||
'Item' => '',
|
||||
'ItemManagement' => 'Správa položek',
|
||||
'Items' => '',
|
||||
'List' => 'Seznam',
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return ['Navigation' => [
|
|||
'Article' => 'Artikel',
|
||||
'Attributes' => 'Egenskaber',
|
||||
'Create' => 'skab',
|
||||
'Item' => '',
|
||||
'ItemManagement' => 'Vareforvaltning',
|
||||
'Items' => '',
|
||||
'List' => 'Liste',
|
||||
|
|
|
|||
|
|
@ -17,9 +17,10 @@ return ['Navigation' => [
|
|||
'Article' => 'Artikel',
|
||||
'Attributes' => 'Attribute',
|
||||
'Create' => 'Erstellen',
|
||||
'Item' => '',
|
||||
'ItemManagement' => 'Artikelverwaltung',
|
||||
'Items' => '',
|
||||
'List' => 'Aufführen',
|
||||
'Items' => 'Artikel',
|
||||
'List' => 'Liste',
|
||||
'Types' => 'Arten',
|
||||
'Values' => 'Werte',
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return ['Navigation' => [
|
|||
'Article' => 'Αρθρο',
|
||||
'Attributes' => 'Γνωρίσματα',
|
||||
'Create' => 'Δημιουργώ',
|
||||
'Item' => '',
|
||||
'ItemManagement' => 'Διαχείριση στοιχείων',
|
||||
'Items' => '',
|
||||
'List' => 'Λίστα',
|
||||
|
|
|
|||
|
|
@ -17,9 +17,9 @@ return ['Navigation' => [
|
|||
'Article' => '',
|
||||
'Attributes' => 'Attributes',
|
||||
'Create' => 'Create',
|
||||
'Item' => 'Item',
|
||||
'ItemManagement' => 'Item Management',
|
||||
'Items' => 'Items',
|
||||
'Item' => 'Item',
|
||||
'List' => 'List',
|
||||
'Types' => 'Types',
|
||||
'Values' => 'Values',
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return ['Navigation' => [
|
|||
'Article' => 'Artículo',
|
||||
'Attributes' => 'Atributos',
|
||||
'Create' => 'Crear',
|
||||
'Item' => '',
|
||||
'ItemManagement' => 'Gerencia de artículos',
|
||||
'Items' => '',
|
||||
'List' => 'Lista',
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return ['Navigation' => [
|
|||
'Article' => 'Artikla',
|
||||
'Attributes' => 'Attribuutit',
|
||||
'Create' => 'Luoda',
|
||||
'Item' => '',
|
||||
'ItemManagement' => 'Kohtahallinta',
|
||||
'Items' => '',
|
||||
'List' => 'Lista',
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return ['Navigation' => [
|
|||
'Article' => 'Article',
|
||||
'Attributes' => 'Les attributs',
|
||||
'Create' => 'Créer',
|
||||
'Item' => '',
|
||||
'ItemManagement' => 'Gestion des articles',
|
||||
'Items' => '',
|
||||
'List' => 'Lister',
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return ['Navigation' => [
|
|||
'Article' => 'Cikk',
|
||||
'Attributes' => 'Tulajdonságok',
|
||||
'Create' => 'Teremt',
|
||||
'Item' => '',
|
||||
'ItemManagement' => 'Elemkezelés',
|
||||
'Items' => '',
|
||||
'List' => 'Lista',
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return ['Navigation' => [
|
|||
'Article' => 'Articolo',
|
||||
'Attributes' => 'Attributi',
|
||||
'Create' => 'Creare',
|
||||
'Item' => '',
|
||||
'ItemManagement' => 'Gestione degli articoli',
|
||||
'Items' => '',
|
||||
'List' => 'Elenco',
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return ['Navigation' => [
|
|||
'Article' => '記事',
|
||||
'Attributes' => '属性',
|
||||
'Create' => '作成',
|
||||
'Item' => '',
|
||||
'ItemManagement' => 'アイテム管理',
|
||||
'Items' => '',
|
||||
'List' => 'リスト',
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return ['Navigation' => [
|
|||
'Article' => '기사',
|
||||
'Attributes' => '속성',
|
||||
'Create' => '만들다',
|
||||
'Item' => '',
|
||||
'ItemManagement' => '항목 관리',
|
||||
'Items' => '',
|
||||
'List' => '목록',
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return ['Navigation' => [
|
|||
'Article' => 'Artikkel',
|
||||
'Attributes' => 'Egenskaper',
|
||||
'Create' => 'Skape',
|
||||
'Item' => '',
|
||||
'ItemManagement' => 'Varehåndtering',
|
||||
'Items' => '',
|
||||
'List' => 'Liste',
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return ['Navigation' => [
|
|||
'Article' => 'Artykuł',
|
||||
'Attributes' => 'Atrybuty',
|
||||
'Create' => 'Tworzyć',
|
||||
'Item' => '',
|
||||
'ItemManagement' => 'Zarządzanie przedmiotem',
|
||||
'Items' => '',
|
||||
'List' => 'Lista',
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return ['Navigation' => [
|
|||
'Article' => 'Artigo',
|
||||
'Attributes' => 'Atributos',
|
||||
'Create' => 'Crio',
|
||||
'Item' => '',
|
||||
'ItemManagement' => 'Gerenciamento de itens',
|
||||
'Items' => '',
|
||||
'List' => 'Lista',
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return ['Navigation' => [
|
|||
'Article' => 'Статья',
|
||||
'Attributes' => 'Атрибуты',
|
||||
'Create' => 'Создавать',
|
||||
'Item' => '',
|
||||
'ItemManagement' => 'Управление предметом',
|
||||
'Items' => '',
|
||||
'List' => 'Список',
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return ['Navigation' => [
|
|||
'Article' => 'Artikel',
|
||||
'Attributes' => 'Attribut',
|
||||
'Create' => 'Skapa',
|
||||
'Item' => '',
|
||||
'ItemManagement' => 'Artikelhantering',
|
||||
'Items' => '',
|
||||
'List' => 'Lista',
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return ['Navigation' => [
|
|||
'Article' => 'บทความ',
|
||||
'Attributes' => 'คุณลักษณะ',
|
||||
'Create' => 'สร้าง',
|
||||
'Item' => '',
|
||||
'ItemManagement' => 'การจัดการรายการ',
|
||||
'Items' => '',
|
||||
'List' => 'รายการ',
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return ['Navigation' => [
|
|||
'Article' => 'Madde',
|
||||
'Attributes' => 'Öznitellikler',
|
||||
'Create' => 'Yaratmak',
|
||||
'Item' => '',
|
||||
'ItemManagement' => 'Öğe Yönetimi',
|
||||
'Items' => '',
|
||||
'List' => 'Liste',
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return ['Navigation' => [
|
|||
'Article' => 'Стаття',
|
||||
'Attributes' => 'Атрибути',
|
||||
'Create' => 'Створювати',
|
||||
'Item' => '',
|
||||
'ItemManagement' => 'Управління елементами',
|
||||
'Items' => '',
|
||||
'List' => 'Список',
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return ['Navigation' => [
|
|||
'Article' => '文章',
|
||||
'Attributes' => '属性',
|
||||
'Create' => '创建',
|
||||
'Item' => '',
|
||||
'ItemManagement' => '物品管理',
|
||||
'Items' => '',
|
||||
'List' => '列表',
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ return ['ItemManagement' => [
|
|||
'QA' => 'QA.',
|
||||
'QM' => 'Qm.',
|
||||
'Quantity' => 'Antal',
|
||||
'QuantityUnit' => "Mængden af \u{200b}\u{200b}mængde",
|
||||
'QuantityUnit' => 'Mængden af mængde',
|
||||
'RecentInvoices' => '',
|
||||
'ReorderLevel' => 'Ombestillingsniveau',
|
||||
'Reserved' => 'Reserveret',
|
||||
|
|
|
|||
|
|
@ -56,10 +56,10 @@ return ['ItemManagement' => [
|
|||
'Groups' => 'Gruppen',
|
||||
'Height' => 'Höhe',
|
||||
'ID' => 'ID',
|
||||
'ILV' => 'Ilv.',
|
||||
'ILV' => 'ILV',
|
||||
'Info' => 'Die Info',
|
||||
'IsActive' => 'Aktiv?',
|
||||
'Issues' => '',
|
||||
'Issues' => 'Probleme',
|
||||
'Item' => 'Artikel',
|
||||
'ItemGroup' => 'Artikelgruppe',
|
||||
'ItemSection' => 'Artikelsparte',
|
||||
|
|
@ -78,7 +78,7 @@ return ['ItemManagement' => [
|
|||
'Lot' => 'Viel',
|
||||
'MRR' => 'Mrr.',
|
||||
'MTDSales' => 'MTD-Verkäufe.',
|
||||
'Machines' => '',
|
||||
'Machines' => 'Maschinen',
|
||||
'Makespan' => 'Makespan',
|
||||
'Margin' => 'Rand',
|
||||
'Master' => 'Meister',
|
||||
|
|
@ -99,37 +99,37 @@ return ['ItemManagement' => [
|
|||
'Number' => 'Nummer',
|
||||
'Ordered' => 'Bestellt',
|
||||
'Packaging' => 'Verpackung',
|
||||
'PartsList' => '',
|
||||
'PartsList' => 'Stückliste',
|
||||
'Price' => 'Preis',
|
||||
'PriceChange' => 'Preisänderung',
|
||||
'PriceUnit' => 'Preiseinheit.',
|
||||
'Prices' => 'Preise',
|
||||
'Pricing' => '',
|
||||
'Pricing' => 'Preise',
|
||||
'Procurement' => 'Beschaffung',
|
||||
'Productgroup' => 'Produktgruppe',
|
||||
'Production' => 'Produktion',
|
||||
'ProductionSteps' => '',
|
||||
'ProductionSteps' => 'Produktionsschritte',
|
||||
'Profile' => 'Profil',
|
||||
'Properties' => 'Eigenschaften',
|
||||
'Property' => 'Eigentum',
|
||||
'Purchase' => 'Kaufen',
|
||||
'PurchasePrice' => 'Kaufpreis',
|
||||
'Purchasing' => 'Einkauf',
|
||||
'QA' => 'Qa.',
|
||||
'QM' => 'Qm',
|
||||
'QA' => 'Qualitätssicherung',
|
||||
'QM' => 'Qualitätsmanagement',
|
||||
'Quantity' => 'Menge',
|
||||
'QuantityUnit' => 'Einheit der Menge.',
|
||||
'RecentInvoices' => '',
|
||||
'RecentInvoices' => 'Neuste Rechnungen',
|
||||
'ReorderLevel' => 'Neuordnungspegel',
|
||||
'Reserved' => 'Reserviert',
|
||||
'SN' => 'Sn',
|
||||
'Sales' => 'Der Umsatz',
|
||||
'SN' => 'SN',
|
||||
'Sales' => 'Umsatz',
|
||||
'SalesPrice' => 'Verkaufspreis',
|
||||
'SalesPricing' => 'Verkaufspreise',
|
||||
'Segment' => 'Segment',
|
||||
'ShelfLife' => 'Haltbarkeit.',
|
||||
'Source' => 'Quelle',
|
||||
'Start' => 'Anfang',
|
||||
'Start' => 'Start',
|
||||
'Status' => 'Status',
|
||||
'Stock' => 'Aktie',
|
||||
'StockList' => 'Lagerliste',
|
||||
|
|
@ -145,12 +145,12 @@ return ['ItemManagement' => [
|
|||
'Translation' => 'Übersetzung',
|
||||
'Type' => 'Typ',
|
||||
'Unit' => 'Einheit',
|
||||
'UsedIn' => '',
|
||||
'UsedIn' => 'Verwendet in',
|
||||
'Value' => 'Wert',
|
||||
'Variation' => 'Variation',
|
||||
'Variations' => 'Variationen',
|
||||
'Volume' => 'Volumen',
|
||||
'Warehouse' => 'Lagerhaus',
|
||||
'Width' => 'Breite',
|
||||
'YTDSales' => 'Ytd Sales.',
|
||||
'YTDSales' => 'Ytd Sales',
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ return ['ItemManagement' => [
|
|||
'Properties' => 'Propriétés',
|
||||
'Property' => 'Propriété',
|
||||
'Purchase' => 'Acheter',
|
||||
'PurchasePrice' => "Prix \u{200b}\u{200b}d'achat",
|
||||
'PurchasePrice' => 'Prix d\'achat',
|
||||
'Purchasing' => 'Achat',
|
||||
'QA' => 'Qa',
|
||||
'QM' => 'Qm',
|
||||
|
|
@ -124,7 +124,7 @@ return ['ItemManagement' => [
|
|||
'Reserved' => 'Réservé',
|
||||
'SN' => 'Sn',
|
||||
'Sales' => 'Ventes',
|
||||
'SalesPrice' => "Prix \u{200b}\u{200b}de vente",
|
||||
'SalesPrice' => 'Prix de vente',
|
||||
'SalesPricing' => '',
|
||||
'Segment' => 'Segment',
|
||||
'ShelfLife' => 'Durée de vie',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user