cr changes
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Bernat Exposito 2020-12-18 22:31:46 +01:00
parent 2115ff7fa6
commit 1a641d1d4b
3 changed files with 2 additions and 11 deletions

View File

@ -11,7 +11,7 @@ describe('supplier consumption() filter', () => {
};
const result = await app.models.Supplier.consumption(ctx, filter);
expect(result.length).toEqual(8);
expect(result.length).toEqual(6);
});
it('should return a list of entries from the item id 1 and supplier 1', async() => {

View File

@ -1,15 +1,7 @@
import ngModule from '../module';
import SearchPanel from 'core/components/searchbar/search-panel';
class Controller extends SearchPanel {
constructor($, $element) {
super($, $element);
this.filter = this.$.filter;
}
}
ngModule.vnComponent('vnSupplierConsumptionSearchPanel', {
template: require('./index.html'),
controller: Controller
controller: SearchPanel
});

View File

@ -83,7 +83,6 @@
"state": "supplier.card.consumption",
"component": "vn-supplier-consumption",
"description": "Consumption",
"acl": ["administrative"],
"params": {
"supplier": "$ctrl.supplier"
}