diff --git a/modules/supplier/front/basic-data/index.html b/modules/supplier/front/basic-data/index.html new file mode 100644 index 000000000..55239e25f --- /dev/null +++ b/modules/supplier/front/basic-data/index.html @@ -0,0 +1,42 @@ + + + +
+ + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/modules/supplier/front/basic-data/index.js b/modules/supplier/front/basic-data/index.js new file mode 100644 index 000000000..447118ebb --- /dev/null +++ b/modules/supplier/front/basic-data/index.js @@ -0,0 +1,10 @@ +import ngModule from '../module'; +import Section from 'salix/components/section'; + +ngModule.vnComponent('vnSupplierBasicData', { + template: require('./index.html'), + controller: Section, + bindings: { + supplier: '<' + } +}); diff --git a/modules/supplier/front/basic-data/locale/es.yml b/modules/supplier/front/basic-data/locale/es.yml new file mode 100644 index 000000000..26067c3db --- /dev/null +++ b/modules/supplier/front/basic-data/locale/es.yml @@ -0,0 +1,2 @@ +Notes: Notas +Is Active: Es activo \ No newline at end of file diff --git a/modules/supplier/front/index.js b/modules/supplier/front/index.js index a4017bbd9..9fefd5b73 100644 --- a/modules/supplier/front/index.js +++ b/modules/supplier/front/index.js @@ -7,3 +7,4 @@ import './index/'; import './search-panel'; import './log'; import './summary'; +import './basic-data'; diff --git a/modules/supplier/front/routes.json b/modules/supplier/front/routes.json index 24e8d8692..fed6a688a 100644 --- a/modules/supplier/front/routes.json +++ b/modules/supplier/front/routes.json @@ -9,6 +9,7 @@ {"state": "supplier.index", "icon": "icon-supplier"} ], "card": [ + {"state": "supplier.card.basicData", "icon": "settings"}, {"state": "supplier.card.log", "icon": "history"} ] }, @@ -42,6 +43,15 @@ "state": "supplier.card.log", "component": "vn-supplier-log", "description": "Log" + }, { + "url": "/basic-data", + "state": "supplier.card.basicData", + "component": "vn-supplier-basic-data", + "description": "Basic data", + "acl": ["administrative"], + "params": { + "supplier": "$ctrl.supplier" + } } ] } \ No newline at end of file