@extends('layouts.admin-page') @section('pageTitle',__('site.order-comment')) @section('page-title',$ordercomment->order->user->name.'('.\Illuminate\Support\Carbon::parse($ordercomment->order->created_at)->format('d/M/Y').')') @section('page-content')
@can('access','view_order_comments') @endcan @can('access','edit_order_comment') @endcan @can('access','delete_order_comment')
{{ method_field('DELETE') }} {{ csrf_field() }}
@endcan

@lang('site.created-by') {{ $ordercomment->user->name }} ({{ roleName($ordercomment->user->role_id) }})
@lang('site.added-on') {{ \Illuminate\Support\Carbon::parse($ordercomment->created_at)->format('d/M/Y') }}
{!! clean( check($ordercomment->content) ) !!}
@if( $ordercomment->orderCommentAttachments()->count() > 0)

{{ $ordercomment->orderCommentAttachments()->count() }} @if($ordercomment->orderCommentAttachments()->count()>1) @lang('site.attachments') @else @lang('site.attachment') @endif - @lang('site.download-all')

@endif
@endsection