Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 1572 Revision 1573
Zeile 339... Zeile 339...
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( function ( $value, $key )
342
        $subdir["subdirs"] = $dirs->reject( function ( $value, $key )
343
        {
343
        {
344
            dd( $value );
344
            return $value->articlemaster == 1;
345
        } );
345
        } );
346
        $subdir["items"] = $items;
346
        $subdir["items"] = $items;
347
        $template = 'subdir';
347
        $template = 'subdir';
348
        $artstaemmeItems = array();
348
        $artstaemmeItems = array();
349
        if ( is_countable( $subdir->template ) && isset( $subdir->template[0] ) )
349
        if ( is_countable( $subdir->template ) && isset( $subdir->template[0] ) )