fix bill seeder

This commit is contained in:
omair saleh
2022-02-22 01:27:57 +08:00
parent 4fc2d432f2
commit 4adf11e612
+1 -1
View File
@@ -16,7 +16,7 @@ class TransactionResource extends JsonResource
*/
public function toArray($request)
{
$booking = (int) $this->type === TransactionType::BILL ? $this->owner->owner : $this->booking;
$booking = (int)$this->type === TransactionType::BILL ? $this->owner->owner : $this->booking;
return [
'id' => $this->id,