mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-01-26 11:14:06 +00:00
87 - Feature Test and JSON Updates
This commit is contained in:
@@ -48,8 +48,10 @@ class Order extends Model
|
||||
return [
|
||||
'confirmation_number' => $this->confirmation_number,
|
||||
'email' => $this->email,
|
||||
'ticket_quantity' => $this->ticketQuantity(),
|
||||
'amount' => $this->amount,
|
||||
'tickets' => $this->tickets->map(function ($ticket) {
|
||||
return ['code' => $ticket->code];
|
||||
})->all(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user