@extends('adminlte::page') @section('content') @section('content_header', __('admin.comments'))
@if(count($errors) > 0)
@foreach($errors->all() as $error)

{{$error}}

@endforeach
@endif @if(Session::has('success'))

{{ Session::get('success') }}

@endif
@foreach($comments as $row) @if ($row->approval == 0) @else @endif @endforeach
ID @lang('admin.title') @lang('admin.name') @lang('admin.email') @lang('admin.rating') @lang('admin.details') @lang('admin.status') @lang('admin.delete')
{{$row->id}} {{$row['app_title']}} {{{$row->name}}} {{{$row->email}}} {{{$row->rating}}} {{\Carbon\Carbon::parse($row->created_at)->translatedFormat('F d, Y H:i:s')}}
@lang('admin.ip_address'): {{{$row->ip}}}
@lang('admin.pending') @lang('admin.approved')
{{ csrf_field() }} {{ method_field('DELETE') }} @lang('admin.delete')
@if($comments->isEmpty())
@lang('admin.no_record').
@endif
{{ $comments->onEachSide(1)->links() }} @endsection