Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 678 Revision 685
Zeile 194... Zeile 194...
194
        return view( 'buy_' . $id, [
194
        return view( 'buy_' . $id, [
195
            "serviceCenterMenu" => $GLOBALS["serviceCenterMenu"],
195
            "serviceCenterMenu" => $GLOBALS["serviceCenterMenu"],
196
            "nav"               => $GLOBALS["menu"],
196
            "nav"               => $GLOBALS["menu"],
197
            "ini"               => $GLOBALS["INI"],
197
            "ini"               => $GLOBALS["INI"],
198
            "langstrings"       => $GLOBALS["langstrings"],
198
            "langstrings"       => $GLOBALS["langstrings"],
-
 
199
            "laender"           => getRechnungsLaender(),
-
 
200
            "defaultLandID"     => 47,
199
        ] );
201
        ] );
200
    } )->where( 'id', '[1-4][ab]{0,1}' );
202
    } )->where( 'id', '[1-4][ab]{0,1}' );
201
    Route::post( "/bestellen_seite_{id}.html", [ Buy::class, 'step1' ] )->where( 'id', '[1-4][ab]{0,1}' );
203
    Route::post( "/bestellen_seite_{id}.html", [ Buy::class, 'step1' ] )->where( 'id', '[1-4][ab]{0,1}' );
202
    Route::get( "basket.html", function ()
204
    Route::get( "basket.html", function ()
203
    {
205
    {
Zeile 265... Zeile 267...
265
            "nav"               => $GLOBALS["menu"],
267
            "nav"               => $GLOBALS["menu"],
266
            "ini"               => $GLOBALS["INI"],
268
            "ini"               => $GLOBALS["INI"],
267
            "langstrings"       => $GLOBALS["langstrings"],
269
            "langstrings"       => $GLOBALS["langstrings"],
268
        ] );
270
        ] );
269
    } );
271
    } );
-
 
272
 
-
 
273
 
-
 
274
    function getRechnungsLaender()
-
 
275
    {
-
 
276
        return DB::connection('cms')->select('SELECT id,name_de FROM countries ORDER BY name_de');
-
 
277
    }
270
278