diff --git a/modules/entry/front/index/index.html b/modules/entry/front/index/index.html index 2f3aa5636..b48f99aab 100644 --- a/modules/entry/front/index/index.html +++ b/modules/entry/front/index/index.html @@ -13,12 +13,10 @@ Landed Reference Supplier - Currency - Company Booked Confirmed Ordered - Notes + @@ -49,18 +47,15 @@ {{::entry.ref}} {{::entry.supplierName}} - {{::entry.currencyCode}} - {{::entry.companyCode}} - - - + + + @@ -70,7 +65,11 @@ - + + + +
diff --git a/modules/entry/front/index/index.js b/modules/entry/front/index/index.js index 759ce2724..8635d3fb4 100644 --- a/modules/entry/front/index/index.js +++ b/modules/entry/front/index/index.js @@ -1,7 +1,12 @@ import ngModule from '../module'; import Section from 'salix/components/section'; -export default class Controller extends Section {} +export default class Controller extends Section { + preview(entry) { + this.entrySelected = entry; + this.$.summary.show(); + } +} ngModule.vnComponent('vnEntryIndex', { template: require('./index.html'), diff --git a/modules/invoiceIn/front/index/index.html b/modules/invoiceIn/front/index/index.html index c554dfd5f..d3d1f820e 100644 --- a/modules/invoiceIn/front/index/index.html +++ b/modules/invoiceIn/front/index/index.html @@ -50,6 +50,8 @@ vn-tooltip="Preview" icon="preview"> + +