diff --git a/app/Service/DepositService.php b/app/Service/DepositService.php index a6fd8ae..23de9e2 100644 --- a/app/Service/DepositService.php +++ b/app/Service/DepositService.php @@ -35,7 +35,7 @@ class DepositService */ public function calculateSummary(int $markId, $start, $end): array { - $days = $start->diffInDays($end); + $days = $start->diffInDays($end, false); $tariffs = UniModel::model('pipi_auto_tariffs') ->where('model_id', $markId)