Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 1496 Revision 1497
Zeile 32... Zeile 32...
32
    foreach ( $ba as $ba_id => $bestellart )
32
    foreach ( $ba as $ba_id => $bestellart )
33
    {
33
    {
34
        $c_bestellarten[$bestellart->id] = $bestellart->name;
34
        $c_bestellarten[$bestellart->id] = $bestellart->name;
35
    }
35
    }
36
    $shops = Shop::get();
36
    $shops = Shop::get();
37
    }
-
 
38
    View::share( "shops", $shops );
37
    View::share( "shops", $shops );
39
    foreach ( $shops as $s_id => $shop )
38
    foreach ( $shops as $s_id => $shop )
40
    {
39
    {
41
        $c_shops[$shop->id] = $shop->name;
40
        $c_shops[$shop->id] = $shop->name;
42
        $d_shops[$shop->id] = $shop;
41
        $d_shops[$shop->id] = $shop;