@php $addContractDiscussionPermission = user()->permission('add_contract_discussion'); $editContractDiscussionPermission = user()->permission('edit_contract_discussion'); $deleteContractDiscussionPermission = user()->permission('delete_contract_discussion'); @endphp @forelse ($discussions as $discussion)
{{ $discussion->user->name }}
{{ $discussion->created_at->diffForHumans() }}