feat: refs #7119 add isKmTruckRate field to Vehicle model and filter
gitea/salix/pipeline/pr-dev This commit looks good
Details
gitea/salix/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
39fc196464
commit
9aa790ecfd
|
@ -18,7 +18,7 @@ module.exports = Self => {
|
|||
|
||||
Self.filter = async id => {
|
||||
const filter = {
|
||||
fields: ['id', 'numberPlate', 'tradeMark', 'model', 'm3', 'description', 'isActive', 'warehouseFk', 'companyFk', 'countryCodeFk', 'chassis', 'leasing'],
|
||||
fields: ['id', 'numberPlate', 'tradeMark', 'model', 'm3', 'description', 'isActive', 'warehouseFk', 'companyFk', 'countryCodeFk', 'chassis', 'leasing', 'isKmTruckRate'],
|
||||
include: [
|
||||
{
|
||||
relation: 'warehouse',
|
||||
|
|
|
@ -38,6 +38,9 @@
|
|||
},
|
||||
"leasing": {
|
||||
"type": "string"
|
||||
},
|
||||
"isKmTruckRate": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"relations": {
|
||||
|
|
Loading…
Reference in New Issue