@if($task->merchant->image =='')
@else
@endif
{{ $task->heading }}
{{ $task->description }}
@if (\Carbon\Carbon::createFromFormat('Y-m-d', $task->deadline)->toFormattedDateString() <= \Carbon\Carbon::now()->toFormattedDateString())
{{ \Carbon\Carbon::createFromFormat('Y-m-d', $task->deadline)->toFormattedDateString() }}
@else
{{ \Carbon\Carbon::createFromFormat('Y-m-d', $task->deadline)->toFormattedDateString() }}
@endif
@endforeach
@else