mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
Address datePane: validTo date display and format
This commit is contained in:
@@ -280,7 +280,7 @@ export default {
|
||||
},
|
||||
valid: {
|
||||
from: new Date(),
|
||||
to: new Date()
|
||||
to: null
|
||||
}
|
||||
},
|
||||
addressMap: {
|
||||
@@ -609,8 +609,10 @@ export default {
|
||||
if (this.context.target.name === 'person') { // !!! maintain here ?
|
||||
postcodeBody = Object.assign(postcodeBody, {'origin': 3});
|
||||
}
|
||||
console.log('juste before post new postcode', postcodeBody);
|
||||
return postPostalCode(postcodeBody)
|
||||
.then(postalCode => {
|
||||
console.log('new postcode created', postalCode.id);
|
||||
payload.postcode = {'id': postalCode.id };
|
||||
return this.postNewAddress(payload);
|
||||
});
|
||||
|
Reference in New Issue
Block a user