mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-02-06 01:49:13 +00:00
2.5 - Adding Tickets to Orders
This commit is contained in:
@@ -28,4 +28,9 @@ class Concert extends Model
|
||||
{
|
||||
return number_format($this->ticket_price / 100, 2);
|
||||
}
|
||||
|
||||
public function orders()
|
||||
{
|
||||
return $this->hasMany(Order::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user