@php
$currentJobTotal = 0;
@endphp
| {{ trans('job.progress') }} |
{{ trans('user.jobs_count') }} |
| 0 - 10% |
{{ $count = $userCurrentJobs->filter(function ($job) {
return $job->progress == 0;
})->count() }}
@php
$currentJobTotal += $count;
@endphp
|
| 11 - 50% |
{{ $count = $userCurrentJobs->filter(function ($job) {
return $job->progress > 10 && $job->progress <= 50;
})->count() }}
@php
$currentJobTotal += $count;
@endphp
|
| 51 - 75% |
{{ $count = $userCurrentJobs->filter(function ($job) {
return $job->progress > 50 && $job->progress <= 75;
})->count() }}
@php
$currentJobTotal += $count;
@endphp
|
| 76 - 99% |
{{ $count = $userCurrentJobs->filter(function ($job) {
return $job->progress > 75 && $job->progress <= 99;
})->count() }}
@php
$currentJobTotal += $count;
@endphp
|
| 100% |
{{ $count = $userCurrentJobs->filter(function ($job) {
return $job->progress == 100;
})->count() }}
@php
$currentJobTotal += $count;
@endphp
|