@extends('admin.layouts.app') @push('styles_top') @endpush @section('content')

{{ trans('admin/main.reply_comment') }}

{{ trans('admin/main.main_comment') }}

{{ nl2br($review->description) }}


@if(!empty($review->comments) and $review->comments->count() > 0)

{{ trans('admin/main.reply_list') }}

@foreach($review->comments as $reply) @endforeach
{{ trans('admin/main.user') }} {{ trans('admin/main.comment') }} {{ trans('public.date') }} {{ trans('admin/main.status') }} {{ trans('admin/main.action') }}
{{ $reply->user->id .' - '.$reply->user->full_name }} {{ dateTimeFormat($reply->created_at, 'Y M j | H:i') }} {{ ($reply->status == 'pending') ? trans('admin/main.pending') : trans('admin/main.published') }} @can("admin_comments_status") id}/toggle") }}" class="btn-transparent text-primary"> @if($reply->status == 'pending') @else @endif @endcan @can("admin_comments_edit") id}/edit") }}" class="btn-transparent text-primary" data-toggle="tooltip" data-placement="top" title="{{ trans('admin/main.edit') }}"> @endcan @can("admin_comments_delete") @include('admin.includes.delete_button',['url' => getAdminPanelUrl("/comments/product_reviews/{$reply->id}/delete"), 'btnClass' => 'btn-sm mt-2']) @endcan
@endif
@can("admin_comments_reply")
id}/reply") }}" method="post"> {{ csrf_field() }}
@error('comment')
{{ $message }}
@enderror
@endcan
@endsection @push('scripts_bottom') @endpush