Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 1647 Revision 1648
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
            $items = Item::with( 'price', 'medium.medium', "manufacturer" )->where( 'status', 0 )->get();
34
            $items = Item::with( 'price', 'medium.medium', "manufacturer" )->where( 'status', 0 )->get();
34
            $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();
35
            foreach ( $agencies as $agency )
36
            foreach ( $agencies as $agency )
36
            {
37
            {
37
                $content = array();
38
                $content = array();