diff --git a/resources/assets/js/pages/admin/home.vue b/resources/assets/js/pages/admin/home.vue
index b5d4b62d..bbe21761 100644
--- a/resources/assets/js/pages/admin/home.vue
+++ b/resources/assets/js/pages/admin/home.vue
@@ -1,7 +1,7 @@
-Refresh
+Refresh
@@ -112,9 +112,6 @@
-
-
-
@@ -176,6 +173,14 @@ export default {
})
})
},
+ RefreshBookingCompleteTable() {
+ let $this = this
+ this.loading_btn = true
+ axios.get(this.completeBookingurl).then(response => {
+ this.loading_btn = false;
+ this.bookingTableComplete = response.data.data
+ })
+ },
makePagination(data){
let pagination ={
current_page: data.current_page,
diff --git a/resources/assets/js/pages/home.vue b/resources/assets/js/pages/home.vue
index c02353aa..158bf5db 100644
--- a/resources/assets/js/pages/home.vue
+++ b/resources/assets/js/pages/home.vue
@@ -278,7 +278,7 @@
-Refresh
+Refresh
@@ -525,7 +525,7 @@ export default {
this.getBooking();
this.initBooking();
this.getRate();
- this.getCompleteBooking();
+ this.getBookingTableComplete();
},
methods: {
getBooking(){
@@ -535,7 +535,7 @@ export default {
$this.makePagination(response.data)
})
},
- getCompleteBooking(){
+ getBookingTableComplete(){
let $this = this
axios.get(this.completeBookingurl).then(response => {
this.bookingTableComplete = response.data.data
@@ -582,6 +582,14 @@ export default {
})
})
},
+ RefreshBookingCompleteTable() {
+ let $this = this
+ this.loading_btn = true
+ axios.get(this.completeBookingurl).then(response => {
+ this.loading_btn = false;
+ this.bookingTableComplete = response.data.data
+ })
+ },
makePagination(data){
let pagination ={
current_page: data.current_page,
@@ -608,7 +616,7 @@ export default {
},
fetchCompletePaginateBooking(url) {
this.completeBookingurl = url
- this.getCompleteBooking()
+ this.getBookingTableComplete()
},