Merge branch 'dev' of http://git.verdnatura.es/salix into dev

This commit is contained in:
Carlos Jimenez 2018-01-18 15:27:51 +01:00
commit b068abc101
16 changed files with 82 additions and 6 deletions

View File

@ -46,14 +46,14 @@
"icon": "folder" "icon": "folder"
} }
},{ },{
"url" : "/historic", "url" : "/history",
"state": "item.card.historic", "state": "item.card.history",
"component": "vn-item-historic", "component": "vn-item-history",
"params": { "params": {
"item": "$ctrl.item" "item": "$ctrl.item"
}, },
"menu": { "menu": {
"description": "Historic", "description": "History",
"icon": "folder" "icon": "folder"
} }
},{ },{

View File

@ -0,0 +1,5 @@
<vn-card>
<vn-vertical pad-large>
<vn-title>Item barcode</vn-title>
</vn-vertical>
</vn-card>

View File

@ -0,0 +1,5 @@
import ngModule from '../module';
ngModule.component('vnItemBarcode', {
template: require('./item-barcode.html')
});

View File

@ -0,0 +1,5 @@
<vn-card>
<vn-vertical pad-large>
<vn-title>Botanical</vn-title>
</vn-vertical>
</vn-card>

View File

@ -0,0 +1,5 @@
import ngModule from '../module';
ngModule.component('vnItemBotanical', {
template: require('./item-botanical.html')
});

View File

@ -2,7 +2,7 @@
<mg-ajax <mg-ajax
path="/item/api/Items/{{patch.params.id}}" path="/item/api/Items/{{patch.params.id}}"
options="vnPatch" options="vnPatch"
override="{filter: {include: [{relation: 'itemType'}, {relation: 'origin'}, {relation: 'ink'}, {relation: 'producer'}]}}" override="{filter: {include: [{relation: 'itemType'}, {relation: 'origin'}, {relation: 'ink'}, {relation: 'producer'}, {relation: 'expence'}]}}"
> >
</mg-ajax> </mg-ajax>
<vn-watcher <vn-watcher

View File

@ -0,0 +1,5 @@
<vn-card>
<vn-vertical pad-large>
<vn-title>Item history</vn-title>
</vn-vertical>
</vn-card>

View File

@ -0,0 +1,5 @@
import ngModule from '../module';
ngModule.component('vnItemHistory', {
template: require('./item-history.html')
});

View File

@ -5,3 +5,10 @@ import './filter-panel/filter-panel';
import './create/item-create'; import './create/item-create';
import './card/item-card'; import './card/item-card';
import './data/item-data'; import './data/item-data';
import './tags/item-tags';
import './history/item-history';
import './niche/item-niche';
import './botanical/item-botanical';
import './picture/item-picture';
import './barcode/item-barcode';

View File

@ -7,5 +7,14 @@
"Type": "Tipo", "Type": "Tipo",
"Name": "Nombre", "Name": "Nombre",
"Relevancy": "Relevancia", "Relevancy": "Relevancia",
"New item": "Nuevo artículo" "New item": "Nuevo artículo",
"Basic data": "Datos básicos",
"History" : "Historial",
"Item history" : "Historial del artículo",
"Item tags" : "Tags del artículo",
"Niche": "Nicho",
"Picture": "Foto",
"Item pictures": "Fotos del artículo",
"Barcode": "Código barras",
"Item barcode": "Código de barras del artículo"
} }

View File

@ -0,0 +1,5 @@
<vn-card>
<vn-vertical pad-large>
<vn-title>Niche</vn-title>
</vn-vertical>
</vn-card>

View File

@ -0,0 +1,5 @@
import ngModule from '../module';
ngModule.component('vnItemNiche', {
template: require('./item-niche.html')
});

View File

@ -0,0 +1,5 @@
<vn-card>
<vn-vertical pad-large>
<vn-title>Item pictures</vn-title>
</vn-vertical>
</vn-card>

View File

@ -0,0 +1,5 @@
import ngModule from '../module';
ngModule.component('vnItemPicture', {
template: require('./item-picture.html')
});

View File

@ -0,0 +1,5 @@
<vn-card>
<vn-vertical pad-large>
<vn-title>Item tags</vn-title>
</vn-vertical>
</vn-card>

View File

@ -0,0 +1,5 @@
import ngModule from '../module';
ngModule.component('vnItemTags', {
template: require('./item-tags.html')
});