Closed nanorocks closed 3 years ago
$order = Order::join('addresses', 'orders.address_id', '=', 'addresses.id') ->join('customers', 'orders.customer_id', '=', 'customers.id') ->paginte();
// On click on show more this one
$products = OrderProduct::where(OrderProduct::ORDER_ID, $order->id) ->join('products', 'products.id', '=', 'orders_products.product_id') ->get();
https://livewire-datatables.com/
https://www.grocerycrud.com/
done
// On click on show more this one