Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 1648 Revision 1649
Zeile 28... Zeile 28...
28
         * @return void
28
         * @return void
29
         */
29
         */
30
        public function handle(): void
30
        public function handle(): void
31
        {
31
        {
32
            $records = 0;
32
            $records = 0;
33
            @mkdir( public_path( "preisgentur" ), 0755, true );
33
            @mkdir( public_path( "preisagentur" ), 0755, true );
34
            $items = Item::with( 'price', 'medium.medium', "manufacturer" )->where( 'status', 0 )->get();
34
            $items = Item::with( 'price', 'medium.medium', "manufacturer" )->where( 'status', 0 )->get();
35
            $agencies = PriceAgency::where( 'shop_id', $GLOBALS["INI"]["shops_ID"] )->where( "status", "1" )->get();
35
            $agencies = PriceAgency::where( 'shop_id', $GLOBALS["INI"]["shops_ID"] )->where( "status", "1" )->get();
36
            foreach ( $agencies as $agency )
36
            foreach ( $agencies as $agency )
37
            {
37
            {
38
                $content = array();
38
                $content = array();