mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-01-26 11:14:06 +00:00
5.1 - Persisting the Order Amount
This commit is contained in:
@@ -37,7 +37,7 @@ class Order extends Model
|
||||
return [
|
||||
'email' => $this->email,
|
||||
'ticket_quantity' => $this->ticketQuantity(),
|
||||
'amount' => $this->ticketQuantity() * $this->concert->ticket_price,
|
||||
'amount' => $this->amount,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user