mirror of
https://gitlab.com/omair-personal/exchange.git
synced 2026-08-19 04:24:08 +00:00
fixed status description not found
removed timeout on home page added timeout handling in upload user bankslip
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user