!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/smabpro.picotech.app/public_html/resources/views/taxi_order/   drwxr-xr-x
Free 27.07 GB of 117.98 GB (22.94%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     edit.blade.php (43.39 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

@extends('layouts.admin')
@section('page-title')
    {{__('Taxi Order')}}
@endsection

@push('css-page')
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.css"/>

<style>
.step{
    display: none !important;
}
</style>

@endpush

@push('script-page')
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script>


<script>

var currentTab = 0; // Current tab is set to be the first tab (0)
showTab(currentTab); // Display the current tab

function showTab(n) {
  // This function will display the specified tab of the form ...
  var x = document.getElementsByClassName("tab");
  x[n].style.display = "block";
  // ... and fix the Previous/Next buttons:
  if (n == 0) {
    document.getElementById("prevBtn").style.display = "none";
  } else {
    document.getElementById("prevBtn").style.display = "inline";
  }
  if (n == (x.length - 1)) {
    document.getElementById("nextBtn").innerHTML = "Submit";
  } else {
    document.getElementById("nextBtn").innerHTML = "Next";
  }
  // ... and run a function that displays the correct step indicator:
  fixStepIndicator(n)
}

function nextPrev(n) {
  // This function will figure out which tab to display
  var x = document.getElementsByClassName("tab");
  // Exit the function if any field in the current tab is invalid:
  if (n == 1 && !validateForm()) return false;
  // Hide the current tab:
  x[currentTab].style.display = "none";
  // Increase or decrease the current tab by 1:
  currentTab = currentTab + n;
  // if you have reached the end of the form... :
  if (currentTab >= x.length) {
    //...the form gets submitted:
    document.getElementById("regForm").submit();
    return false;
  }
  // Otherwise, display the correct tab:
  showTab(currentTab);
}

function validateForm() {
  // This function deals with validation of the form fields
  var x, y, i, valid = true;
  x = document.getElementsByClassName("tab");
  y = x[currentTab].getElementsByTagName("input");
  console.log( y.length );
  // A loop that checks every input field in the current tab:
  for (i = 0; i < y.length; i++) {
    // If a field is empty...
    if (y[i].value == "") {
      // add an "invalid" class to the field:
      y[i].className += " invalid";
      // and set the current valid status to false:
    //   valid = false;
      valid = true; //for remove requeired
    }
  }
  // If the valid status is true, mark the step as finished and valid:
  if (valid) {
    document.getElementsByClassName("step")[currentTab].className += " finish";
  }
  return valid; // return the valid status
}

function fixStepIndicator(n) {
  // This function removes the "active" class of all steps...
  var i, x = document.getElementsByClassName("step");
  for (i = 0; i < x.length; i++) {
    x[i].className = x[i].className.replace(" active", "");
  }
  //... and adds the "active" class to the current step:
  x[n].className += " active";
}

$(document).on('click', '.payment-input-value', function (e) {
       const type =  $(this).attr('data-payment-type');
       $('.payment-input-value').removeClass('active');


        $(this).addClass('active');

        $('#payment_method').val(type);
});

    $(document).ready(function(){

    let timeSet = 1000;
    let typingTimer;

    function fetchData(searchValue) {
        if(searchValue){
            $.ajax({
            url: '{{ route("order.request.customer.search") }}',
            method: 'GET',
            data: { customer_name: searchValue },
            success: function(response) {
                if (response.status == 'success') {
                $('.show-filtered-result').removeClass('d-none');
                let html = '';

                $.each(response.data, function (index, value) {
                    html += `<div class="search-box-result-sec">
                         <a href="#"
                         data-name="${value.name}"
                         data-id="${value.id}"
                         data-email="${value.email}"
                         data-phone_number="${value.phone_number}"
                         class="d-block each-filtered-result">${value.name}</a>
                         </div>`;
                });
                if (response.data.length <= 0) {
                    $('.show-filtered-result').addClass('d-none');
                    return;
                }
                $('.show-filtered-result').html(html)
            } else {
                $('.show-filtered-result').addClass('d-none');

            }
            },
            error: function(xhr, status, error) {
                console.error(xhr.responseText);
            }
        });
        }

    }

    function sendAjaxRequest(searchValue) {
        clearTimeout(typingTimer);
        typingTimer = setTimeout(function() {
            fetchData(searchValue);
        }, timeSet);
    }


    $('.customer-search-order-request').on('keyup', function() {
        var searchValue = $(this).val();
        sendAjaxRequest(searchValue);
    });
});


$(document).on('click', '.each-filtered-result', function (e) {
        e.preventDefault();

        const name = $(this).attr('data-name');
        const id = $(this).attr('data-id');
        const phone_number = $(this).attr('data-phone_number');
        const email = $(this).attr('data-email');
        $('.show-filtered-result').addClass('d-none');
        $('.customer-search-order-request').val(name);
        $('.customer-email-search').val(email);
        $('.customer-phone-number-search').val(phone_number);

    });
    const appointment_time =  $('#appointment_time').val();
    console.log(appointment_time);

    $(document).on('change', '#appointment_time', function(e){
        const pickup_time=$('input[name=preferred_pickup_time]').val();
        const appointment_time=$(this).val();

        // Convert pickup_time and appointment_time to JavaScript Date objects
        const pickupDate = new Date('1970-01-01T' + pickup_time);
        const appointmentDate = new Date('1970-01-01T' + appointment_time);

        // Compare the times
        if (appointmentDate <= pickupDate) {
            // Show toastr message if appointment_time is not greater than pickup_time
            toastr.error('Appointment time should be greater than pickup time');
            $(this).val('');
        }
    })

</script>


<script>
$(document).ready(function() {
    $(".btn-choose-location").click(function() {
    const recom_to =    $("#recom-to-destination").text();
    const recom_from =    $("#recom-from-destination").text();
    $("#destination_place").val(recom_to);
    $("#pickup_address").val(recom_from);
    });


    var t_distance_value = $('#t-distance').text();
    var t_distance_numeric_value = parseFloat(t_distance_value.replace(/\D/g, ''));

    var t_km = $('#total-km').text();

    var t_km_currencySymbol = t_km.replace(/[\d\.,]/g, '');
    var t_km_value = t_km.replace(new RegExp('\\' + t_km_currencySymbol, 'g'), '');
    const  t_km_numeric_value = t_km_value.replace(',','');
    const t_sub_total = t_distance_numeric_value*t_km_numeric_value;
    $('#t-sub-total').text(t_sub_total+ '$');



});

function initMap(e){
    const center = { lat: 50.064192, lng: -130.605469 };
    const defaultBounds = {
    north: center.lat + 0.1,
    south: center.lat - 0.1,
    east: center.lng + 0.1,
    west: center.lng - 0.1,
    };
    const pickup_address = document.getElementById("pickup_address");
    const destination_place = document.getElementById("destination_place");
    const options = {
    bounds: defaultBounds,
    componentRestrictions: { country: "us" },
    fields: ["address_components", "geometry", "icon", "name"],
    strictBounds: false,
    };

    //pickup
    const pickup_autocomplete = new google.maps.places.Autocomplete(pickup_address, options);

    let pickup='';
    let destination='';
    google.maps.event.addListener(pickup_autocomplete, 'place_changed', () => {
        let place = pickup_autocomplete.getPlace();
        let pickup_lat_lng = place.geometry.location.lat()+','+ place.geometry.location.lng();

        pickup = {lat: place.geometry.location.lat(), lng: place.geometry.location.lng()};

        $('#pickup_lat_lng').val(pickup_lat_lng);

        calculate_distance()
    });


    //destination
    const destination_autocomplete = new google.maps.places.Autocomplete(destination_place, options);

    google.maps.event.addListener(destination_autocomplete, 'place_changed', () => {
        let place = destination_autocomplete.getPlace();
        const destination_lat_lng = place.geometry.location.lat()+','+ place.geometry.location.lng();

        destination = {lat: place.geometry.location.lat(), lng: place.geometry.location.lng()};

        $('#destination_lat_lng').val(destination_lat_lng);

        calculate_distance()
    });


    let distance = '';
    let distance_meter = '';

function calculate_distance(){
if(!pickup || !destination){
    return;
}
   let directionsService = new google.maps.DirectionsService();
    const route = {
    origin: pickup,
    destination: destination,
    travelMode: 'DRIVING'
    }

   directionsService.route(route,
    function(response, status) { // anonymous function to capture directions
    if (status !== 'OK') {
        window.alert('Directions request failed due to ' + status);
        return;
    } else {
    var directionsData = response.routes[0].legs[0]; // Get data about the mapped route
        if (!directionsData) {
        window.alert('Directions request failed');
        return;
    }
    else {
        distance = directionsData.distance.text.replace('mi', '').replace(',','');
        distance_meter = directionsData.distance.value;
        if(distance){

            $('#t-distance').addClass('d-none');
            $('#t-sub-total').addClass('d-none');
            $('#grand-total-cost').addClass('d-none');
        }else{
            $('#t-distance').removeClass('d-none');
            $('#t-sub-total').removeClass('d-none');
            $('#grand-total-cost').removeClass('d-none');
        }
        const calculated_distance = $('#distance-mi').text(distance+ ' (Meterage)');
        const total_distance = parseFloat(distance);
        // const total_miles = parseFloat($('#total-km').html());
        var t_km = $('#total-km').text();
        var t_km_currencySymbol = t_km.replace(/[\d\.,]/g, '');
        var t_km_value = t_km.replace(new RegExp('\\' + t_km_currencySymbol, 'g'), '');
        const  total_miles = t_km_value.replace(',','');
        const trip_charge = parseFloat($('#trip_charge').html());
        const extra_charge = parseFloat($('#extra_charge').html());
        const others_charge = trip_charge + extra_charge;
        const sub_total =  total_distance * total_miles;
        const total_cost =  sub_total + others_charge;
        $('#total-cost-cal').text(total_cost+ '$');
        $('#sub-total-crg').text(sub_total+ '$');
        $('#total-cost-calculation').val(total_cost);
        $('#total_distance').val(total_distance);

    }
}
});
}
}
</script>
<script async
src="https://maps.googleapis.com/maps/api/js?key={{env('GOOGLE_API_KEY')}}&loading=async&libraries=places&callback=initMap">

</script>
@endpush
@section('breadcrumb')
    <li class="breadcrumb-item"><a href="{{route('dashboard')}}">{{__('Dashboard')}}</a></li>
    <li class="breadcrumb-item">{{__('Taxi Order')}}</li>
@endsection
@section('action-btn')
    <div class="float-end">

        <a href="{{route('taxi-order.create')}}"  title="{{__('Create')}}"   class="btn btn-sm btn-primary">
            <i class="ti ti-plus"></i>
        </a>

    </div>
@endsection

@section('content')

{{ Form::model($taxiOrder, array('route' => array('taxi-order.update', $taxiOrder->id), 'id'=>'regForm','method' => 'post','enctype' => 'multipart/form-data')) }}
@method('PUT')

     <span class="step"></span>
    <span class="step"></span>
    <span class="step"></span>

    <div class="row">
        <div class="col-xl-12">
<div class="card">
<div class="card-body">

<div class="tab">
    <div class="row">
        <div class="col-lg-6 taxi-order-card-bg">
            <div class="taxi-order-card">
                <div class="row">
                    <div class="col-md-12">
                            <div class="row">
                                <div class="form-group col-md-12">
                                    <div class="customer-personal-info">
                                        {{__('Personal Information')}}
                                    </div>
                                    {{ Form::label('name', __('Customer Name'),['class'=>'col-form-label form-label']) }}
                                    {{ Form::text('name', isset($taxiOrder->name) ? $taxiOrder->name : '', array('class' => 'form-control', 'required' => 'required')) }}
                                </div>


                                <input type="hidden" id="pickup_lat_lng" name="pickup_lat_lng" value="{{isset($taxiOrder->pickup_lat_lng)?$taxiOrder->pickup_lat_lng:''}}">
                                <input type="hidden" id="destination_lat_lng" name="destination_lat_lng" value="{{isset($taxiOrder->destination_lat_lng)?$taxiOrder->destination_lat_lng:''}}">
                                {{-- <input type="hidden" id="total-cost-calculation" name="total_cost" value="">
                                <input type="hidden" id="total_distance" name="total_km" value=""> --}}
                                <div class="show-filtered-result d-none">

                                </div>
                                <div class="form-group col-md-12">
                                    {{ Form::label('phone_number', __('Phone Number'),['class'=>'form-label']) }}
                                    {{ Form::number('phone_number', isset($taxiOrder->phone_number) ? $taxiOrder->phone_number : '', array('class' => 'form-control customer-phone-number-search','required'=>'required')) }}
                                </div>

                                <div class="form-group col-md-12">
                                    {{ Form::label('email', __('Email'),['class'=>'form-label']) }}
                                    {{ Form::text('email', isset($taxiOrder->email) ? $taxiOrder->email : '', array('class' => 'form-control customer-email-search','required'=>'required')) }}
                                </div>
                                <div class="form-group col-md-12">
                                    <label for="" class="form-label">Emergency Contact</label>
                                    <input type="text" value="{{isset($taxiOrder->emergency_contact) ? $taxiOrder->emergency_contact : ''}}" name="emergency_contact" class="form-control" placeholder="Enter Contact Number">
                                </div>
                                <div class="form-group col-md-12">
                                    <label for="" class="form-label">Address</label>
                                    <input type="text" value="{{isset($taxiOrder->address) ? $taxiOrder->address : ''}}" name="address" class="form-control" placeholder="Enter Address">
                                </div>
                                <div class="form-group col-md-12">
                                    <label for="" class="form-label">Date Of Birth</label>
                                    <input type="date" value="{{isset($taxiOrder->dob) ? $taxiOrder->dob : ''}}" name="dob" class="form-control">
                                </div>
                                {{-- <div class="form-group col-12">
                                    {{ Form::label('someone_knows_this_trip', __('We will need a few more details about ypur trip.'), ['class' => 'form-label']) }}

                                </div> --}}
                                {{-- <div class="form-group col-md-12">
                                    {{ Form::label('someone_knows_this_trip', __('Can The Member Or Someone the member knows drive for this trip'), ['class' => 'form-label']) }}
                                    <br>
                                    <div class="form-check form-check-inline">
                                        {{ Form::radio('someone_knows_this_trip', 'yes', null, ['class' => 'form-check-input', 'id' => 'yes']) }}
                                        {{ Form::label('yes', __('Yes'), ['class' => 'form-check-label']) }}
                                    </div>

                                    <div class="form-check form-check-inline">
                                        {{ Form::radio('someone_knows_this_trip', 'no', null, ['class' => 'form-check-input', 'id' => 'no']) }}
                                        {{ Form::label('no', __('No'), ['class' => 'form-check-label']) }}
                                    </div>
                                </div> --}}
                                <div class="form-group col-md-12">
                                    <label class="form-label" for="height_of_member">{{__('Height Of Member')}}</label> <span>({{__('In Feet')}})</span>
                                    {{ Form::text('height_of_member',isset($taxiOrder->height_of_member) ? $taxiOrder->height_of_member : '', array('class' => 'form-control ','required'=>'required')) }}
                                </div>
                                <div class="form-group col-md-12">
                                    <label class="form-label" for="weight_of_member">{{__('Weight Of Member')}}</label> <span>({{__('In Pounds')}})</span>
                                    {{ Form::text('weight_of_member', isset($taxiOrder->weight_of_member) ? $taxiOrder->weight_of_member : '', array('class' => 'form-control ','required'=>'required')) }}
                                </div>
                            </div>
                    </div>
                </div>
            </div>

        </div>

     <div class="col-lg-6 taxi-order-card-bg-two">
        <div class="taxi-order-card-two">
            <div class="row ">
                <div class="col-md-12">
                    <div class="row">

                        {{-- <div class="form-group col-12">

                            {{ Form::label('someone_knows_this_trip', __('We will need a few more
                            details about your trip.'), ['class' => 'form-label']) }}

                        </div> --}}
                        <div class="form-group col-md-12 ">
                            <div class="customer-personal-info">
                                {{__('Mobility and Assistance Needs:')}}
                            </div>
                            <label for="service_lavel" class="col-form-label">{{__('Can the individual walk independently?')}}</label>
                            <select class="form-control"  name="walk_independently">
                                <option {{isset($taxiOrder->walk_independently) && $taxiOrder->walk_independently=='no'?'selected':''}} value="no">{{__('No')}}</option>
                                <option {{isset($taxiOrder->walk_independently) && $taxiOrder->walk_independently=='yes'?'selected':''}} value="yes">{{__('Yes')}}</option>
                            </select>
                        </div>
                        <div class="form-group col-md-12 ">
                            <label for="service_lavel" class="col-form-label">{{__('Does the individual require assistance transferring in and out of the vehicle?')}}</label>
                            <select class="form-control" id="transferring" name="transferring">
                                <option {{isset($taxiOrder->transferring) && $taxiOrder->transferring=='no'?'selected':''}} value="no">{{__('No')}}</option>
                                <option {{isset($taxiOrder->transferring) && $taxiOrder->transferring=='yes'?'selected':''}} value="yes">{{__('Yes')}}</option>
                            </select>
                        </div>


                        <div class="form-group col-md-12 {{isset($taxiOrder->transferring) && $taxiOrder->transferring=='yes'?'':'d-none'}}" id="transferring_type_section">
                            <label for="service_lavel" class="col-form-label">{{__('Choose assistance transferring type')}}</label>
                            <select class="form-control" id="transferring_type" name="transferring_type">
                                <option {{isset($taxiOrder->transferring_type) && $taxiOrder->transferring_type=='wheelchair'?'selected':''}} value="wheelchair">{{__('Wheelchair')}}</option>
                                <option {{isset($taxiOrder->transferring_type) && $taxiOrder->transferring_type=='walker'?'selected':''}} value="walker">{{__('Walker')}}</option>
                            </select>
                        </div>
                        <div class="form-group col-md-12">
                            <div class="customer-personal-info">
                                {{__('Additional Notes or Special Instructions:')}}
                            </div>
                            {{ Form::label('child_seats', __('Any specific instructions or preferences for the trip?'),['class'=>'col-form-label form-label']) }}
                            <textarea name="instuctions_for_driver" class="form-control" required id="4"
                                cols="4" rows="4">{{isset($taxiOrder->instuctions_for_driver)?$taxiOrder->instuctions_for_driver:(old('instuctions_for_driver')?old('instuctions_for_driver'):'')}}</textarea>
                        </div>
                        {{-- <div class="form-group col-md-12">
                            {{ Form::label('someone_knows_this_trip', __('Can The Member Or Someone
                            the member knows drive for this trip'), ['class' => 'form-label']) }}
                            <br>
                            <div class="form-check form-check-inline ">
                                {{ Form::radio('someone_knows_this_trip', 'yes', null, ['class' =>
                                'form-check-input', 'id' => 'yes']) }}
                                {{ Form::label('yes', __('Yes'), ['class' => 'form-check-label']) }}
                            </div>

                            <div class="form-check form-check-inline ">
                                {{ Form::radio('someone_knows_this_trip', 'no', null, ['class' =>
                                'form-check-input', 'id' => 'no']) }}
                                {{ Form::label('no', __('No'), ['class' => 'form-check-label']) }}
                            </div>
                        </div>

                        <div class="form-group col-md-12">
                            {{ Form::label('how_mobile_in_the_member', __('How mobile is the member?'),
                            ['class' => 'form-label']) }}
                            <br>
                            <div class="form-check form-check-inline">
                                {{ Form::radio('how_mobile_in_the_member', 'can_walk', null, ['class' =>
                                'form-check-input', 'id' => 'can_walk']) }}
                                {{ Form::label('can_walk', __('The member can walk'), ['class' =>
                                'form-check-label']) }}
                            </div>

                            <div class="form-check form-check-inline">
                                {{ Form::radio('how_mobile_in_the_member', 'uses_a_wheelchair', null,
                                ['class' => 'form-check-input', 'id' => 'uses_a_wheelchair']) }}
                                {{ Form::label('uses_a_wheelchair', __('The member uses a wheelchair'),
                                ['class' => 'form-check-label']) }}
                            </div>
                        </div> --}}

                        <div class="form-group col-md-12 ">
                            <label for="steps_or_ramp" class="col-form-label">{{__('Any Steps Or ramp at the
                                home ?')}}</label>

                            <select class="form-control" id="" name="steps_or_ramp">
                                <option {{isset($taxiOrder->steps_or_ramp) && $taxiOrder->steps_or_ramp=='yes'?'selected':''}} value="yes">{{__('Yes')}}</option>
                                <option {{isset($taxiOrder->steps_or_ramp) && $taxiOrder->steps_or_ramp=='no'?'selected':''}} value="no">{{__('No')}}</option>
                            </select>

                        </div>
                        <div class="form-group col-md-12 ">
                            <label for="special_needs" class="col-form-label">{{__('Any Special Needs
                                ?')}}</label>

                            <select class="form-control" id="any-special-needs" name="special_needs">
                                <option {{isset($taxiOrder->special_needs) && $taxiOrder->special_needs=='no'?'selected':''}} value="no">{{__('No')}}</option>
                                <option {{isset($taxiOrder->special_needs) && $taxiOrder->special_needs=='yes'?'selected':''}} value="yes">{{__('Yes')}}</option>
                            </select>
                            <div id="special_needs_items">

                            </div>
                        </div>




                    </div>
                </div>
            </div>
        </div>

     </div>
    </div>
</div>
<div class="tab">
    <div class="row">
        <div class="col-lg-6 taxi-order-card-bg">
            <div class="taxi-order-card">
                <div class="row">


                    <div class="form-group col-md-12 ">
                        <div class="customer-personal-info">
                            {{__('Trip Details:')}}
                        </div>
                        {{ Form::label('pickup_date', __('Date of Trip'),['class'=>'col-form-label form-label']) }}
                        {{ Form::date('pickup_date', isset($taxiOrder->pickup_date)?$taxiOrder->pickup_date:(old('pickup_date')?old('pickup_date'):''), array('class' => 'form-control
                        ','required'=>'required')) }}
                    </div>
                    <div class="form-group col-md-12">
                        {{ Form::label('preferred_pickup-time', __('Time of Pickup'),['class'=>'form-label']) }}
                        {{ Form::time('preferred_pickup_time',isset($taxiOrder->preferred_pickup_time)?$taxiOrder->preferred_pickup_time:(old('preferred_pickup_time')?old('preferred_pickup_time'):''), array('class' => 'form-control
                        ','required'=>'required')) }}
                    </div>

                    <div class="form-group col-md-12">
                        {{ Form::label('appointment_time', __('Appointment
                        time'),['class'=>'form-label']) }}
                        {{ Form::time('appointment_time',isset($taxiOrder->appointment_time)?$taxiOrder->appointment_time:(old('appointment_time')?old('appointment_time'):''), array('class' => 'form-control
                        ','required'=>'required')) }}
                    </div>
                    <div class="form-group col-md-12">
                        {{ Form::label('pickup_address', __('Pickup Address'),['class'=>'form-label']) }}
                        {{ Form::text('pickup_address', isset($taxiOrder->pickup_address) ? $taxiOrder->pickup_address : '', array('class' =>'form-control','required'=>'required','id'=>'pickup_address')) }}
                     </div>
                    <div class="form-group col-md-12">
                        {{ Form::label('destination_address', __('Destination Address'),['class'=>'form-label']) }}
                        {{ Form::text('destination_address',  isset($taxiOrder->destination_address) ? $taxiOrder->destination_address : '', array('class' =>
                        'form-control','required'=>'required','id'=>'destination_place')) }}
                    </div>

                </div>
            </div>
        </div>
        <div class="col-lg-6 taxi-order-card-bg-two">
            <div class="taxi-order-card-two">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="suggested-destination-sec d-none">
                           <div class="last-order-title">
                            Last Order
                           </div>
                            <div class="user-last-order-from">
                                Destination Address : <span id="recom-from-destination">Florida</span>
                            </div>
                            <div class="user-last-order-from">
                                Pickup Address : <span id="recom-to-destination">New York</span>
                            </div>
                            <div class="destination-choose-button">
                                <a href="#" class="btn-choose-location">Choose this Location</a>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-12">

                        <div class="card mt-3">
                            <div class="card-body">
                               <div class="total-calculation-sec">
                                <div class="total_km">
                                    {{__('Total Distance')}} : <span id="distance-mi"></span> <span id="t-distance">{{isset($taxiOrder->total_km)?$taxiOrder->total_km:'0'}} {{'meterages'}}</span>
                                </div>
                                <div class="km-price">
                                    {{__('Per Meterage Charge')}} : <span id="total-km">{{\Auth::user()->priceFormat(isset($meterage->per_meterage_charge)?$meterage->per_meterage_charge:'')}}</span>
                                </div>
                                <div class="sub-total-devider-line"></div>
                                <div class="sub-total-sec mb-3">
                                   <strong> {{__('Sub Total')}} : <span id="sub-total-crg"></span> <span id="t-sub-total"></span></strong>
                                </div>
                                <div>
                                    {{__('Trip Charge')}} : <span id="trip_charge">{{isset($meterage->trip_charge)?$meterage->trip_charge:''}}$</span>

                                </div>
                                <div>
                                    {{__('Extra Charge')}} : <span id="extra_charge">{{isset($meterage->extra_charge)?$meterage->extra_charge:''}}$</span>

                                </div>
                                <div class="sub-total-devider-line"></div>
                                <div class="total-cost">
                                   <strong> {{__('Grand Total')}} : <span id="total-cost-cal">
                                </span> <span id="grand-total-cost">{{\Auth::user()->priceFormat(isset($taxiOrder->total_cost)?$taxiOrder->total_cost:'')}}</span></strong>
                                </div>
                               </div>
                            </div>
                        </div>
                    </div>
                    {{-- <div class="form-group col-md-12 ">
                        <label for="note" class="form-label">{{__('Please note anyone who will ride with this member for this trip:')}}</label>

                    </div>
                    <div class="form-group col-md-12">
                        {{ Form::label('personal_care_attendants', __('Personal care attendants'),['class'=>'form-label']) }}
                        {{ Form::number('personal_care_attendants', isset($taxiOrder->personal_care_attendants) ? $taxiOrder->personal_care_attendants : '', array('class' => 'form-control ','required'=>'required')) }}
                    </div>
                    <div class="form-group col-md-12">
                        {{ Form::label('adult_escorts', __('Adult Escorts:'),['class'=>'form-label']) }}
                        {{ Form::number('adult_escorts', isset($taxiOrder->adult_escorts) ? $taxiOrder->adult_escorts : '', array('class' => 'form-control ','required'=>'required')) }}
                    </div>
                    <div class="form-group col-md-12">
                        {{ Form::label('child_escorts', __('Child Escorts:'),['class'=>'form-label']) }}
                        {{ Form::number('child_escorts', isset($taxiOrder->child_seats) ? $taxiOrder->child_seats : '', array('class' => 'form-control ','required'=>'required')) }}
                    </div>
                    <div class="form-group col-md-12">
                        {{ Form::label('child_seats', __('Child Seats:'),['class'=>'form-label']) }}
                        {{ Form::number('child_seats', isset($taxiOrder->child_seats) ? $taxiOrder->child_seats : '', array('class' => 'form-control ','required'=>'required')) }}
                    </div>
                    <div class="form-group col-md-12 ">
                        <label for="member_sign_drivers_log" class="col-form-label">{{__('Can member sign the drivers log ?')}}</label>

                        <select class="form-control" id="" name="member_sign_drivers_log">
                            <option value="{{ $taxiOrder->member_sign_drivers_log == 'yes' ? 'selected' : 'yes' }}">{{__('Yes')}}</option>
                            <option value="{{ $taxiOrder->member_sign_drivers_log == 'no' ? 'selected' : 'no' }}">{{__('N/A')}}</option>
                        </select>

                    </div> --}}
                </div>
            </div>
        </div>
    </div>

</div>
{{-- <div class="tab">
    <div class="row">
        <div class="col-lg-6 taxi-order-card-bg">
            <div class="taxi-order-card">
                <div class="row">
                    <div class="form-group col-md-12">
                        {{ Form::label('child_seats', __('Enter a phone number for the pickup location:'),['class'=>'form-label']) }}
                        {{ Form::number('pickup_location_phone_number', isset($taxiOrder->pickup_location_phone_number) ? $taxiOrder->pickup_location_phone_number : '', array('class' => 'form-control ','required'=>'required')) }}
                    </div>
                    <div class="form-group col-md-12">
                        {{ Form::label('child_seats', __('Do you have any instructions that might help your driver ?'),['class'=>'form-label']) }}
                       <textarea name="instuctions_for_driver" class="form-control" required id="4" cols="4" rows="4">{{isset($taxiOrder->pickup_location_phone_number)?$taxiOrder->pickup_location_phone_number : ''}}</textarea>
                    </div>
                    <div class="form-group col-md-12">
                        {{ Form::label('pickup_date', __('Pickup Date'),['class'=>'form-label']) }}
                        {{ Form::date('pickup_date', isset($taxiOrder->pickup_date) ? $taxiOrder->pickup_date : '', array('class' => 'form-control ','required'=>'required')) }}
                    </div>
                    <div class="form-group col-md-12">
                        {{ Form::label('preferred_pickup-time', __('Do you have a preferred pickup time'),['class'=>'form-label']) }}
                        {{ Form::time('preferred_pickup_time', isset($taxiOrder->preferred_pickup_time) ? $taxiOrder->preferred_pickup_time : '', array('class' => 'form-control ','required'=>'required')) }}
                    </div>
                    <div class="form-group col-md-12">
                        {{ Form::label('appointment_time', __('Appointment time'),['class'=>'form-label']) }}
                        {{ Form::time('appointment_time', isset($taxiOrder->appointment_time) ? $taxiOrder->appointment_time : '', array('class' => 'form-control ','required'=>'required','id'=>'appointment_time')) }}
                    </div>
                    <div class="form-group col-md-12">
                        {{ Form::label('drop_off_location_phone_number', __('Enter a phone number for the drop off location'),['class'=>'form-label']) }}
                        {{ Form::number('drop_off_location_phone_number', isset($taxiOrder->drop_off_location_phone_number)?$taxiOrder->drop_off_location_phone_number : '', array('class' => 'form-control ','required'=>'required')) }}
                    </div>
                </div>
            </div>
        </div>
        <div class="col-lg-6 taxi-order-card-bg-two">
            <div class="taxi-order-card-two">

                <div class="col-md-12">

                    <div class="card mt-3">
                        <div class="card-body">
                           <div class="total-calculation-sec">
                            <div class="total_km">
                                {{__('Total Distance')}} : <span id="distance-mi"></span> <span id="t-distance">{{isset($taxiOrder->total_km)?$taxiOrder->total_km:'0'}} {{'meterages'}}</span>
                            </div>
                            <div class="km-price">
                                {{__('Per Meterage Charge')}} : <span id="total-km">{{\Auth::user()->priceFormat(isset($meterage->per_meterage_charge)?$meterage->per_meterage_charge:'')}}</span>
                            </div>
                            <div class="sub-total-devider-line"></div>
                            <div class="sub-total-sec mb-3">
                               <strong> {{__('Sub Total')}} : <span id="sub-total-crg"></span> <span id="t-sub-total"></span></strong>
                            </div>
                            <div>
                                {{__('Trip Charge')}} : <span id="trip_charge">{{isset($meterage->trip_charge)?$meterage->trip_charge:''}}$</span>

                            </div>
                            <div>
                                {{__('Extra Charge')}} : <span id="extra_charge">{{isset($meterage->extra_charge)?$meterage->extra_charge:''}}$</span>

                            </div>
                            <div class="sub-total-devider-line"></div>
                            <div class="total-cost">
                               <strong> {{__('Grand Total')}} : <span id="total-cost-cal">
                            </span> <span id="grand-total-cost">{{\Auth::user()->priceFormat(isset($taxiOrder->total_cost)?$taxiOrder->total_cost:'')}}</span></strong>
                            </div>
                           </div>
                        </div>
                    </div>
                </div>
                <div class="form-group col-md-12 d-none">
                    <div class="customer-personal-info">
                        {{__('Payment Information:')}}
                    </div>
                </div>

                    <div class="form-group col-md-12 d-none">
                        <label for="steps_or_ramp" class="col-form-label">{{__('Will payment be covered by insurance or self-pay?')}}</label>

                        <select class="form-control form-label" id="insurance_or_self_pay" name="insurance_type">
                            <option value="self_pay">{{__('Self pay')}}</option>
                            <option value="insurance">{{__('Insurance')}}</option>
                        </select>

                    </div>

                    <input type="hidden" value="{{isset($company_payment_setting['is_zell_or_cash_enabled']) && $company_payment_setting['is_zell_or_cash_enabled']=='on'?'offline':''}}" name="payment_type" id="payment_method">

                    <div class="accordion accordion-flush payment-info-sec-wrapper d-none" id="accordionFlushExample">
                        @if (isset($company_payment_setting['is_zell_or_cash_enabled']) && $company_payment_setting['is_zell_or_cash_enabled']=='on')
                        <div class="accordion-item payment-type-sec">
                            <h2 class="accordion-header" id="flush-headingOne">
                              <button data-payment-type='offline' class="accordion-button payment-input-value payment-accordion-button collapsed show active" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseOne" aria-expanded="true" aria-controls="flush-collapseOne">
                               {{__('Zell/Cash')}}
                              </button>
                            </h2>

                            <div id="flush-collapseOne" class="accordion-collapse collapse show" aria-labelledby="flush-headingOne" data-bs-parent="#accordionFlushExample">
                              <div class="accordion-body">  {{isset($company_payment_setting['zell_or_cash_details'])?$company_payment_setting['zell_or_cash_details']:'N/A'}}</div>
                            </div>
                          </div>
                        @endif
                        @if (isset($company_payment_setting['is_paypal_enabled']) && $company_payment_setting['is_paypal_enabled']=='on')
                        <div class="accordion-item payment-type-sec">
                            <h2 class="accordion-header" id="flush-headingTwo">
                              <button data-payment-type='paypal' class="accordion-button payment-input-value payment-accordion-button " type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseTwo" aria-expanded="false" aria-controls="flush-collapseTwo">
                               Paypal
                              </button>
                            </h2>
                            <div id="flush-collapseTwo" class="accordion-collapse collapse" aria-labelledby="flush-headingTwo" data-bs-parent="#accordionFlushExample">
                              <div class="accordion-body">Paypal</div>
                            </div>
                          </div>
                        @endif
                        <div class="accordion-item payment-type-sec d-none">
                          <h2 class="accordion-header" id="flush-headingThree">
                            <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseThree" aria-expanded="false" aria-controls="flush-collapseThree">
                            Stripe
                            </button>
                          </h2>
                          <div id="flush-collapseThree" class="accordion-collapse collapse" aria-labelledby="flush-headingThree" data-bs-parent="#accordionFlushExample">
                            <div class="accordion-body">Placeholder content for this accordion, which is intended to demonstrate the <code>.accordion-flush</code> class. This is the third item's accordion body. Nothing more exciting happening here in terms of content, but just filling up the space to make it look, at least at first glance, a bit more representative of how this would look in a real-world application.</div>
                          </div>
                        </div>
                      </div>
                      <div class="insurence-payment-info-sec">
                        {{ Form::text('insurence_payment', old('insurence_payment'), array('class' =>
                        'form-control','required'=>'required','id'=>'insurence_payment')) }}
                      </div>

            </div>
        </div>
    </div>
</div> --}}

<div class="card-footer d-none">
    <input type="button" value="{{__('Cancel')}}" class="btn  btn-light" data-bs-dismiss="modal">
    <input type="submit" value="{{__('Create')}}" class="btn  btn-primary">
</div>
<div style="overflow:auto;">
    <div style="float:right;">
      <button type="button" id="prevBtn" onclick="nextPrev(-1)">Previous</button>
      <button type="button" id="nextBtn" onclick="nextPrev(1)">Next</button>
      {{-- <button type="submit" id="submitbtn" onclick="submtBtn()">Submit</button> --}}
    </div>
  </div>


            </div>
        </div>
    </div>
</div>
{{ Form::close() }}

<style>
    .pac-container {
        z-index: 10000 !important;
    }
.search-box-result-sec {
    background: #fafafa;
    padding: 5px 3px;
}
.custom-radio-inline {
    display: block !important;
}
</style>
@endsection
 @section('extra-scripts')


@endsection



:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0055 ]--