Sh3ll
OdayForums


Server : Apache
System : Linux 145.162.205.92.host.secureserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64
User : tradze ( 1001)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /home/tradze/public_html/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/tradze/public_html/storage/framework/views/3e79870286de05b6628e71204a397f95f8152640.php
<?php $__env->startSection('title'); ?>
    <?php echo $page_title; ?>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('css_page'); ?>
    <link href="<?php echo e(asset('/themes/admin/assets/global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.css')); ?>" rel="stylesheet">
    <style>
        #map{
            width:100%;
            height:400px;
        }
    </style>
<?php $__env->stopSection(); ?>



<?php $__env->startSection('content'); ?>

    <!-- BEGIN PAGE HEADER-->
    <div class="page-bar">
        <ul class="page-breadcrumb">
            <li>
                <i class="fa fa-home"></i>
                <a href="#">Home</a>
                <i class="fa fa-angle-right"></i>
            </li>
            <li>
                <a href="#"><?php echo e(trans('schedules::booking.breadcrumbs_title')); ?></a>
                <i class="fa fa-angle-right"></i>
            </li>
            <li>
                <a href="#"><?php echo e(trans('schedules::booking.breadcrumbs_bookings')); ?></a>
                <i class="fa fa-angle-right"></i>
            </li>
            <li>
                <a href="#"><?php echo e(trans('schedules::booking.breadcrumbs_details')); ?></a>
            </li>
        </ul>

        <div class="page-toolbar">
            <a href="<?php echo e(route('admin.schedules.bookings.show',['bookings'=>$obj->id])); ?>" class="btn blue"><i class="fa fa-angle-left"></i> <?php echo e(trans('general.action_back')); ?></a>
        </div>
    </div>
    <!-- END PAGE HEADER-->

    <!--display messaged-->
    <?php echo $__env->make('flash::message', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    <!--/ display messaged-->

    <div class="portlet">
        <div class="portlet-title">
            <div class="caption">
                <i class="fa fa-pencil"></i>Edit Booking #<?php echo e($obj->id); ?>

                <span class="hidden-480">
                | <?php echo e($obj->created_at->format('d M Y h:iA')); ?>

                </span>
            </div>
        </div>
        <div class="portlet-body">
            <?php echo Form::model($obj, array('url' => URL::to('admin/schedules/bookings') . '/' . $obj->id, 'method' => 'put', 'class' => 'bf form-horizontal', 'files'=> true)); ?>


            <?php echo $__env->make('flash::message', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

            <?php /*booking info*/ ?>
            <div class="row">
                <div class="col-md-12">
                    <div class="portlet blue-hoki box">
                        <div class="portlet-title">
                            <div class="caption">
                                <i class="icon-info"></i>Booking Details
                            </div>
                            <div class="actions">
                                <button type="submit" class="btn green btn-sm">
                                    <i class="fa fa-check"></i>
                                    Save
                                </button>
                            </div>
                        </div>
                        <div class="portlet-body">
                            <div class="row">
                                <?php /*start col booking data*/ ?>
                                <div class="col-md-6">
                                    <div class="row static-info">
                                        <div class="col-md-4 name bold">
                                            Booking details
                                        </div>
                                        <div class="col-md-7 value">
                                        </div>
                                    </div>
                                    <div class="row static-info">
                                        <div class="col-md-4 name">
                                            Order #:
                                        </div>
                                        <div class="col-md-7 value">
                                            <?php echo e($obj->order_id); ?>

                                        </div>
                                    </div>
                                    <div class="row static-info">
                                        <div class="col-md-4 name">
                                            Booking #:
                                        </div>
                                        <div class="col-md-7 value">
                                            <?php echo e($obj->id); ?>

                                        </div>
                                    </div>
                                    <div class="row static-info">
                                        <div class="col-md-4 name">
                                            Booking Date:
                                        </div>
                                        <div class="col-md-4 value <?php echo e($errors->has('newdate') ? 'has-error' : ''); ?>">
                                            <div class="input-group">
                                                <?php echo Form::text('newdate', $obj->date->format('Y-m-d'), array('class' => 'form-control datepicker','placeholder'=>'select other date','id'=>'date','readonly')); ?>

                                                <span class="input-group-btn">
												    <button class="btn default" type="button"><i class="fa fa-calendar"></i></button>
												</span>
                                            </div>
                                            <span class="help-block"><?php echo e($errors->first('newdate', ':message')); ?></span>
                                        </div>
                                    </div>
                                    <div class="row static-info">
                                        <div class="col-md-4 name">
                                            Booking Hour:
                                        </div>
                                        <div class="col-md-4 value <?php echo e($errors->has('newhour') ? 'has-error' : ''); ?>">
                                            <div class="input-group">
                                                <?php echo Form::text('newhour', $obj->hour, array('class' => 'form-control','placeholder'=>'select hour')); ?>

                                                <span class="input-group-btn">
												    <button class="btn default" type="button"><i class="fa fa-clock-o"></i></button>
												</span>
                                            </div>
                                            <span class="help-block"><?php echo e($errors->first('newhour', ':message')); ?></span>
                                        </div>
                                    </div>
                                    <div class="row static-info">
                                        <div class="col-md-4 name">
                                            Total:
                                        </div>
                                        <div class="col-md-4 value <?php echo e($errors->has('amount') ? 'has-error' : ''); ?>">
                                            <div class="input-group">
                                                <?php echo Form::text('amount', null, array('class' => 'form-control','placeholder'=>'')); ?>

                                                <span class="input-group-addon">
											        <i class="fa fa-gbp"></i>
											    </span>
                                            </div>
                                            <span class="help-block"><?php echo e($errors->first('amount', ':message')); ?></span>
                                        </div>
                                    </div>
                                </div>

                                <?php /*col massage type*/ ?>
                                <div class="col-md-6">
                                    <div class="row static-info">
                                        <div class="col-md-5 name bold">
                                            Service details
                                        </div>
                                        <div class="col-md-7 value">
                                        </div>
                                    </div>
                                    <div class="row static-info">
                                        <div class="col-md-4 name">
                                            Service Type:
                                        </div>
                                        <?php
                                        $massage_type_id = !empty($info['massage_type_id'])?$info['massage_type_id']:'';
                                        $therapistsNo = !empty($info['therapistsNo'])?$info['therapistsNo']:'';
                                        $focal_points = !empty($info['focal_points'])?$info['focal_points']:'';
                                        $has_table = !empty($info['has_table'])?$info['has_table']:0;
                                        $transport_cost = !empty($info['transport_cost'])?$info['transport_cost']:'';
                                        ?>
                                        <div class="col-md-7 value">
                                            <?php echo Form::select('massage_type', $form['massage_types'],$massage_type_id,['class'=>'form-control input-sm']); ?>

                                        </div>
                                    </div>
                                    <div class="row static-info">
                                        <div class="col-md-4 name">
                                            Service Duration:
                                        </div>
                                        <div class="col-md-7 value">
                                            <?php echo Form::select('duration_id', $form['durations'],$info['duration_id'],['class'=>'form-control input-sm']); ?>

                                        </div>
                                    </div>
                                    <div class="row static-info hidden">
                                        <div class="col-md-4 name">
                                            No. of Therapists:
                                        </div>
                                        <div class="col-md-7 value">
                                            <?php echo Form::text('therapistsNo',$therapistsNo,['class'=>'form-control form-input','readonly']); ?>

                                        </div>
                                    </div>
                                    <div class="row static-info hidden">
                                        <div class="col-md-4 name">
                                            Focal Points:
                                        </div>
                                        <div class="col-md-7 value">
                                            <?php echo Form::text('focal_points',$focal_points,['class'=>'form-control form-input','readonly']); ?>

                                        </div>
                                    </div>
                                    <div class="row static-info">
                                        <div class="col-md-4 name">
                                            Equipment:
                                        </div>
                                        <div class="col-md-7 value">
                                            <?php echo Form::select('has_table', [0=>trans('general.text_no'),1=>trans('general.text_yes')],(int)$has_table,['class'=>'form-control input-sm']); ?>

                                        </div>
                                    </div>
                                    <div class="row static-info">
                                        <div class="col-md-4 name">
                                            Travel supplements:
                                        </div>
                                        <div class="col-md-4 value <?php echo e($errors->has('transport_cost') ? 'has-error' : ''); ?>">
                                            <div class="input-group">
                                                <?php echo Form::text('transport_cost', !isset($transport_cost) ? $transport_cost: 0 , ['class' => 'form-control input-sm']); ?>

                                                <span class="input-group-addon">
                                                    <i class="fa fa-gbp"></i>
                                                </span>
                                            </div>
                                            <span class="help-block"><?php echo e($errors->first('transport_cost', ':message')); ?></span>
                                        </div>
                                    </div>
                                </div>

                            </div>


                        </div>
                    </div>
                </div>
            </div>
            <?php /*booking info*/ ?>

            <?php /*therapists*/ ?>
            <div class="portlet blue-hoki box hidden">
                <div class="portlet-title">
                    <div class="caption">
                        <i class="icon-user"></i>Therapists
                    </div>
                </div>
                <div class="portlet-body">
                    <?php foreach($obj->therapists->chunk(2) as $chunk): ?>
                        <div class="row static-info">
                            <div class="col-md-2 value">
                                Massage table amount
                            </div>
                            <?php foreach($chunk as $key => $therapist): ?>
                                <div class="col-md-5">
                                    <div class="row">
                                        <div class="col-md-12">
                                            <?php echo Form::select("therapists[]",$form['therapists'],$therapist->id,['class'=> 'form-control col-md-12']); ?>

                                        </div>
                                    </div>
                                </div>
                            <?php endforeach; ?>
                        </div>
                    <?php endforeach; ?>


                    <div class="row static-info">
                        <div class="col-md-2">

                            <div class="form-group" style="padding-left:10px;">
                                <div class="radio-list">
                                    <label class="radio-inline">
                                        <input type="radio" name="invoice_table" value="none"> Not included in invoice
                                    </label>
                                </div>
                            </div>

                        </div>
                        <?php foreach($obj->therapists as $key=>$therapist): ?>
                        <div class="col-md-5">
                            <div class="form-group" style="padding-left:10px;">
                                <div class="radio-list">
                                    <label class="radio-inline">
                                        <input type="radio" name="invoice_table" value="invoice_therapist_<?php echo e($key); ?>" <?php if($therapist->pivot->invoice_table): ?> checked <?php endif; ?>> Add to this therapist invoice
                                    </label>
                                </div>
                            </div>
                        </div>
                        <?php endforeach; ?>
                    </div>

                </div>
            </div>
            <?php /*end therapists*/ ?>

            <?php /*customer details and address*/ ?>
            <div class="row">
                <div class="col-md-12 col-sm-12">
                    <div class="portlet blue-hoki box">
                        <div class="portlet-title">
                            <?php /*<div class="caption">*/ ?>
                                        <?php /*<div class="caption">*/ ?>
                                            <?php /*<i class="icon-pointer"></i>Customer Details and Address*/ ?>
                                        <?php /*</div>*/ ?>
                                <div class="row" style="margin-top:3px;">
                                    <div class="col-md-6">
                                        <h4><i class="icon-user"></i> Customer Details</h4>
                                    </div>
                                    <div class="col-md-6">
                                        <h4><i class="icon-pointer"></i> Address</h4>
                                    </div>
                                </div>
                            <?php /*</div>*/ ?>
                        </div>
                        <div class="portlet-body">
                            <div class="row">
                                <?php /*col address*/ ?>
                                <div class="col-md-6">
                                    <div class="row static-info">
                                        <div class="col-md-12">
                                            <img src="<?php echo e($obj->user->avatar_url); ?>" class=" img-responsive" style="max-height:90px;"  alt="">
                                        </div>
                                    </div>

                                    <div class="row static-info">
                                        <div class="col-md-5 name">
                                            Customer Name:
                                        </div>
                                        <div class="col-md-7 value <?php echo e($errors->has('user_name') ? 'has-error' : ''); ?>">
                                            <?php echo Form::text('user_name',$info['user_name'],['class'=>'form-control input-sm']); ?>

                                            <span class="help-block"><?php echo e($errors->first('user_name', ':message')); ?></span>
                                        </div>
                                    </div>
                                    <div class="row static-info">
                                        <div class="col-md-5 name">
                                            Email:
                                        </div>
                                        <div class="col-md-7 value">
                                            <?php echo Form::text('email',$obj->user->email,['class'=>'form-control input-sm','readonly']); ?>

                                        </div>
                                    </div>
                                    <div class="row static-info">
                                        <div class="col-md-5 name">
                                            Phone Number:
                                        </div>
                                        <div class="col-md-7 value <?php echo e($errors->has('user_phone') ? 'has-error' : ''); ?>">
                                            <?php echo Form::text('user_phone',$info['user_phone'],['class'=>'form-control input-sm']); ?>

                                            <span class="help-block"><?php echo e($errors->first('user_phone', ':message')); ?></span>
                                        </div>
                                    </div>

                                    <div class="row static-info">
                                        <div class="col-md-5 name">
                                            Postcode:
                                        </div>
                                        <div class="col-md-7 value <?php echo e($errors->has('postcode') ? 'has-error' : ''); ?>">
                                            <?php echo Form::text('postcode',$info['postcode'],['class'=>'form-control input-sm']); ?>

                                            <span class="help-block"><?php echo e($errors->first('postcode', ':message')); ?></span>
                                        </div>
                                    </div>

                                    <div class="row static-info">
                                        <div class="col-md-5 name">
                                            Address:
                                        </div>
                                        <div class="col-md-7 value <?php echo e($errors->has('address') ? 'has-error' : ''); ?>">
                                            <?php echo Form::text('address',$info['address'],['class'=>'form-control input-sm']); ?>

                                            <span class="help-block"><?php echo e($errors->first('address', ':message')); ?></span>
                                        </div>
                                    </div>

                                    <div class="row static-info">
                                        <div class="col-md-5 name">
                                            Location:
                                        </div>
                                        <div class="col-md-7 value <?php echo e($errors->has('location') ? 'has-error' : ''); ?>">
                                            <?php echo Form::text('location',$info['location'],['class'=>'form-control input-sm']); ?>

                                            <span class="help-block"><?php echo e($errors->first('location', ':message')); ?></span>
                                        </div>
                                    </div>

                                    <div class="row static-info">
                                        <div class="col-md-5 name">
                                            County:
                                        </div>
                                        <div class="col-md-7 value <?php echo e($errors->has('county') ? 'has-error' : ''); ?>">
                                            <?php echo Form::text('county',$info['county'],['class'=>'form-control input-sm','readonly']); ?>

                                            <span class="help-block"><?php echo e($errors->first('county', ':message')); ?></span>
                                        </div>
                                    </div>

                                    <div class="row static-info">
                                        <div class="col-md-5 name">
                                            Geo Location:
                                        </div>
                                        <div class="col-md-7 value <?php echo e(($errors->has('locationGeoLat') || $errors->has('locationGeoLng')) ? 'has-error' : ''); ?>">
                                            <div class="input-group">
                                                <span class="input-group-addon">
                                                     <i class="fa fa-map-marker"></i>
                                                    Lat&nbsp;
                                                </span>
                                                <?php echo Form::text('locationGeoLat',$info['locationGeo']['lat'],['class'=>'form-control input-sm']); ?>

                                            </div>
                                            <div class="input-group">
                                                <span class="input-group-addon">
                                                    <i class="fa fa-map-marker"></i>
                                                    Lng
                                                </span>
                                                <?php echo Form::text('locationGeoLng',$info['locationGeo']['lng'],['class'=>'form-control input-sm']); ?>

                                            </div>
                                            <span class="help-block"><?php echo e($errors->first('locationGeoLat', ':message')); ?></span>
                                            <span class="help-block"><?php echo e($errors->first('locationGeoLng', ':message')); ?></span>
                                        </div>
                                    </div>
                                </div>

                                <?php /*col maps*/ ?>
                                <div class="col-md-6">
                                    <div id="map"></div>
                                </div>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <?php /*end customer details and address*/ ?>

            <?php /*internal notes*/ ?>
            <div class="portlet blue-hoki box">
                <div class="portlet-title">
                    <div class="caption">
                        <i class="icon-pencil"></i>Internal notes
                    </div>
                </div>
                <div class="portlet-body">
                    <?php echo Form::textarea('internal_notes',$obj->internal_notes,['class'=>'form-control form-input','placeholder'=>'Write your internal notes here...']); ?>

                </div>
            </div>
            <?php /*end internal notes*/ ?>
            <?php echo Form::close(); ?>

        </div>
    </div>



<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts_page_plugins'); ?>
    <script src="<?php echo e(asset('/themes/admin/assets/global/plugins/bootstrap-timepicker/js/bootstrap-timepicker.min.js')); ?>" type="text/javascript"></script>
    <script src="<?php echo e(asset('/themes/admin/assets/global/scripts/datatable.js')); ?>" type="text/javascript"></script>
    <script src="<?php echo e(asset('/themes/frontend/assets/js/gmaps.js')); ?>"></script>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts_page2'); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts_custom'); ?>
    Demo.init();
<?php $__env->stopSection(); ?>


<?php $__env->startSection('scripts_custom2'); ?>
<script>
    $(document).ready(function()
    {
        var CSRF_TOKEN = $('input[name="_token"]').val();
        $.ajaxSetup({
            headers: {
                'X-CSRF-TOKEN': CSRF_TOKEN
            }
        });

        var today = new Date("<?php echo e(date('Y-m-d')); ?>");
        $(".datepicker").datepicker({
            format: "yyyy-mm-dd",
            startDate: today,
            autoclose: true,
        }).on('changeDate',function(e){
            setDate(this.value);
        });

        //timepicker
        $('.timepicker-24').timepicker({
            autoclose: true,
            minuteStep: 5,
            showSeconds: false,
            showMeridian: false
        });

        // handle input group button click
        $('.timepicker').parent('.input-group').on('click', '.input-group-btn', function(e){
            e.preventDefault();
            $(this).parent('.input-group').find('.timepicker').timepicker('showWidget');
        });



        //booking map
        map = new GMaps({
            div: '#map',
            lat: <?php echo e($info['locationGeo']['lat']); ?>,
            lng: <?php echo e($info['locationGeo']['lng']); ?>

        });

        //booking marker
        var infoBookingWindow = new google.maps.InfoWindow({
            content: '<p>Booking location</p>'
        });
        var bookingMarket = map.addMarker({
            lat: <?php echo e($info['locationGeo']['lat']); ?>,
            lng: <?php echo e($info['locationGeo']['lng']); ?>,
            title: 'Booking location',
            label: 'A',
        });
        infoBookingWindow.open(map, bookingMarket);
    });
    function setDate(date)
    {
        $.ajax({
            url: '<?php echo e(route('admin.schedules.bookings.setdate')); ?>',
            data: {'date':date},
            method: 'post',
            dateType: 'json',
            cache:false,
        }).done(function(data){
            getHours(date);
        });
    }

    function getHours(date)
    {
        $.ajax({
            url: '<?php echo e(route('admin.schedules.bookings.getposthours')); ?>',
            data: {'date':date},
            method: 'post',
            dateType: 'json',
            cache:false,
        }).done(function(data){
            $('#newhour')
                        .find('option')
                        .remove()
                        .end();

            $.each(data, function(value,text){
                $('#newhour').append($('<option>', {value:value, text:text}));
            });
        });
    }

</script>
<script src="https://maps.googleapis.com/maps/api/js?key=<?php echo e(config('googlemaps.key')); ?>"></script>

<?php $__env->stopSection(); ?>



<?php echo $__env->make('admin.layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

ZeroDay Forums Mini