mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-21 13:33:57 +00:00
22 lines
727 B
Vue
22 lines
727 B
Vue
<template>
|
|
<div class="row">
|
|
<div class="col">
|
|
<button class="btn btn-block btn-sm btn-success b-rad-none" @click="submitForm()">Update Default Billing Address</button>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import componentHandler from '../../../general/mixins/componentHandler';
|
|
import ModalFormHandler from '../../../general/mixins/modalFormHandler';
|
|
export default {
|
|
|
|
methods: {
|
|
submitForm(){
|
|
this.submit(route('api.address.default', this.item.id), 'put', this.section, true, true);
|
|
this.$emit('updateBillingAddress', this.item.id);
|
|
}
|
|
},
|
|
mixins: [componentHandler, ModalFormHandler]
|
|
|
|
}
|
|
</script> |