Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

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