@php
$i =1;
@endphp
@if(count($data['message']) > 0)
@foreach($data['message'] as $message)
@php
$color = '';
if( $message->status ==1)
{
$class='btn btn-success m-btn m-btn--icon m-btn--pill';
$color='green';
$icon='check';
$text = __('app.active');
}else{
$class='btn btn-danger m-btn m-btn--icon m-btn--pill';
$color='red';
$icon='check';
$text = __('app.inactive');
}
if($message->admin_view == 1){
$color = 'success';
}else{
$color = 'danger';
}
@endphp
|
|
{{$i++}}
|
{{--
{{ $message->name}}
| --}}
{{--
{{ $message->employer}}
| --}}
{{--
{{ $message->job_title}}
| --}}
{{ $message->email}}
|
{{--
{{ $message->country}}
| --}}
{{--
{{ $message->category}}
| --}}
{{--
{{$title = $message->response ?? '-'}}
| --}}
{{-- @can('reply_contact') --}}
{{--
| --}}
{{-- @endcan --}}
{{--
| --}}
|
@endforeach
@else
| {{ __('app.no_data_found') }} |
@endif