diff --git a/resources/assets/vue/components/bookings/elements/RefundVerificationComponent.vue b/resources/assets/vue/components/bookings/elements/RefundVerificationComponent.vue
index 11aa1ff5..b947f571 100644
--- a/resources/assets/vue/components/bookings/elements/RefundVerificationComponent.vue
+++ b/resources/assets/vue/components/bookings/elements/RefundVerificationComponent.vue
@@ -1,7 +1,93 @@
- {{ data }}
+
+
+
+
+
+
+
+
Date
+
+ {{ data.booking.created_at }}
+
+
+
+
+
Amount
+
+ {{ data.booking.amount }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Reject Refund
+
Are you sure you want to reject this refund?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Approve Refund
+
Are you sure you want to approve this refund?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -10,13 +96,16 @@
import componentHandler from '../../../general/mixins/componentHandler';
import staticFormHandler from '../../../general/mixins/staticFormHandler'
export default {
- props: {
- no_action: Boolean
+ data() {
+ return {
+ status: ''
+ }
},
methods: {
- approvePayment(status){
+ approveRefund(status){
this.isLoading = true;
- this.submit(this.route('api.booking.payment', this.item.booking.id, this.item.id, status), 'put', 'identificationVerificationSection', true, true);
+ this.status = status;
+ this.submit(this.route('api.transaction.refund.status.update', this.data.id), 'put', 'listRefundTransactionSection', true, true);
},
},
mixins: [componentHandler, staticFormHandler]
diff --git a/resources/views/pages/dashboards/admin.blade.php b/resources/views/pages/dashboards/admin.blade.php
index d3f92e42..256be0dd 100644
--- a/resources/views/pages/dashboards/admin.blade.php
+++ b/resources/views/pages/dashboards/admin.blade.php
@@ -83,9 +83,9 @@