KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
User : www-data ( 33)
PHP Version : 8.2.12
Disable Function : NONE
Directory :  /var/www/account.appointkrypt.com/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/account.appointkrypt.com/storage/framework/views/83a153241eb3613cd62b096301c37489.php
<?php $__env->startSection('page-title'); ?>
    <?php echo e(__('Appointments')); ?>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('page-breadcrumb'); ?>
    <?php echo e(__('Appointments')); ?>

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

<?php $__env->startSection('page-action'); ?>
    <div class="col-auto ps-3 mt-1">
        <?php if (app('laratrust')->hasPermission('appointment create')) : ?>
        <a href="#" class="btn btn-sm btn-primary" data-ajax-popup="true" data-size="md"
            data-title="<?php echo e(__('Create New Appointment')); ?>" data-url="<?php echo e(route('appointment.create')); ?>"
            data-bs-toggle="tooltip" data-bs-original-title="<?php echo e(__('Create')); ?>"><i class="ti ti-plus"></i>
        </a>
        <?php endif; // app('laratrust')->permission ?>
    </div>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('css'); ?>
    <link rel="stylesheet"
        href="<?php echo e(asset('assets/css/bootstrap-datepicker.min.css')); ?>">
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
    <div class="row">
        <div class="col-md-12">
            <div class="mt-2 " id="multiCollapseExample1">
                <div class="card">
                    <div class="card-body">
                        <?php echo e(Form::open(['route' => ['appointment.list.index'], 'method' => 'post', 'id' => 'appointment-form'])); ?>

                        <div class="row align-items-center justify-content-end">
                            <div class="col-xl-3 col-lg-3 col-md-6 col-sm-12 col-12">
                                <div class="btn-box">
                                    <?php echo Form::label('', __('Date'), ['class' => 'form-label']); ?>

                                    <?php echo Form::date('date', $date, ['class' => 'form-control', 'required' => true]); ?>

                                </div>
                            </div>
                            <div class="col-xl-3 col-lg-3 col-md-6 col-sm-12 col-12">
                                <div class="btn-box">
                                    <?php echo Form::label('', __('Service'), ['class' => 'form-label']); ?>

                                    <?php echo Form::select('service', $service, $type, ['class' => 'form-control']); ?>

                                </div>
                            </div>
                            <div class="col-auto mt-4">

                                <a href="#" class="btn btn-sm btn-primary"
                                    onclick="document.getElementById('appointment-form').submit(); return false;"
                                    data-bs-toggle="tooltip" title="<?php echo e(__('Search')); ?>">
                                    <span class="btn-inner--icon"><i class="ti ti-search"></i></span>
                                </a>
                                <a href="<?php echo e(route('appointment.index')); ?>" class="btn btn-sm btn-danger reset"
                                    data-bs-toggle="tooltip" title="<?php echo e(__('Reset')); ?>">
                                    <span class="btn-inner--icon"><i class="ti ti-trash-off text-white "></i></span>
                                </a>
                            </div>

                        </div>
                        <?php echo e(Form::close()); ?>

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

        <div class="col-lg-12 col-md-12">
            <div class="card">
                <div class="card-header card-body table-border-style">
                    <div class="table-responsive">
                        <table class="table mb-0 pc-dt-simple" id="pc-dt-simple">
                            <thead class="thead-light">
                                <tr>
                                    <th>#</th>
                                    <th><?php echo e(__('Date')); ?></th>
                                    <th><?php echo e(__('Duration')); ?></th>
                                    <th><?php echo e(__('Customer')); ?></th>
                                    <th><?php echo e(__('Staff')); ?></th>
                                    <th><?php echo e(__('Service')); ?></th>
                                    <th><?php echo e(__('Location')); ?></th>
                                    <th><?php echo e(__('Payment')); ?></th>
                                    <th><?php echo e(__('Status')); ?></th>
                                    <th class="text-end me-3"><?php echo e(__('Action')); ?></th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php $__currentLoopData = $Appointments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $Appointment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr>
                                        <th scope="row">
                                            <a href="#" class="btn btn-sm btn-secondary d-inline-flex align-items-center"
                                                data-url="<?php echo e(route('appointment.show', $Appointment->id)); ?>" data-size="lg"
                                                class="dropdown-item" data-ajax-popup="true"
                                                data-title="<?php echo e(__('Appointment Details')); ?>" data-bs-toggle="tooltip"
                                                data-bs-original-title="<?php echo e(__('Appointment Details')); ?>">
                                                <span class="text-white"><?php echo e(App\Models\Appointment::appointmentNumberFormat($Appointment->id,$Appointment->created_by,$Appointment->business_id)); ?></span>
                                            </a>
                                        </th>
                                        <td><span class="white-space"><?php echo e($Appointment->date); ?></span></td>
                                        <td><span class="white-space"><?php echo e($Appointment->time); ?></span></td>
                                        <td>
                                            <span class="white-space"><?php echo e(!empty($Appointment->CustomerData) ? $Appointment->CustomerData->name : 'Guest'); ?></span>
                                        </td>
                                        <td>
                                            <span class="white-space"><?php echo e(!empty($Appointment->StaffData) ? $Appointment->StaffData->name : '-'); ?></span>
                                        </td>
                                        <td>
                                            <span class="white-space"><?php echo e(!empty($Appointment->ServiceData) ? $Appointment->ServiceData->name : '-'); ?></span>
                                        </td>
                                        <td>
                                            <span class="white-space"><?php echo e(!empty($Appointment->LocationData) ? $Appointment->LocationData->name : '-'); ?></span>
                                        </td>
                                        <td>
                                            <span class="white-space"><?php echo e(!empty($Appointment->payment_type) ? $Appointment->payment_type : '-'); ?></span>
                                        </td>
                                        <td>
                                            <a href="#" class="btn btn-sm btn-info d-inline-flex align-items-center"
                                                data-url="<?php echo e(route('appointment.status.change', $Appointment->id)); ?>"
                                                class="dropdown-item" data-ajax-popup="true"
                                                data-title="<?php echo e(__('Update Status')); ?>" data-bs-toggle="tooltip"
                                                data-bs-original-title="<?php echo e(__('Update Status')); ?>">
                                                <span
                                                    class="white-space"><?php echo e(!empty($Appointment->StatusData) ? $Appointment->StatusData->title : 'Pending'); ?></span>
                                            </a>
                                        </td>
                                        <td class="text-end">
                                            <?php if (app('laratrust')->hasPermission('appointment edit')) : ?>
                                            <div class="action-btn bg-info ms-2">
                                                <a href="#" class="mx-3 btn btn-sm d-inline-flex align-items-center"
                                                    data-url="<?php echo e(route('appointment.edit', $Appointment->id)); ?>"
                                                    class="dropdown-item" data-ajax-popup="true"
                                                    data-title="<?php echo e(__('Edit Appointment')); ?>" data-bs-toggle="tooltip"
                                                    data-bs-original-title="<?php echo e(__('Edit')); ?>">
                                                    <span class="text-white"> <i class="ti ti-edit"></i></span></a>
                                            </div>
                                            <?php endif; // app('laratrust')->permission ?>
                                            <?php if (app('laratrust')->hasPermission('appointment delete')) : ?>
                                            <div class="action-btn bg-danger ms-2">
                                                <form method="POST"
                                                    action="<?php echo e(route('appointment.destroy', $Appointment->id)); ?>"
                                                    id="user-form-<?php echo e($Appointment->id); ?>">
                                                    <?php echo csrf_field(); ?>
                                                    <?php echo method_field('DELETE'); ?>
                                                    <input name="_method" type="hidden" value="DELETE">
                                                    <button type="button"
                                                        class="mx-3 btn btn-sm d-inline-flex align-items-center show_confirm"
                                                        data-bs-toggle="tooltip" title='Delete'>
                                                        <span class="text-white"> <i class="ti ti-trash"></i></span>
                                                    </button>
                                                </form>
                                            </div>
                                            <?php endif; // app('laratrust')->permission ?>
                                        </td>
                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>

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

<?php $__env->startPush('scripts'); ?>
<script src="<?php echo e(asset('js/jquery.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/js/bootstrap-datepicker.js')); ?>"></script>
    <script>
        "use strict";
        $(document).on('click', '.reset', function() {
            $("input[name='date']").val('');
        });
    </script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/account.appointkrypt.com/resources/views/appointment/index.blade.php ENDPATH**/ ?>

Anon7 - 2021