Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 634 Revision 636
Zeile 213... Zeile 213...
213
            $template = substr( $subdir->temmplate[0]->template->template_value, strpos( "$subdir->temmplate[0]->template->template_value", "=" ) + 1 );
213
            $template = substr( $subdir->temmplate[0]->template->template_value, strpos( "$subdir->temmplate[0]->template->template_value", "=" ) + 1 );
214
            foreach ( $dirs as $dir )
214
            foreach ( $dirs as $dir )
215
            {
215
            {
216
                if ( $dir->articlemaster == 1 )
216
                if ( $dir->articlemaster == 1 )
217
                {
217
                {
-
 
218
                    $artstaemmeItems[$dir->id] = $dir;
218
                    $artstaemmeItems[$dir->id] = Item::with( 'medium.medium', 'price' )->where( 'directory_id', '=', $dir->id )->where( 'status', '=', 0 )->get();
219
                    $artstaemmeItems[$dir->id]["items"] = Item::with( 'medium.medium', 'price' )->where( 'directory_id', '=', $dir->id )->where( 'status', '=', 0 )->get();;
219
                }
220
                }
220
            }
221
            }
221
        }
222
        }
222
        return view( $template, [
223
        return view( $template, [
223
            "serviceCenterMenu" => $GLOBALS["serviceCenterMenu"],
224
            "serviceCenterMenu" => $GLOBALS["serviceCenterMenu"],