@if( !$gig_activities->isEmpty() )
@foreach($gig_activities as $single) @php $total_attachments = 0; if(!empty($single->attachments)){ $total_attachments = count(unserialize($single->attachments)); } if(!empty($single->sender->image)){ $image_url = getProfileImageURL($single->sender->image, '38x38'); $author_image = !empty($image_url) ? 'storage/'.$image_url : 'images/default-user-38x38.png'; }else{ $author_image = 'images/default-user-38x38.png'; } $message_class = $profile_id == $single->sender_id ? 'tk-messages-sender' : 'tk-messages-reciver'; @endphp
{{ $single->sender->full_name }}
@if( $single->type == 'final' )
{{ __('gig.final_package') }}
@endif

{!! nl2br($single->description) !!}

@if( $total_attachments > 0 )
{{ __('project.attachments_to_download', ['total_count' => $total_attachments]) }} {{ __('project.download_files') }}
@endif
{{date('F j, Y, h:i a', strtotime($single->created_at) )}}
@endforeach
@endif
@push('scripts') @endpush