AssetsAdm |
Contract Report |
@include('partials.filters')
Group By |
Expired |
Terminated |
Renew In Process |
Renewed |
To Expire |
Total |
@forelse($contracts['available'] as $key=>$contract)
{{$contract->labels}} |
{{$contract->expired_count}} |
{{$contract->terminated_count}} |
{{$contract->renew_in_process}} |
{{$contract->renewed}} |
{{$contract->to_expire}} |
{{$contract->total}} |
@empty
@endif
@php $total = 0; @endphp
@forelse ($contracts['available'] as $key=>$contract)
@php $total += $contract->total; @endphp
@endforeach
@forelse($contracts['available'] as $key=>$contract)
@php
$percentage = ($contract->total / $total) * 100;
@endphp
{{$contract->labels}}:{{$contract->total}} ({{ number_format($percentage, 1, '.', '.') }}%) |
|
@empty
@endif
|
{{$contracts['labels']/4}} |
{{$contracts['labels']/2}} |
{{$contracts['labels']/2+$contracts['labels']/4}} |
{{$contracts['labels']}} |
|
@forelse(array_slice($contracts['all'], 0, $pageLength) as $key=>$row)
@if($key == 00)
@endif
Contract No. |
ServiceProvider |
Asset Count |
Company |
Division |
Contract Date |
Start Date |
End Date |
Status |
@forelse($row as $key=>$inner_row)
{{@$inner_row['ref']}} |
{{@$inner_row['serviceproviders']['name']}} |
{{@$inner_row['asset_count']}} |
{{@$inner_row['company']['name']}} |
{{@$inner_row['division']['name']}} |
{{@$inner_row['contract_date']}} |
{{@$inner_row['start_date']}} |
{{@$inner_row['end_date']}} |
{{@$inner_row['status']}} |
@empty
@endif
@empty
@endif