Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 1481 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1481 Revision 1618
Zeile 35... Zeile 35...
35
            return $this->hasMany( ItemMedium::class )->orderBy( "rank" );
35
            return $this->hasMany( ItemMedium::class )->orderBy( "rank" );
36
        }
36
        }
Zeile 37... Zeile 37...
37
 
37
 
38
        public function price(): HasMany
38
        public function price(): HasMany
39
        {
39
        {
40
            return $this->hasMany( Price::class )->orderBy( "preis_index" );
40
            return $this->hasMany( Price::class )->where("preis","!=",0)->orderBy( "preis_index" );
Zeile 41... Zeile 41...
41
        }
41
        }
42
 
42
 
43
        public function manufacturer(): BelongsTo
43
        public function manufacturer(): BelongsTo