@foreach($reasons as $key=> $row) @if ($row->role != 'super_admin')
@endif {{ $row->name }} @if($row->type == 'stop') {{ __('reasons.stop') }} @else {{ __('reasons.report') }} @endif @if($row->type == 'stop') @if($row->auto == 'yes') {{ __('reasons.yes') }} @else {{ __('reasons.no') }} @endif @else - @endif {{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }} @if($row->role == 'super_admin') {{ __('dashboard.edit') }} @else @if($row->deleted_at) {{ __('dashboard.restore') }} {{ __('dashboard.delete') }} @else {{ __('dashboard.edit') }} {{ __('dashboard.trash') }} @endif @endif @endforeach @if( count( $reasons ) && $reasons->hasPages() ) {{ $reasons->links() }} @endif