Add notification preferences and admin governance

This commit is contained in:
Codex
2026-07-10 18:33:39 -05:00
parent eb9456e1bd
commit de9e473d3b
28 changed files with 734 additions and 20 deletions
+11
View File
@@ -3,9 +3,11 @@
namespace App\Http\Controllers;
use App\Models\Attachment;
use App\Models\AuditLog;
use App\Models\Dispute;
use App\Models\ExternalProfileImport;
use App\Models\JobPost;
use App\Models\ModerationReport;
use App\Models\Review;
use App\Models\User;
use App\Models\WorkOrder;
@@ -40,6 +42,15 @@ class AdminController extends Controller
->latest()
->limit(10)
->get(),
'moderationReports' => ModerationReport::with('reporter', 'reportable')
->whereIn('status', ['open', 'reviewing'])
->latest()
->limit(15)
->get(),
'auditLogs' => AuditLog::with('actor', 'auditable')
->latest()
->limit(20)
->get(),
]);
}
}