fix: correct navbar links
This commit is contained in:
@@ -11,25 +11,15 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="collapse navbar-collapse" id="main_nav">
|
<div class="collapse navbar-collapse" id="main_nav">
|
||||||
<ul class="navbar-nav">
|
<ul class="navbar-nav">
|
||||||
<li class="nav-item dropdown">
|
<li class="nav-item ">
|
||||||
<a class="nav-link dropdowgn-toggle active" href="{{route('index')}}" data-bs-toggle="dropdown">صفحه اصلی</a>
|
<a class="nav-link active" href="{{route('index')}}" >صفحه اصلی</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item dropdown">
|
<li class="nav-item ">
|
||||||
<a class="nav-link dropdown-toggle" href="#" data-bs-toggle="dropdown">پرواز</a>
|
<a class="nav-link" href="{{route('flights.index')}}" >پرواز</a>
|
||||||
<ul class="dropdown-menu fade-down">
|
|
||||||
<li><a class="dropdown-item" href="{{route('flights.index')}}">لیست پرواز</a></li>
|
|
||||||
<li><a class="dropdown-item" href="flight-booking.html">رزرو پرواز</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item dropdown">
|
<li class="nav-item ">
|
||||||
<a class="nav-link dropdown-toggle" href="#" data-bs-toggle="dropdown">تور</a>
|
<a class="nav-link " href="{{route('tours.index')}}" >تور</a>
|
||||||
<ul class="dropdown-menu fade-down">
|
|
||||||
<li><a class="dropdown-item" href="{{route('tours.index')}}">لیست تور</a></li>
|
|
||||||
<li><a class="dropdown-item" href="tour-booking.html">رزرو تور</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item"><a class="nav-link" href="contact.html"> درباره ما</a></li>
|
|
||||||
<li class="nav-item"><a class="nav-link" href="contact.html">تماس باما</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
<div class="header-nav-right">
|
<div class="header-nav-right">
|
||||||
<div class="header-btn">
|
<div class="header-btn">
|
||||||
@@ -37,7 +27,7 @@
|
|||||||
<a href="{{route('accounts.profile')}}" class="theme-btn mt-2">{{auth()->user()->first_name}} {{auth()->user()->last_name}}</a>
|
<a href="{{route('accounts.profile')}}" class="theme-btn mt-2">{{auth()->user()->first_name}} {{auth()->user()->last_name}}</a>
|
||||||
@endauth
|
@endauth
|
||||||
@guest
|
@guest
|
||||||
<a href="#" class="theme-btn mt-2">متخصص شوید</a>
|
<a href="{{route('admin.auth.login.index')}}" class="theme-btn mt-2"> ورود ادمین</a>
|
||||||
|
|
||||||
@endguest
|
@endguest
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -0,0 +1,515 @@
|
|||||||
|
<?php $__env->startSection('content'); ?>
|
||||||
|
<main class="main">
|
||||||
|
|
||||||
|
<div class="site-breadcrumb" style="background: url(assets/img/breadcrumb/01.jpg)">
|
||||||
|
<div class="container">
|
||||||
|
<h2 class="breadcrumb-title">پرواز با عرض کامل</h2>
|
||||||
|
<ul class="breadcrumb-menu">
|
||||||
|
<li><a href="<?php echo e(route('index')); ?>">صفحه اصلی</a></li>
|
||||||
|
<li class="active">پرواز با عرض کامل</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="search-area">
|
||||||
|
<div class="container">
|
||||||
|
<div class="search-wrapper">
|
||||||
|
|
||||||
|
<div class="search-box flight-search">
|
||||||
|
<div class="search-form">
|
||||||
|
<form action="<?php echo e(route('flights.index')); ?>" method="GET">
|
||||||
|
|
||||||
|
<div class="flight-type">
|
||||||
|
<div class="form-check form-check-inline">
|
||||||
|
<input class="form-check-input" type="radio" checked value="one-way"
|
||||||
|
name="flight-type" id="flight-type1">
|
||||||
|
<label class="form-check-label" for="flight-type1">
|
||||||
|
یک طرفه
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="form-check form-check-inline">
|
||||||
|
<input class="form-check-input" type="radio" value="round-way"
|
||||||
|
name="flight-type" id="flight-type2">
|
||||||
|
<label class="form-check-label" for="flight-type2">
|
||||||
|
راه دور
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="form-check form-check-inline">
|
||||||
|
<input class="form-check-input" type="radio" value="multi-city"
|
||||||
|
name="flight-type" id="flight-type3">
|
||||||
|
<label class="form-check-label" for="flight-type3">
|
||||||
|
چند شهر
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="flight-search-wrapper">
|
||||||
|
<div class="flight-search-content">
|
||||||
|
|
||||||
|
<div class="flight-search-item">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-3">
|
||||||
|
<div class="form-group">
|
||||||
|
<label>از</label>
|
||||||
|
<div class="form-group-icon">
|
||||||
|
<input type="text" name="from-destination"
|
||||||
|
class="form-control swap-from" value="مشهد">
|
||||||
|
<i class="fal fa-plane-departure"></i>
|
||||||
|
</div>
|
||||||
|
<p>فرودگاه بین المللی مشهد
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-3">
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="search-form-swap"><i class="far fa-repeat"></i>
|
||||||
|
</div>
|
||||||
|
<label>به</label>
|
||||||
|
<div class="form-group-icon">
|
||||||
|
<input type="text" name="to-destination"
|
||||||
|
class="form-control swap-to" value="تهران">
|
||||||
|
<i class="fal fa-plane-arrival"></i>
|
||||||
|
</div>
|
||||||
|
<p>فرودگاه بین المللی تهران</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-3">
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="search-form-date">
|
||||||
|
<div class="search-form-journey">
|
||||||
|
<label>تاریخ سفر</label>
|
||||||
|
<div class="form-group-icon">
|
||||||
|
<input type="text" name="journey-date"
|
||||||
|
class="form-control date-picker journey-date">
|
||||||
|
<i class="fal fa-calendar-days"></i>
|
||||||
|
</div>
|
||||||
|
<p class="journey-day-name"></p>
|
||||||
|
</div>
|
||||||
|
<div class="search-form-return">
|
||||||
|
<label>تاریخ برگشت</label>
|
||||||
|
<div class="form-group-icon">
|
||||||
|
<input type="text" name="return-date"
|
||||||
|
class="form-control date-picker return-date">
|
||||||
|
</div>
|
||||||
|
<p class="return-day-name"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-3">
|
||||||
|
<div class="form-group dropdown static-dropdown passenger-box">
|
||||||
|
<div class="passenger-class" role="menu"
|
||||||
|
data-bs-toggle="dropdown" data-bs-display="static"
|
||||||
|
aria-expanded="false">
|
||||||
|
<label>مسافر، کلاس</label>
|
||||||
|
<div class="form-group-icon">
|
||||||
|
<div class="passenger-total"><span
|
||||||
|
class="passenger-total-amount">2</span>
|
||||||
|
مسافر
|
||||||
|
</div>
|
||||||
|
<i class="fal fa-user-plus"></i>
|
||||||
|
</div>
|
||||||
|
<p class="passenger-class-name">بیزنس</p>
|
||||||
|
</div>
|
||||||
|
<div class="dropdown-menu dropdown-menu-end">
|
||||||
|
<div class="dropdown-item">
|
||||||
|
<div class="passenger-item">
|
||||||
|
<div class="passenger-info">
|
||||||
|
<h6>بزرگسالان</h6>
|
||||||
|
<p>12+ سال</p>
|
||||||
|
</div>
|
||||||
|
<div class="passenger-qty">
|
||||||
|
<button type="button" class="minus-btn"><i
|
||||||
|
class="far fa-minus"></i></button>
|
||||||
|
<input type="text" name="adult"
|
||||||
|
class="qty-amount passenger-adult"
|
||||||
|
value="2" readonly>
|
||||||
|
<button type="button" class="plus-btn"><i
|
||||||
|
class="far fa-plus"></i></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="dropdown-item">
|
||||||
|
<div class="passenger-item">
|
||||||
|
<div class="passenger-info">
|
||||||
|
<h6>کودکان</h6>
|
||||||
|
<p>2-12 سال</p>
|
||||||
|
</div>
|
||||||
|
<div class="passenger-qty">
|
||||||
|
<button type="button" class="minus-btn"><i
|
||||||
|
class="far fa-minus"></i></button>
|
||||||
|
<input type="text" name="children"
|
||||||
|
class="qty-amount passenger-children"
|
||||||
|
value="0" readonly>
|
||||||
|
<button type="button" class="plus-btn"><i
|
||||||
|
class="far fa-plus"></i></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="dropdown-item">
|
||||||
|
<div class="passenger-item">
|
||||||
|
<div class="passenger-info">
|
||||||
|
<h6>نوزاد</h6>
|
||||||
|
<p>در زیر 2 سال</p>
|
||||||
|
</div>
|
||||||
|
<div class="passenger-qty">
|
||||||
|
<button type="button" class="minus-btn"><i
|
||||||
|
class="far fa-minus"></i></button>
|
||||||
|
<input type="text" name="infant"
|
||||||
|
class="qty-amount passenger-infant"
|
||||||
|
value="0" readonly>
|
||||||
|
<button type="button" class="plus-btn"><i
|
||||||
|
class="far fa-plus"></i></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="dropdown-item">
|
||||||
|
<h6 class="mb-3 mt-2">کلاس کابین</h6>
|
||||||
|
<div class="passenger-class-info">
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input" type="radio"
|
||||||
|
value="Economy" name="cabin-class"
|
||||||
|
id="cabin-class1">
|
||||||
|
<label class="form-check-label"
|
||||||
|
for="cabin-class1">
|
||||||
|
اقتصادی
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input" checked
|
||||||
|
type="radio" value="Business"
|
||||||
|
name="cabin-class" id="cabin-class2">
|
||||||
|
<label class="form-check-label"
|
||||||
|
for="cabin-class2">
|
||||||
|
بیزنس
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input" type="radio"
|
||||||
|
value="First Class" name="cabin-class"
|
||||||
|
id="cabin-class3">
|
||||||
|
<label class="form-check-label"
|
||||||
|
for="cabin-class3">
|
||||||
|
فرست کلس
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="flight-search-item flight-multicity-item have-to-clone">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-3">
|
||||||
|
<div class="form-group">
|
||||||
|
<label>از</label>
|
||||||
|
<div class="form-group-icon">
|
||||||
|
<input type="text" name="from-destination"
|
||||||
|
class="form-control swap-from" value="مشهد">
|
||||||
|
<i class="fal fa-plane-departure"></i>
|
||||||
|
</div>
|
||||||
|
<p>فرودگاه بین المللی مشهد
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-3">
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="search-form-swap"><i class="far fa-repeat"></i>
|
||||||
|
</div>
|
||||||
|
<label>به</label>
|
||||||
|
<div class="form-group-icon">
|
||||||
|
<input type="text" name="to-destination"
|
||||||
|
class="form-control swap-to" value="تهران">
|
||||||
|
<i class="fal fa-plane-arrival"></i>
|
||||||
|
</div>
|
||||||
|
<p>فرودگاه بین المللی تهران</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-3">
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="search-form-date">
|
||||||
|
<div class="search-form-journey">
|
||||||
|
<label>تاریخ سفر</label>
|
||||||
|
<div class="form-group-icon">
|
||||||
|
<input type="text" name="journey-date"
|
||||||
|
class="form-control date-picker journey-date">
|
||||||
|
<i class="fal fa-calendar-days"></i>
|
||||||
|
</div>
|
||||||
|
<p class="journey-day-name"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-3">
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="multicity-btn">
|
||||||
|
<i class="fal fa-plus-circle"></i> اضافه
|
||||||
|
کردن پروازی دیگر
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="search-btn">
|
||||||
|
<button type="submit" class="theme-btn"><span class="far fa-search"></span>به
|
||||||
|
روز رسانی جستجو
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="flight-booking flight-list py-120">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
|
<div class="col-lg-12">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="booking-sort">
|
||||||
|
<h5><?php echo e($flights->total()); ?> نتیجه پیداشد</h5>
|
||||||
|
<div class="col-md-3 booking-sort-box">
|
||||||
|
<form method="GET" action="<?php echo e(route('flights.index')); ?>" class="flight-sort-form">
|
||||||
|
<input type="hidden" name="from" value="<?php echo e(request('from')); ?>">
|
||||||
|
<input type="hidden" name="to" value="<?php echo e(request('to')); ?>">
|
||||||
|
<input type="hidden" name="departure_date" value="<?php echo e(request('departure_date')); ?>">
|
||||||
|
<select name="sort" class="form-select" onchange="this.form.submit()">
|
||||||
|
<option
|
||||||
|
value="default" <?php echo e(request('sort') == 'default' ? 'selected' : ''); ?>>
|
||||||
|
جدیدترین
|
||||||
|
</option>
|
||||||
|
<option
|
||||||
|
value="popularity" <?php echo e(request('sort') == 'popularity' ? 'selected' : ''); ?>>
|
||||||
|
محبوبترین
|
||||||
|
</option>
|
||||||
|
<option
|
||||||
|
value="lowest" <?php echo e(request('sort') == 'lowest' ? 'selected' : ''); ?>>
|
||||||
|
ارزانترین
|
||||||
|
</option>
|
||||||
|
<option
|
||||||
|
value="highest" <?php echo e(request('sort') == 'highest' ? 'selected' : ''); ?>>
|
||||||
|
گرانترین
|
||||||
|
</option>
|
||||||
|
</select>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-12">
|
||||||
|
<?php $__empty_1 = true; $__currentLoopData = $flights; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $flight): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
|
||||||
|
<div class="flight-booking-item">
|
||||||
|
<div class="flight-booking-wrapper">
|
||||||
|
<div class="flight-booking-info">
|
||||||
|
<div class="flight-booking-content">
|
||||||
|
<div class="flight-booking-airline">
|
||||||
|
<div class="flight-airline-img">
|
||||||
|
<img src="assets/img/flight/airline-7.png" alt>
|
||||||
|
</div>
|
||||||
|
<h5 class="flight-airline-name"><?php echo e($flight->airline?->name); ?></h5>
|
||||||
|
</div>
|
||||||
|
<div class="flight-booking-time">
|
||||||
|
<div class="start-time">
|
||||||
|
<div class="start-time-icon">
|
||||||
|
<i class="fal fa-plane-departure"></i>
|
||||||
|
</div>
|
||||||
|
<div class="start-time-info">
|
||||||
|
<h6 class="start-time-text"><?php echo e(verta($flight->departure_time)->format('Y/m/d')); ?></h6>
|
||||||
|
<span
|
||||||
|
class="flight-destination"><?php echo e($flight->origin_airport->city->name); ?></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flight-stop">
|
||||||
|
<div class="flight-stop-arrow"></div>
|
||||||
|
</div>
|
||||||
|
<div class="end-time">
|
||||||
|
<div class="start-time-icon">
|
||||||
|
<i class="fal fa-plane-arrival"></i>
|
||||||
|
</div>
|
||||||
|
<div class="start-time-info">
|
||||||
|
<h6 class="end-time-text"><?php echo e(verta($flight->arrival_time)->format('Y/m/d')); ?></h6>
|
||||||
|
<span
|
||||||
|
class="flight-destination"><?php echo e($flight->airport->city->name); ?></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flight-booking-price">
|
||||||
|
<div class="price-info">
|
||||||
|
<span class="price-amount"><?php echo e(number_format($flight->price)); ?>
|
||||||
|
|
||||||
|
تومان</span>
|
||||||
|
</div>
|
||||||
|
<a href="#" class="theme-btn">اکنون ثبت کن<i
|
||||||
|
class="far fa-arrow-left"></i></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flight-booking-detail">
|
||||||
|
<div class="flight-booking-detail-header">
|
||||||
|
<p>قابل استرداد جزئی</p>
|
||||||
|
<a href="#flight-booking-collapse1" data-bs-toggle="collapse"
|
||||||
|
role="button"
|
||||||
|
aria-expanded="false" aria-controls="flight-booking-collapse1">
|
||||||
|
اطلاعات پرواز <i class="far fa-angle-down"></i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="collapse" id="flight-booking-collapse1">
|
||||||
|
<div class="flight-booking-detail-wrapper">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-12 col-xl-6">
|
||||||
|
<div class="flight-booking-detail-left">
|
||||||
|
<ul class="nav nav-tabs" id="flTab1" role="tablist">
|
||||||
|
<li class="nav-item" role="presentation">
|
||||||
|
<button class="nav-link active" id="fl-tab1"
|
||||||
|
data-bs-toggle="tab"
|
||||||
|
data-bs-target="#fl-tab-pane1"
|
||||||
|
type="button"
|
||||||
|
role="tab" aria-controls="fl-tab-pane1"
|
||||||
|
aria-selected="true"><?php echo e($flight->origin_airport->city->name); ?>
|
||||||
|
|
||||||
|
- <?php echo e($flight->airport->city->name); ?>
|
||||||
|
|
||||||
|
</button>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<div class="tab-content" id="flTabContent1">
|
||||||
|
<div class="tab-pane fade show active"
|
||||||
|
id="fl-tab-pane1"
|
||||||
|
role="tabpanel" aria-labelledby="fl-tab1"
|
||||||
|
tabindex="0">
|
||||||
|
<div class="flight-booking-detail-info">
|
||||||
|
<div class="flight-booking-airline">
|
||||||
|
<div class="flight-airline-img">
|
||||||
|
<img
|
||||||
|
src="assets/img/flight/airline-7.png"
|
||||||
|
alt>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="flight-airline-info flex-grow-1">
|
||||||
|
<h5 class="flight-airline-name">شرکت
|
||||||
|
هواپیمایی <?php echo e($flight->airline?->name); ?></h5>
|
||||||
|
</div>
|
||||||
|
<p class="flight-airline-class">
|
||||||
|
باشه واسه بعد</p>
|
||||||
|
</div>
|
||||||
|
<div class="flight-booking-time">
|
||||||
|
<div class="start-time">
|
||||||
|
<div class="start-time-icon">
|
||||||
|
<i class="fal fa-plane-departure"></i>
|
||||||
|
</div>
|
||||||
|
<div class="start-time-info">
|
||||||
|
<h6 class="start-time-text">
|
||||||
|
<?php echo e(\Hekmatinasser\Verta\Verta::instance($flight->departure_time)->format('H:i')); ?>
|
||||||
|
|
||||||
|
</h6>
|
||||||
|
<p class="flight-full-date">
|
||||||
|
<?php echo e(\Hekmatinasser\Verta\Verta::instance($flight->departure_time)->format('l, d F Y')); ?>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<span
|
||||||
|
class="flight-destination"><?php echo e($flight->origin_airport->city->name); ?></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flight-stop">
|
||||||
|
<div
|
||||||
|
class="flight-stop-arrow"></div>
|
||||||
|
</div>
|
||||||
|
<div class="end-time">
|
||||||
|
<div class="start-time-icon">
|
||||||
|
<i class="fal fa-plane-arrival"></i>
|
||||||
|
</div>
|
||||||
|
<div class="start-time-info">
|
||||||
|
<h6 class="end-time-text"></h6>
|
||||||
|
<p class="flight-full-date">
|
||||||
|
<?php echo e(\Hekmatinasser\Verta\Verta::instance($flight->arrival_time)->format('l, d F Y')); ?>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<span
|
||||||
|
class="flight-destination"><?php echo e($flight->airport->city->name); ?></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-12 col-xl-6">
|
||||||
|
<div class="flight-booking-detail-right">
|
||||||
|
<div class="tab-content" id="frTabContent1">
|
||||||
|
<div class="tab-pane fade show active"
|
||||||
|
id="fr-tab-pane1"
|
||||||
|
role="tabpanel" aria-labelledby="fr-tab1"
|
||||||
|
tabindex="0">
|
||||||
|
<div class="flight-booking-detail-info">
|
||||||
|
<table class="table table-borderless">
|
||||||
|
<tr>
|
||||||
|
<th>پرواز ها</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><?php echo e($flight->origin_airport->city->name); ?>
|
||||||
|
|
||||||
|
- <?php echo e($flight->airport->city->name); ?></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flight-booking-detail-price">
|
||||||
|
<h6 class="flight-booking-detail-price-title">مجموع
|
||||||
|
(2
|
||||||
|
مسافر)</h6>
|
||||||
|
<div class="flight-detail-price-amount">
|
||||||
|
10000 تومان
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
|
||||||
|
<div class="alert alert-warning">هیچ پروازی یافت نشد</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
<?php if($flights->hasPages()): ?>
|
||||||
|
<div class="pagination-area">
|
||||||
|
<div aria-label="Page navigation example">
|
||||||
|
<?php echo e($flights->links()); ?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="pagination-showing">
|
||||||
|
<p>
|
||||||
|
نمایش <?php echo e($flights->firstItem()); ?> - <?php echo e($flights->lastItem()); ?>
|
||||||
|
|
||||||
|
از <?php echo e($flights->total()); ?> پرواز
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
<?php $__env->stopSection(); ?>
|
||||||
|
|
||||||
|
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\Users\ASUS\Desktop\airline-agency\resources\views/flights/index.blade.php ENDPATH**/ ?>
|
||||||
@@ -11,25 +11,15 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="collapse navbar-collapse" id="main_nav">
|
<div class="collapse navbar-collapse" id="main_nav">
|
||||||
<ul class="navbar-nav">
|
<ul class="navbar-nav">
|
||||||
<li class="nav-item dropdown">
|
<li class="nav-item ">
|
||||||
<a class="nav-link dropdowgn-toggle active" href="<?php echo e(route('index')); ?>" data-bs-toggle="dropdown">صفحه اصلی</a>
|
<a class="nav-link active" href="<?php echo e(route('index')); ?>" >صفحه اصلی</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item dropdown">
|
<li class="nav-item ">
|
||||||
<a class="nav-link dropdown-toggle" href="#" data-bs-toggle="dropdown">پرواز</a>
|
<a class="nav-link" href="<?php echo e(route('flights.index')); ?>" >پرواز</a>
|
||||||
<ul class="dropdown-menu fade-down">
|
|
||||||
<li><a class="dropdown-item" href="<?php echo e(route('flights.index')); ?>">لیست پرواز</a></li>
|
|
||||||
<li><a class="dropdown-item" href="flight-booking.html">رزرو پرواز</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item dropdown">
|
<li class="nav-item ">
|
||||||
<a class="nav-link dropdown-toggle" href="#" data-bs-toggle="dropdown">تور</a>
|
<a class="nav-link " href="<?php echo e(route('tours.index')); ?>" >تور</a>
|
||||||
<ul class="dropdown-menu fade-down">
|
|
||||||
<li><a class="dropdown-item" href="<?php echo e(route('tours.index')); ?>">لیست تور</a></li>
|
|
||||||
<li><a class="dropdown-item" href="tour-booking.html">رزرو تور</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item"><a class="nav-link" href="contact.html"> درباره ما</a></li>
|
|
||||||
<li class="nav-item"><a class="nav-link" href="contact.html">تماس باما</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
<div class="header-nav-right">
|
<div class="header-nav-right">
|
||||||
<div class="header-btn">
|
<div class="header-btn">
|
||||||
@@ -37,7 +27,7 @@
|
|||||||
<a href="<?php echo e(route('accounts.profile')); ?>" class="theme-btn mt-2"><?php echo e(auth()->user()->first_name); ?> <?php echo e(auth()->user()->last_name); ?></a>
|
<a href="<?php echo e(route('accounts.profile')); ?>" class="theme-btn mt-2"><?php echo e(auth()->user()->first_name); ?> <?php echo e(auth()->user()->last_name); ?></a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if(auth()->guard()->guest()): ?>
|
<?php if(auth()->guard()->guest()): ?>
|
||||||
<a href="#" class="theme-btn mt-2">متخصص شوید</a>
|
<a href="<?php echo e(route('admin.auth.login.index')); ?>" class="theme-btn mt-2"> ورود ادمین</a>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user