Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 1358 | Revision 1361 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1358 Revision 1359
Zeile 32... Zeile 32...
32
        public function index(): Factory|View|Application
32
        public function index(): Factory|View|Application
33
        {
33
        {
34
            //
34
            //
35
            $orders = Order::with( [ 'shop', 'orderType', 'orderItem', 'billAddr', 'shipAddr' ] )->orderBy( "created_at", 'desc' )->paginate( 100 );
35
            $orders = Order::with( [ 'shop', 'orderType', 'orderItem', 'billAddr', 'shipAddr' ] )->orderBy( "created_at", 'desc' )->paginate( 100 );
36
            //$links = $orders->links();
36
            //$links = $orders->links();
-
 
37
            $links = array();
37
            return view( 'admin/orders', [ "orders" => $orders, "links" => $links ] );
38
            return view( 'admin/orders', [ "orders" => $orders, "links" => $links ] );
38
        }
39
        }
Zeile 39... Zeile 40...
39
 
40
 
40
        public function create()
41
        public function create()