clean up development

This commit is contained in:
omair saleh
2022-03-12 17:31:59 +08:00
parent 481426bec9
commit 708433aed0
+1 -1
View File
@@ -17,7 +17,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->owner;
$days = $this->updated_at->endOfDay()->addWeekdays($booking->service_id === 3 ? 3 : 1);
return [