mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
fix: [FE] new address form switch to view billing detail after create billing address button executed.
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
this.submit((this.route('api.address.create')), 'post', 'bookingDetailSection', true, true)
|
||||
},
|
||||
successHandler(response){
|
||||
this.type !== 2 ? this.closeModal() : this.$emit('createdAddress', response.payload.data);
|
||||
this.type !== 2 ? this.$emit('updateDefaultAddress', response.payload.data) : this.$emit('createdAddress', response.payload.data);
|
||||
this.resetForm();
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
</div>
|
||||
<div class="row" v-if="!booking.company.address">
|
||||
<div class="col-8">
|
||||
<address-form-component :id="booking.company.id"></address-form-component>
|
||||
<address-form-component :id="booking.company.id" v-on:updateDefaultAddress="updateDefaultAddress"></address-form-component>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row b-b b-dashed b-grey p-b-25" v-if="booking.company.address">
|
||||
|
||||
Reference in New Issue
Block a user