debug transaction resource

This commit is contained in:
omair saleh
2022-03-13 00:27:09 +08:00
parent ba03b464cf
commit 881df017a0
@@ -19,7 +19,6 @@ class TransactionResource extends JsonResource
{
$booking = in_array((int)$this->type, [TransactionType::BILL, TransactionType::REFUND])? $this->owner->owner : $this->owner;
if(!$booking instanceof Booking) dd($this);
$days = $this->updated_at->endOfDay()->addWeekdays($booking->service_id === 3 ? 3 : 1);
return [