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