From c7f6773359a70df02f99b008d19a12657a8b562a Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Fri, 19 Apr 2019 15:03:27 +0800 Subject: [PATCH] fixing totals to include service charge for x2 payments --- resources/assets/js/pages/admin/home.vue | 2 +- resources/assets/js/pages/home.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/assets/js/pages/admin/home.vue b/resources/assets/js/pages/admin/home.vue index ab1c9b03..9d274ee8 100644 --- a/resources/assets/js/pages/admin/home.vue +++ b/resources/assets/js/pages/admin/home.vue @@ -316,7 +316,7 @@ export default { BookingStatus (status, booking_id, term) { // TODO : Get booking status from server this.status = status - switch (this.status) { + switch (Number(this.status)) { case 1: this.$router.push({ name: 'booking.admin.booking.detail', diff --git a/resources/assets/js/pages/home.vue b/resources/assets/js/pages/home.vue index b0e972ef..21bdaeaf 100644 --- a/resources/assets/js/pages/home.vue +++ b/resources/assets/js/pages/home.vue @@ -784,7 +784,7 @@ export default { BookingStatus (status, booking_id, term) { // TODO : Get booking status from server // this.status = status; - switch (status) { + switch (Number(status)) { case 1: this.$router.push({ name: 'booking.user.upload',