fix contracttype
parent
7a4a735d43
commit
1f43411eab
|
|
@ -21127,7 +21127,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
insurance_type: '0',
|
insurance_type: '0',
|
||||||
car_id: this.car.id,
|
car_id: this.car.id,
|
||||||
contact_id: this.contact.id,
|
contact_id: this.contact.id,
|
||||||
is_sell_contract: this.type == 'SellContract'
|
is_sell_contract: this.type == '0'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
@ -21139,7 +21139,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
return this.isSellContract ? 'Käufer' : 'Verkäufer';
|
return this.isSellContract ? 'Käufer' : 'Verkäufer';
|
||||||
},
|
},
|
||||||
isSellContract: function isSellContract() {
|
isSellContract: function isSellContract() {
|
||||||
return this.type == 'SellContract';
|
return this.type === '1';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
@ -21205,7 +21205,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
address: null,
|
address: null,
|
||||||
zip: null,
|
zip: null,
|
||||||
city: null,
|
city: null,
|
||||||
country: null,
|
country: 'CH',
|
||||||
notes: null,
|
notes: null,
|
||||||
errors: {}
|
errors: {}
|
||||||
},
|
},
|
||||||
|
|
@ -21220,7 +21220,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
return this.isSellContract ? 'Käufer' : 'Verkäufer';
|
return this.isSellContract ? 'Käufer' : 'Verkäufer';
|
||||||
},
|
},
|
||||||
isSellContract: function isSellContract() {
|
isSellContract: function isSellContract() {
|
||||||
return this.type == 'SellContract';
|
return this.type == '1';
|
||||||
},
|
},
|
||||||
emptyContact: function emptyContact() {
|
emptyContact: function emptyContact() {
|
||||||
return {
|
return {
|
||||||
|
|
@ -21232,7 +21232,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
phone: null,
|
phone: null,
|
||||||
address: null,
|
address: null,
|
||||||
zip: null,
|
zip: null,
|
||||||
city: null,
|
city: 'CH',
|
||||||
country: null,
|
country: null,
|
||||||
notes: null,
|
notes: null,
|
||||||
errors: {}
|
errors: {}
|
||||||
|
|
@ -21360,7 +21360,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
return this.isSellContract ? 'Käufer' : 'Verkäufer';
|
return this.isSellContract ? 'Käufer' : 'Verkäufer';
|
||||||
},
|
},
|
||||||
isSellContract: function isSellContract() {
|
isSellContract: function isSellContract() {
|
||||||
return this.type == 'SellContract';
|
return this.type == '1';
|
||||||
},
|
},
|
||||||
emptyCar: function emptyCar() {
|
emptyCar: function emptyCar() {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@ export default {
|
||||||
insurance_type: '0',
|
insurance_type: '0',
|
||||||
car_id: this.car.id,
|
car_id: this.car.id,
|
||||||
contact_id: this.contact.id,
|
contact_id: this.contact.id,
|
||||||
is_sell_contract: this.type == 'SellContract',
|
is_sell_contract: this.type == '0',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
@ -109,7 +109,7 @@ export default {
|
||||||
return this.isSellContract ? 'Käufer' : 'Verkäufer';
|
return this.isSellContract ? 'Käufer' : 'Verkäufer';
|
||||||
},
|
},
|
||||||
isSellContract() {
|
isSellContract() {
|
||||||
return this.type == 'SellContract';
|
return this.type === '1';
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,7 @@ export default {
|
||||||
address: null,
|
address: null,
|
||||||
zip: null,
|
zip: null,
|
||||||
city: null,
|
city: null,
|
||||||
country: null,
|
country: 'CH',
|
||||||
notes: null,
|
notes: null,
|
||||||
errors: {},
|
errors: {},
|
||||||
},
|
},
|
||||||
|
|
@ -122,7 +122,7 @@ export default {
|
||||||
return this.isSellContract ? 'Käufer' : 'Verkäufer';
|
return this.isSellContract ? 'Käufer' : 'Verkäufer';
|
||||||
},
|
},
|
||||||
isSellContract() {
|
isSellContract() {
|
||||||
return this.type == 'SellContract';
|
return this.type == '1';
|
||||||
},
|
},
|
||||||
emptyContact() {
|
emptyContact() {
|
||||||
return {
|
return {
|
||||||
|
|
@ -134,7 +134,7 @@ export default {
|
||||||
phone: null,
|
phone: null,
|
||||||
address: null,
|
address: null,
|
||||||
zip: null,
|
zip: null,
|
||||||
city: null,
|
city: 'CH',
|
||||||
country: null,
|
country: null,
|
||||||
notes: null,
|
notes: null,
|
||||||
errors: {},
|
errors: {},
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,7 @@ export default {
|
||||||
return this.isSellContract ? 'Käufer' : 'Verkäufer';
|
return this.isSellContract ? 'Käufer' : 'Verkäufer';
|
||||||
},
|
},
|
||||||
isSellContract() {
|
isSellContract() {
|
||||||
return this.type == 'SellContract';
|
return this.type == '1';
|
||||||
},
|
},
|
||||||
emptyCar() {
|
emptyCar() {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue