⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
public_html
/
storage
/
framework
/
views
/
View File Name :
a871c29d5f8f6f01d5d83727ba23b36288f91322.php
<?php $__env->startSection('content'); ?> <div class="page-header"> <h4 class="page-title"> <?php echo e($keywords['Appointment_Settings'] ?? __('Appointment Settings')); ?> <ul class="breadcrumbs"> <li class="nav-home"> <a href="<?php echo e(route('user-dashboard')); ?>"> <i class="flaticon-home"></i> </a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="<?php echo e(route('user.appointment.timeslot', ['language' => request('language')])); ?>"> <?php echo e($keywords['Time_Slot_Management'] ?? __('Time Slot Management')); ?></a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="<?php echo e(route('user.appointment.timeslot', ['language' => request('language')])); ?>"> <?php echo e($keywords['Days'] ?? __('Days')); ?> </a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"> <?php echo e(request('day')); ?> </a> </li> </ul> </div> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <h3 class="text-capitalize float-left"><?php echo e($keywords['Time_Slots'] ?? __('Time Slots')); ?> (<?php echo e(request()->input('day')); ?>)</h3> <a href="<?php echo e(route('user.appointment.timeslot')); ?>" class="btn btn-info btn-sm float-right"><?php echo e($keywords['Back'] ?? __('Back')); ?></a> <button class="btn btn-primary addTF float-right btn-sm mr-1 " data-day="monday"><?php echo e($keywords['Add'] ?? __('Add')); ?></button> </div> <div class="card-body"> <div class="row"> <div class="col-lg-12"> <?php if(count($timeslots) == 0): ?> <h3 class="text-center"> <?php echo e($keywords['NO_TIMESLOTS_AVAILABLE'] ?? __('NO TIMESLOTS AVAILABLE')); ?></h3> <?php else: ?> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th scope="col"><?php echo e($keywords['Start_Time'] ?? __('Start Time')); ?></th> <th scope="col"><?php echo e($keywords['End_Time'] ?? __('End Time')); ?></th> <th scope="col"><?php echo e($keywords['Max_Booking'] ?? __('Max Booking')); ?> </th> <th scope="col"><?php echo e($keywords['Actions'] ?? __('Actions')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $timeslots; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tf): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($tf->start); ?></td> <td><?php echo e($tf->end); ?></td> <td><?php echo e($tf->max_booking); ?></td> <td> <button class="btn btn-warning btn-sm editbtn" data-toggle="modal" data-target="#editModal" data-start="<?php echo e($tf->start); ?>" data-end="<?php echo e($tf->end); ?>" data-max_booking="<?php echo e($tf->max_booking); ?>" data-id="<?php echo e($tf->id); ?>"><?php echo e($keywords['Edit'] ?? __('Edit')); ?></button> <form class="deleteform d-inline-block" action="<?php echo e(route('user.timeslot.delete')); ?>" method="post"> <?php echo csrf_field(); ?> <input type="hidden" name="timeslot_id" value="<?php echo e($tf->id); ?>"> <button type="submit" class="btn btn-danger btn-sm deletebtn"> <span class="btn-label"> <i class="fas fa-trash"></i> </span> <?php echo e($keywords['Delete'] ?? __('Delete')); ?> </button> </form> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <?php endif; ?> </div> </div> </div> </div> </div> </div> <?php if ($__env->exists('user.appointment.modals.timeslot_create')) echo $__env->make('user.appointment.modals.timeslot_create', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php if ($__env->exists('user.appointment.modals.timeslot_edit')) echo $__env->make('user.appointment.modals.timeslot_edit', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <script> $(document).ready(function() { $(".addTF").on('click', function(e) { e.preventDefault(); $("#createModal").modal('show'); $("input[name='day']").val($(this).data('day')); }) }); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('user.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/id/public_html/resources/views/user/appointment/timeslot_management.blade.php ENDPATH**/ ?>