mirror of
https://gitlab.com/omair-personal/exchange.git
synced 2026-08-19 04:24:08 +00:00
remove pagination for admin bookings
This commit is contained in:
@@ -128,7 +128,7 @@ class BookingController extends Controller
|
||||
}
|
||||
|
||||
public function adminIndex(?string $userId = null){
|
||||
$bookings = Booking::UserBooking($userId)->InCompleteOrders()->orderby('updated_at', "desc")->paginate(30);
|
||||
$bookings = Booking::UserBooking($userId)->InCompleteOrders()->orderby('updated_at', "desc")->get();
|
||||
|
||||
// reformat to fit frontend structure
|
||||
foreach ($bookings as $booking) {
|
||||
|
||||
Reference in New Issue
Block a user