diff --git a/client/locator/src/index/index.js b/client/locator/src/index/index.js index 5f2018ec1..e7ad4e98b 100644 --- a/client/locator/src/index/index.js +++ b/client/locator/src/index/index.js @@ -3,6 +3,10 @@ import ngModule from '../module'; class LocatorIndex { constructor($state) { this.$state = $state; + this.routes = [ + {id: 1, zoneFk: 1, postalcode: 46006, order: 1, preparado: '25/08', entrada: '26/08', ticket: 1547892, routeFk: 9999, alias: 'Flores Vendrell', bultos: 12, m3: 0.23}, + {id: 2, zoneFk: 1, postalcode: 46006, order: 1, preparado: '25/08', entrada: '26/08', ticket: 1547892, routeFk: 9999, alias: 'Flores Vendrell', bultos: 12, m3: 0.23} + ]; } } LocatorIndex.$inject = ['$state']; diff --git a/client/locator/src/locator-table/locator-table.html b/client/locator/src/locator-table/locator-table.html index 79a89a011..b07a01c5d 100644 --- a/client/locator/src/locator-table/locator-table.html +++ b/client/locator/src/locator-table/locator-table.html @@ -1,8 +1,7 @@ - - + @@ -14,9 +13,29 @@ - - - + + + + + {{::route.zoneFk}} + {{::route.postalcode}} + {{::route.order}} + {{::route.preparado}} + {{::route.entrada}} + {{::route.ticket}} + {{::route.routeFk}} + {{::route.alias}} + {{::route.bultos}} + {{::route.m3}} + + + + + + + Direccion: + + \ No newline at end of file diff --git a/client/locator/src/locator-table/locator-table.js b/client/locator/src/locator-table/locator-table.js index d9e7be3f5..3abe5f3d4 100644 --- a/client/locator/src/locator-table/locator-table.js +++ b/client/locator/src/locator-table/locator-table.js @@ -9,5 +9,8 @@ LocatorTable.$inject = ['$state']; ngModule.component('vnLocatorTable', { template: require('./locator-table.html'), + bindings: { + routes: '<' + }, controller: LocatorTable });