Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 824 Revision 826
Zeile 337... Zeile 337...
337
                foreach ( $r as $row )
337
                foreach ( $r as $row )
338
                {
338
                {
339
                    $item = ShippingCountry::where( "shipping_id", "=", $row->versand_id )->where( "country_id", "=", $row->country_id )->get();
339
                    $item = ShippingCountry::where( "shipping_id", "=", $row->versand_id )->where( "country_id", "=", $row->country_id )->get();
340
                    if ( !isset( $item->id ) )
340
                    if ( !isset( $item->id ) )
341
                    {
341
                    {
342
                        ShippingCountry::factory()->create( [ "shipping_id" => $row->versand_id, "country_id" => $row->land_id, ] );
342
                        ShippingCountry::factory()->create( [ "shipping_id" => $row->versand_id, "country_id" => $row->country_id, ] );
343
                    }
343
                    }
344
                }
344
                }
345
                $sql = "SELECT
345
                $sql = "SELECT
346
                        *
346
                        *
347
                    FROM
347
                    FROM