@extends('counter_manager.layouts.app')
@section('panel')
    <div class="row gy-4">
        <div class="col-lg-12">
            <div class="card">
                <div class="card-body">
                    <form id="filterForm" method="GET">
                        <div class="input-group w-auto flex-fill">
                            <input type="search" name="search" class="form-control bg--white" placeholder="@lang("PNR Number")" value="{{ request()->search }}">
                            <button class="btn btn--primary px-4" type="submit"><i class="la la-search"></i></button>
                        </div>
                    </form>
                </div>
            </div>
        </div>

        @if(request()->has('search'))
            <div class="col-lg-12">
                <div class="card">
                    @include('counter_manager.partials.bookings')
                </div>
            </div>
        @endif
    </div>
    <x-confirmation-modal />
@endsection

