diff --git a/modules/entry/front/buy/import/index.js b/modules/entry/front/buy/import/index.js
index 2f13b2746..a88476240 100644
--- a/modules/entry/front/buy/import/index.js
+++ b/modules/entry/front/buy/import/index.js
@@ -133,7 +133,7 @@ class Controller extends Section {
case 'producerFk':
case 'typeFk':
case 'size':
- case 'ink':
+ case 'inkFk':
where[key] = value;
}
}
diff --git a/modules/invoiceIn/front/descriptor/index.html b/modules/invoiceIn/front/descriptor/index.html
index 6829a0daf..0cdd5f8b8 100644
--- a/modules/invoiceIn/front/descriptor/index.html
+++ b/modules/invoiceIn/front/descriptor/index.html
@@ -43,7 +43,7 @@
+ icon="icon-invoice-in">
diff --git a/modules/invoiceIn/front/routes.json b/modules/invoiceIn/front/routes.json
index 599e6cb2d..bae496629 100644
--- a/modules/invoiceIn/front/routes.json
+++ b/modules/invoiceIn/front/routes.json
@@ -1,7 +1,7 @@
{
"module": "invoiceIn",
"name": "Invoices in",
- "icon": "icon-invoiceIn",
+ "icon": "icon-invoice-in",
"validations": true,
"dependencies": [
"worker",
@@ -11,7 +11,7 @@
"main": [
{
"state": "invoiceIn.index",
- "icon": "icon-invoiceIn"
+ "icon": "icon-invoice-in"
}
],
"card": [
diff --git a/modules/invoiceOut/front/routes.json b/modules/invoiceOut/front/routes.json
index 5cb2a780c..09d9f3d33 100644
--- a/modules/invoiceOut/front/routes.json
+++ b/modules/invoiceOut/front/routes.json
@@ -1,12 +1,12 @@
{
"module": "invoiceOut",
"name": "Invoices out",
- "icon": "icon-invoiceOut",
+ "icon": "icon-invoice-out",
"validations" : true,
"dependencies": ["worker", "client", "ticket"],
"menus": {
"main": [
- {"state": "invoiceOut.index", "icon": "icon-invoiceOut"}
+ {"state": "invoiceOut.index", "icon": "icon-invoice-out"}
]
},
"routes": [
diff --git a/modules/item/back/models/item.json b/modules/item/back/models/item.json
index fd4b6b079..9b78264f7 100644
--- a/modules/item/back/models/item.json
+++ b/modules/item/back/models/item.json
@@ -176,6 +176,11 @@
"model": "Expense",
"foreignKey": "expenseFk"
},
+ "generic": {
+ "type": "belongsTo",
+ "model": "Item",
+ "foreignKey": "genericFk"
+ },
"tags": {
"type": "hasMany",
"model": "ItemTag",
diff --git a/modules/item/front/basic-data/index.html b/modules/item/front/basic-data/index.html
index cec7a063f..e926e3180 100644
--- a/modules/item/front/basic-data/index.html
+++ b/modules/item/front/basic-data/index.html
@@ -137,6 +137,29 @@
ng-model="$ctrl.item.compression"
rule>
+
+
+ {{::id}} - {{::name}}
+
+
+
+
+
+
+
+