{{ Form::textGroup('task', 'Task', null, ['id'=>'note']) }} @foreach ($list as $li) @if($li->status == 1) {{ ucfirst($li->note) }} {{ date('M-d-Y H:i A', strtotime($li->created_at)) }} @else {{ ucfirst($li->note) }} {{ date('M-d-Y H:i A', strtotime($li->created_at)) }} check @endif @endforeach