@php $addContractDiscussionPermission = user()->permission('add_contract_discussion'); $editContractDiscussionPermission = user()->permission('edit_contract_discussion'); $deleteContractDiscussionPermission = user()->permission('delete_contract_discussion'); @endphp
@if ($addContractDiscussionPermission == 'all' || $addContractDiscussionPermission == 'added')
{{ mb_ucfirst(user()->name) }}
@lang('app.cancel') @lang('app.submit')
@endif
@if ($viewDiscussionPermission != 'none') @forelse ($contract->discussion as $discussion)

{{ mb_ucwords($discussion->user->name) }}

{{ ucfirst($discussion->created_at->diffForHumans()) }}

{!! ucfirst($discussion->message) !!}
@empty
- @lang('messages.noCommentFound') -
@endforelse @endif