clean up development

This commit is contained in:
omair saleh
2022-03-12 17:02:21 +08:00
parent 36d6d03836
commit 481426bec9
25 changed files with 256 additions and 262 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ class TransactionResource extends JsonResource
{
$booking = (int)$this->type === TransactionType::BILL ? $this->owner->owner : $this->booking;
$days = $this->updated_at->endOfDay()->addWeekdays($booking->service_id === 1 ? 1 : 3);
$days = $this->updated_at->endOfDay()->addWeekdays($booking->service_id === 3 ? 3 : 1);
return [
'id' => $this->id,