feat(admin): implement full flight management for panel admin

This commit is contained in:
2026-08-22 10:21:46 +03:30
parent 93bbc6fbc0
commit e02399dd69
22 changed files with 3537 additions and 523 deletions
@@ -1,8 +1,15 @@
<div class="col-md-6 col-lg-3">
<div class="activity-item wow fadeInUp" data-wow-duration="1s" data-wow-delay=".25s">
<div class="activity-img">
<img src="<?php echo e($flight->file?->url ?? asset('assets/img/activity/01.jpg')); ?>"
alt="<?php echo e($flight->flight_number); ?>">
<?php if($flight->coverImage?->file_id): ?>
<img src="<?php echo e(getFileUrl($flight->coverImage->file_id)); ?>"
class="w-100 h-100"
alt="<?php echo e($flight->flight_number); ?>">
<?php else: ?>
<img src="<?php echo e(asset('assets/img/account/user.jpg')); ?>"
class="w-100 h-100"
alt="<?php echo e($flight->title); ?>">
<?php endif; ?>
<?php if(auth()->guard()->check()): ?>
<form action="<?php echo e(route('accounts.favorites.flight.toggle', ['flight' => $flight->id])); ?>"
method="POST"