mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
44 lines
1.9 KiB
Vue
44 lines
1.9 KiB
Vue
<template>
|
|
<div class="row">
|
|
<div class="col bg-white padding-40 b-rad-lg">
|
|
<loading-component style="height: 300px; top: 0;" key="1" color="success" v-show="isLoading" ></loading-component>
|
|
<div class="row justify-content-center" v-show="!isLoading">
|
|
<div class="col">
|
|
<div class="row m-b-20">
|
|
<div class="col">
|
|
<h3 class="all-caps">Are you Sure?</h3>
|
|
<div class="fs-11">Are you sure you want to try to regenerate the e-invoice for this payment?</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col p-r-5">
|
|
<div class="btn btn-sm btn-success btn-block b-rad-none" data-dismiss="modal">Cancel</div>
|
|
</div>
|
|
<div class="col p-l-5">
|
|
<div class="btn btn-sm btn-danger btn-block b-rad-none" @click="submitForm()">Confirm</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import componentHandler from '../../../general/mixins/componentHandler';
|
|
import ModalFormHandler from '../../../general/mixins/modalFormHandler';
|
|
export default {
|
|
methods: {
|
|
submitForm() {
|
|
this.parameters.normal_invoice = false;
|
|
this.parameters.e_invoice_try = true;
|
|
this.submit(this.route('api.booking.einvoice.try.regenerate', this.data.id), 'post', this.section, true, true);
|
|
},
|
|
successHandler(){
|
|
this.closeModal();
|
|
this.$store.dispatch('reloadList', {'name': "bookingDetailSection"});
|
|
}
|
|
},
|
|
mixins: [componentHandler, ModalFormHandler]
|
|
}
|
|
</script>
|