update transaction timer

This commit is contained in:
omair saleh
2022-03-10 19:04:34 +08:00
parent 7e5a638d61
commit 4552c79618
+1 -1
View File
@@ -22,7 +22,7 @@ class TransactionResource extends JsonResource
return [
'id' => $this->id,
'booking' => new BookingResource($booking),
'day' => $days,
'day' => $this->updated_at->addWeekdays($booking->service_id === 1 ? 1 : 3),
'type' => (int) $this->type,
'bill_no' => $this->bill_no,
'payment_reference' => $this->payment_reference,