@extends('admin/layout')
@section('content')
Photos pending
Photo Reports
Gallery Reports
Comment Reports
@foreach($photoReports as $report)
Photo id
Image
Reporter name
Violator name
Report reason
Report date
@endforeach
{{ $report->photo_id }}
@if($report->photo && $report->photo->image_url)
@else
Photo not available
@endif
{{ $report->reporter->username }}
{{ $report->violator->username }}
{{ $report->report_reason }}
{{ date('d-m-Y', strtotime($report->report_date)) }}
@foreach($commentReports as $report)
Comment ID
Comment Text
Reporter Name
Violator Name
Report Reason
Report Date
@endforeach
{{ $report->comment_id }}
{{ $report->comment ? $report->comment->comment_text : 'Comment not available' }}
{{ $report->reporter->username }}
{{ $report->violator->username }}
{{ $report->report_reason }}
{{ date('d-m-Y', strtotime($report->report_date)) }}