From 8d9c6e40726498229db1105c74e9944c9940fd1d Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Fri, 19 Apr 2019 15:08:21 +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 9d274ee8..ab1c9b03 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 (Number(this.status)) { + switch (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 21bdaeaf..b0e972ef 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 (Number(status)) { + switch (status) { case 1: this.$router.push({ name: 'booking.user.upload',