git add .

git commit "fix final issues before project delivery"
This commit is contained in:
2026-08-22 16:17:21 +03:30
parent 2f431971c0
commit 24c674f9cf
9 changed files with 621 additions and 27 deletions
@@ -11,7 +11,7 @@ class ActivityLogController extends Controller
public function index()
{
$logs=ActivityLog::with('admin')
->latest()
->orderByDesc('created_at')
->paginate(4);
return view('admin.activityLog.index',compact('logs'));
@@ -121,7 +121,7 @@ class TourController extends Controller
ActivityLog::create([
'admin_id' => auth('admin')->id(),
'action' => 'create',
'action' => 'update',
'model' => 'Tour',
'model_id' => $tour->id,
'description' => 'ویرایش تور',
@@ -153,7 +153,7 @@ class TourController extends Controller
ActivityLog::create([
'admin_id' => auth('admin')->id(),
'action' => 'create',
'action' => 'delete',
'model' => 'Tour',
'model_id' => $tour->id,
'description' => 'حذف تور',