Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 1431 Revision 1435
Zeile 42... Zeile 42...
42
 
42
 
43
        public function shipAddr(): BelongsTo
43
        public function shipAddr(): BelongsTo
44
        {
44
        {
45
            return $this->belongsTo( OrderAddress::class, 'ship_addr_id' );
45
            return $this->belongsTo( OrderAddress::class, 'ship_addr_id' );
46
        }
-
 
47
 
-
 
48
        public function item():BelongsTo
-
 
49
        {
-
 
50
            return $this->belongsTo( Item::class, 'order_item_id' );
-
 
51
        }
46
        }