@if(count($result['machinesData'])>0) @foreach ($result['machinesData'] as $rsVal) {{ $rsVal->id }} {{ $rsVal->name }} {{ $rsVal->description }} @if($rsVal['is_active'] == '1') Active @else Inactive @endif {{ date('d-m-Y H:i:s', strtotime($rsVal->created_at)) }}
@endforeach
{!! $result['machinesData']->links() !!}
@else No record found @endif