Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 582 Revision 622
Zeile 200... Zeile 200...
200
        list( $dirId, $dirName ) = explode( "-", $id, 2 );
200
        list( $dirId, $dirName ) = explode( "-", $id, 2 );
201
        $dirs = Directory::with( 'medium.medium' )->where( "directory_id", $dirId )->whereIn( 'status', [
201
        $dirs = Directory::with( 'medium.medium' )->where( "directory_id", $dirId )->whereIn( 'status', [
202
            0,
202
            0,
203
            99
203
            99
204
        ] )->get();
204
        ] )->get();
205
        $items = Item::with( 'price' )->with( 'medium.medium' )->where( "directory_id", $dirId )->where( 'status', '=', 0 )->get();
205
        $items = Item::with( 'price' )->with('template.template')->with( 'medium.medium' )->where( "directory_id", $dirId )->where( 'status', '=', 0 )->get();
206
        $subdir = Directory::with( 'medium.medium' )->find( $dirId );
206
        $subdir = Directory::with( 'medium.medium' )->find( $dirId );
207
        $subdir["subdirs"] = $dirs;
207
        $subdir["subdirs"] = $dirs;
208
        $subdir["items"] = $items;
208
        $subdir["items"] = $items;
209
        return view( 'subdir', [
209
        return view( 'subdir', [
210
            "serviceCenterMenu" => $GLOBALS["serviceCenterMenu"],
210
            "serviceCenterMenu" => $GLOBALS["serviceCenterMenu"],