diff --git a/modules/invoiceIn/back/methods/invoice-in/filter.js b/modules/invoiceIn/back/methods/invoice-in/filter.js index b480df64a..3b9330eb9 100644 --- a/modules/invoiceIn/back/methods/invoice-in/filter.js +++ b/modules/invoiceIn/back/methods/invoice-in/filter.js @@ -109,8 +109,9 @@ module.exports = Self => { return {'ii.created': {gte: value}}; case 'to': return {'ii.created': {lte: value}}; - case 'account': case 'fi': + return {'s.nif': value}; + case 'account': return {[`s.${param}`]: value}; case 'supplierRef': case 'supplierFk': diff --git a/modules/invoiceIn/front/index/index.html b/modules/invoiceIn/front/index/index.html index 3d9b787d9..62074be33 100644 --- a/modules/invoiceIn/front/index/index.html +++ b/modules/invoiceIn/front/index/index.html @@ -54,19 +54,22 @@ - - + --> + + diff --git a/modules/invoiceIn/front/search-panel/index.html b/modules/invoiceIn/front/search-panel/index.html index 90bb73725..d26bc063e 100644 --- a/modules/invoiceIn/front/search-panel/index.html +++ b/modules/invoiceIn/front/search-panel/index.html @@ -27,11 +27,12 @@ label="Account" ng-model="filter.account"> - - + ng-model="filter.amount" + step="0.01"> + {{::invoiceOut.created | date:'dd/MM/yyyy' | dashIfEmpty}} {{::invoiceOut.companyCode | dashIfEmpty}} {{::invoiceOut.dued | date:'dd/MM/yyyy' | dashIfEmpty}} - + - +