mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-23 14:24:17 +00:00
display completed table
This commit is contained in:
@@ -78,10 +78,14 @@ class BookingController extends Controller
|
||||
return $bookings;
|
||||
}
|
||||
|
||||
public function bookingcompleted(){
|
||||
|
||||
|
||||
|
||||
|
||||
public function bookingTableComplete(){
|
||||
$user = Auth::user();
|
||||
$bookings = Booking::select('user_id', 'id', 'created_at', 'status', 'rate', 'term', 'amount', 'bia', 'verification_status')
|
||||
->where('user_id', $user->id)
|
||||
->where('status', 7)
|
||||
->orderby('updated_at','desc')
|
||||
->paginate(10);
|
||||
|
||||
@@ -132,7 +136,7 @@ class BookingController extends Controller
|
||||
$booking->marking = $booking->user->marking;
|
||||
}
|
||||
|
||||
return $bookingcompleted;
|
||||
return $bookings;
|
||||
}
|
||||
public function adminIndex(){
|
||||
$user = Auth::user();
|
||||
|
||||
Reference in New Issue
Block a user