Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 1571 Revision 1572
Zeile 337... Zeile 337...
337
            0,
337
            0,
338
            99
338
            99
339
        ] )->orderBy( 'kennung' )->orderBy( 'name' )->get();
339
        ] )->orderBy( 'kennung' )->orderBy( 'name' )->get();
340
        $items = Item::with( 'price', 'medium.medium', 'manufacturer' )->where( "directory_id", $dirId )->where( 'status', '=', 0 )->get();
340
        $items = Item::with( 'price', 'medium.medium', 'manufacturer' )->where( "directory_id", $dirId )->where( 'status', '=', 0 )->get();
341
        $subdir = Directory::with( 'medium.medium', 'template.template' )->find( $dirId );
341
        $subdir = Directory::with( 'medium.medium', 'template.template' )->find( $dirId );
342
        $subdir["subdirs"] = $dirs->reject();
342
        $subdir["subdirs"] = $dirs->reject( function ( $value, $key )
-
 
343
        {
-
 
344
            dd( $value );
-
 
345
        } );
343
        $subdir["items"] = $items;
346
        $subdir["items"] = $items;
344
        $template = 'subdir';
347
        $template = 'subdir';
345
        $artstaemmeItems = array();
348
        $artstaemmeItems = array();
346
        if ( is_countable( $subdir->template ) && isset( $subdir->template[0] ) )
349
        if ( is_countable( $subdir->template ) && isset( $subdir->template[0] ) )
347
        {
350
        {