@extends('admin.layouts.app')
@push('styles_top')
@endpush
@section('content')
{{ nl2br($review->description) }}{{ trans('admin/main.reply_comment') }}
{{ trans('admin/main.main_comment') }}
@if(!empty($review->comments) and $review->comments->count() > 0)
{{ trans('admin/main.reply_list') }}
@foreach($review->comments as $reply)
{{ trans('admin/main.user') }}
{{ trans('admin/main.comment') }}
{{ trans('public.date') }}
{{ trans('admin/main.status') }}
{{ trans('admin/main.action') }}
@endforeach
{{ $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/reviews/{$reply->id}/delete"), 'btnClass' => 'btn-sm mt-2'])
@endcan