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 => {
|
Self.filter = async id => {
|
||||||
const filter = {
|
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: [
|
include: [
|
||||||
{
|
{
|
||||||
relation: 'warehouse',
|
relation: 'warehouse',
|
||||||
|
|
|
@ -38,6 +38,9 @@
|
||||||
},
|
},
|
||||||
"leasing": {
|
"leasing": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
"isKmTruckRate": {
|
||||||
|
"type": "number"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"relations": {
|
"relations": {
|
||||||
|
|
Loading…
Reference in New Issue