feat: refs #7296 requested changes2
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Robert Ferrús 2024-05-20 13:19:01 +02:00
parent 996f14341d
commit 34f48e46e7
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ class Controller extends Component {
include: [
{relation: 'supplier'},
{relation: 'worker'},
{relation: 'ExpeditionTruck',
{relation: 'roadmapStop',
scope: {
include: [
{relation: 'warehouse'}
@ -48,7 +48,7 @@ class Controller extends Component {
description: this.roadmapStop.description
};
this.$http.post(`roadmapStops`, data)
this.$http.post(`RoadmapStops`, data)
.then(() => {
this.loadData();
this.vnApp.showSuccess(this.$t('Data saved!'));

View File

@ -23,7 +23,7 @@
}
},
"relations": {
"RoadmapStop": {
"roadmapStop": {
"type": "belongsTo",
"model": "RoadmapStop",
"foreignKey": "truckFk"