| Zeile 336... |
Zeile 336... |
| 336 |
$dirs = Directory::with( 'medium.medium' )->where( "directory_id", $dirId )->whereIn( 'status', [
|
336 |
$dirs = Directory::with( 'medium.medium' )->where( "directory_id", $dirId )->whereIn( 'status', [
|
| 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' )->where( 'articlemaster', 0 )->find( $dirId );
|
| 342 |
$subdir["subdirs"] = $dirs;
|
342 |
$subdir["subdirs"] = $dirs;
|
| 343 |
$subdir["items"] = $items;
|
343 |
$subdir["items"] = $items;
|
| 344 |
$template = 'subdir';
|
344 |
$template = 'subdir';
|
| 345 |
$artstaemmeItems = array();
|
345 |
$artstaemmeItems = array();
|
| 346 |
if ( is_countable( $subdir->template ) && isset( $subdir->template[0] ) )
|
346 |
if ( is_countable( $subdir->template ) && isset( $subdir->template[0] ) )
|