2017-12-04 07:17:29 +00:00
|
|
|
module.exports = function(Self) {
|
|
|
|
require('../methods/greuge/filter.js')(Self);
|
2018-01-29 11:37:54 +00:00
|
|
|
require('../methods/greuge/sumAmount.js')(Self);
|
2018-01-11 10:22:56 +00:00
|
|
|
|
|
|
|
Self.validatesLengthOf('description', {
|
|
|
|
max: 45,
|
2018-01-11 12:16:39 +00:00
|
|
|
message: 'La description debe tener maximo 45 caracteres'
|
2018-01-11 10:22:56 +00:00
|
|
|
});
|
2017-12-04 07:17:29 +00:00
|
|
|
};
|