diff --git a/README.md b/README.md index 2e14b5905..da51fe093 100644 --- a/README.md +++ b/README.md @@ -66,15 +66,38 @@ For end-to-end tests run from project's root. $ gulp e2e ``` -## Recommended tools +## Visual Studio Code extensions -* Visual Studio Code +Open Visual Studio Code, press Ctrl+P and paste the following commands. -In Visual Studio Code we use the ESLint extension. Open Visual Studio Code, press Ctrl+P and paste the following command. +In Visual Studio Code we use the ESLint extension. ``` ext install dbaeumer.vscode-eslint ``` +Gitlens for visualization of code authorship +``` +ext install eamodio.gitlens +``` + +Spanish language pack +``` +ext install ms-ceintl.vscode-language-pack-es +``` + +### Recommended extensions + +Material icon Theme +``` +ext install pkief.material-icon-theme +``` + +Material UI Themes +``` +ext install equinusocio.vsc-material-theme +``` + + ## Built With * [angularjs](https://angularjs.org/) diff --git a/front/salix/components/descriptor-popover/style.scss b/front/salix/components/descriptor-popover/style.scss index 3fc35a0af..6ae8675bf 100644 --- a/front/salix/components/descriptor-popover/style.scss +++ b/front/salix/components/descriptor-popover/style.scss @@ -2,7 +2,7 @@ .vn-descriptor-popover { vn-descriptor-content > .descriptor { - width: 260px; + width: 256px; & > .header > a:first-child { visibility: hidden; diff --git a/front/salix/components/descriptor/style.scss b/front/salix/components/descriptor/style.scss index f51137620..d15c60938 100644 --- a/front/salix/components/descriptor/style.scss +++ b/front/salix/components/descriptor/style.scss @@ -11,7 +11,7 @@ vn-descriptor-content { & > img[ng-src] { min-height: 16em; display: block; - width: 256px; + max-width: 100%; height: 256px; } 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"> + +