@forelse ($warranties as $warranty)
| {{ $warranty->id }} |
@switch($warranty->status)
@case('waiting')
{{ $warranty->status }}
@break
@case('in-proccess')
{{ $warranty->status }}
@break
@case('finished')
{{ $warranty->status }}
@break
@case('rejected')
{{ $warranty->status }}
@break
@default
@endswitch
|
{{ $warranty->first_name }} |
{{ $warranty->store_name }} |
@if ($warranty->certificate_file != null && App\Services\PermissionService::checkHasPermission('warranty_view_certificate'))
@else
@endif
|
{{ $warranty->created_at }} |
@if (App\Services\PermissionService::checkHasPermission('warranty_view'))
@endif
|
@empty
@endforelse