fixed status description not found

removed timeout on home page
added timeout handling in upload user bankslip
This commit is contained in:
Jack Goh
2018-06-21 12:45:05 +08:00
parent 5a4c4b14ee
commit 23b024c2fb
3 changed files with 30 additions and 16 deletions
+14 -8
View File
@@ -38,23 +38,29 @@ class BookingController extends Controller
$booking->transfer_amount = $booking->bia;
$booking->track_status = "(". $booking->status ."/6)";
switch ($booking->status) {
case 1:
$booking->status_desc = "Order in progress";
$status_desc = "Order in progress";
break;
case 2:
$booking->status_desc = "Waiting for payment";
$status_desc = "Waiting for payment";
break;
case 3:
$booking->status_desc = "Waiting verification";
$status_desc = "Waiting verification";
break;
case 4:
$booking->status_desc = "Processing transfer";
$status_desc = "Processing transfer";
break;
case 5:
$booking->status_desc = "Transfer Complete, please upload your PO";
$status_desc = "Transfer Complete, please upload your PO";
break;
case 6:
$booking->status_desc = "Processing invoice";
$status_desc = "Processing invoice";
break;
default:
$booking->status_desc = "";
$biastatus_desc = "";
}
$booking->status_desc = $status_desc;
}
return $bookings;