|
|
|
@ -26,12 +26,12 @@ |
|
|
|
<th class="text-center">{{ __('job.progress') }}</th> |
|
|
|
<th class="text-center">{{ __('project.receiveable_earnings') }}</th> |
|
|
|
</tr> |
|
|
|
@foreach($jobs->sortByDesc('progress') as $key => $job) |
|
|
|
@foreach($jobs as $key => $job) |
|
|
|
<tr> |
|
|
|
<td class="text-center">{{ 1 + $key }}</td> |
|
|
|
<td>{{ $job->name }}</td> |
|
|
|
<td class="text-right">{{ formatRp($job->price) }}</td> |
|
|
|
<td class="text-center">{{ $job->progress }} %</td> |
|
|
|
<td class="text-right">{{ formatDecimal($job->progress) }} %</td> |
|
|
|
<td class="text-right">{{ formatRp($job->receiveable_earning) }}</td> |
|
|
|
</tr> |
|
|
|
@endforeach |
|
|
|
@ -40,7 +40,7 @@ |
|
|
|
<tr> |
|
|
|
<th class="text-right" colspan="2">{{ __('app.total') }}</th> |
|
|
|
<th class="text-right">{{ formatRp($jobs->sum('price')) }}</th> |
|
|
|
<th class="text-center">{{ formatDecimal($project->getJobOveralProgress()) }} %</th> |
|
|
|
<th class="text-right">{{ formatDecimal($project->getJobOveralProgress()) }} %</th> |
|
|
|
<th class="text-right">{{ formatRp($jobs->sum('receiveable_earning')) }}</th> |
|
|
|
</tr> |
|
|
|
</tfoot> |
|
|
|
|