|
@@ -827,12 +827,10 @@ export default {
|
827
|
827
|
this.weekParam.resortName = resort.resortName;
|
828
|
828
|
}
|
829
|
829
|
});
|
830
|
|
- console.log(this.selectedSeason);
|
831
|
830
|
this.weekParam.season = this.selectedSeason;
|
832
|
|
-
|
833
|
831
|
this.resortBedrooms.forEach(bedroom => {
|
834
|
832
|
if (bedroom === this.selectedBedrooms) {
|
835
|
|
- this.weekParam.bedroom = bedroom;
|
|
833
|
+ this.weekParam.bedrooms = bedroom;
|
836
|
834
|
}
|
837
|
835
|
});
|
838
|
836
|
this.maxSleep.forEach(sleepMax => {
|
|
@@ -870,14 +868,11 @@ export default {
|
870
|
868
|
//delete this.status;
|
871
|
869
|
delete this.weekParam.owner.howMarried;
|
872
|
870
|
delete this.weekParam.cellNumber;
|
873
|
|
- console.log(this.weekParam);
|
874
|
|
- console.log(this.week.owner);
|
875
|
871
|
this.week.owner.name =
|
876
|
872
|
this.week.owner.name.charAt(0).toUpperCase() + this.week.owner.name.slice(1);
|
877
|
873
|
this.week.owner.surname =
|
878
|
874
|
this.week.owner.surname.charAt(0).toUpperCase() + this.week.owner.surname.slice(1);
|
879
|
875
|
this.weekParam.statusId = this.selectedStatus.id;
|
880
|
|
- //console.log(this.weekParam);
|
881
|
876
|
//console.log(JSON.stringify(this.weekParam));
|
882
|
877
|
//console.log(this.weekParam);
|
883
|
878
|
this.editSave(this.weekParam)
|
|
@@ -885,7 +880,6 @@ export default {
|
885
|
880
|
this.backToListView();
|
886
|
881
|
})
|
887
|
882
|
.catch(ex => {
|
888
|
|
- //console.log(ex);
|
889
|
883
|
this.errorOccurred = "ERRORHTML";
|
890
|
884
|
this.errorMessage = ex;
|
891
|
885
|
});
|