Viewing file: 05c62358b0a9b78ac3d407476d38142309dea4bf.php (6.57 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title', trans('layout.reservation')); ?>
<?php $__env->startSection('css'); ?> <link rel="stylesheet" href="https://code.jquery.com/ui/1.13.2/themes/base/jquery-ui.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-select@1.14.0-beta3/dist/css/bootstrap-select.min.css"> <?php $__env->stopSection(); ?>
<?php $__env->startSection('main-content'); ?> <div class="row page-titles mx-0"> <div class="col-sm-6 p-md-0"> <div class="welcome-text"> <h4><?php echo e(trans('layout.reservation')); ?></h4> <p class="mb-0"><?php echo e(trans('layout.reservation_create')); ?></p> </div> </div> <div class="col-sm-6 p-md-0 justify-content-sm-end mt-2 mt-sm-0 d-flex"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="javascript:void(0)"><?php echo e(trans('layout.home')); ?></a></li> <li class="breadcrumb-item"><a href="<?php echo e(route('check.reservation')); ?>"><?php echo e(trans('layout.reservation')); ?></a></li> <li class="breadcrumb-item active"><a href="javascript:void(0)"><?php echo e(trans('layout.create')); ?></a></li> </ol> </div> </div>
<div class="row"> <div class="col-xl-12 col-xxl-12"> <div class="card"> <div class="card-header"> <h4 class="card-title"><?php echo e(trans('layout.create')); ?></h4> </div> <div class="card-body"> <form action="<?php echo e(route('reservation.store')); ?>" method="POST" id="step-form-horizontal" class="step-form-horizontal" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <section> <div class="row"> <div class="col-lg-12 mb-3"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.restaurant')); ?>*</label> <select name="restaurant_id" class="form-control" required> <?php $__currentLoopData = $restaurants; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $restaurant): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($restaurant->id); ?>" <?php echo e(old('restaurant_id', $reservation->restaurant_id ?? '') == $restaurant->id ? 'selected' : ''); ?>> <?php echo e($restaurant->name); ?>
</option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div>
<div class="col-lg-12 mb-3"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.date')); ?>*</label> <input value="<?php echo e(old('date', $reservation->date ?? '')); ?>" type="text" id="checkin-datepicker" name="date" class="form-control" autocomplete="off" required> </div> </div>
<div class="col-lg-12 mb-3"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.party_size')); ?>*</label> <input value="<?php echo e(old('party_size', $reservation->party_size ?? '')); ?>" type="number" name="party_size" class="form-control" required> </div> </div>
<div class="col-lg-12 mb-3"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.contact_number')); ?>*</label> <input value="<?php echo e(old('contact_number', $reservation->contact_number ?? '')); ?>" type="number" name="contact_number" class="form-control" required> </div> </div> </div> </section>
<div class="text-right"> <button class="btn btn-primary" type="submit"><?php echo e(trans('layout.submit')); ?></button> </div> </form> </div> </div> </div> </div> <?php $__env->stopSection(); ?>
<?php $__env->startSection('js'); ?> <script src="https://code.jquery.com/jquery-3.6.4.min.js"></script> <script src="https://code.jquery.com/ui/1.13.2/jquery-ui.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap-select@1.14.0-beta3/dist/js/bootstrap-select.min.js"></script>
<script> $(document).ready(function () {
$("#checkin-datepicker").datepicker({ dateFormat: "D, M d yy", minDate: 0 });
$('.selectpicker').selectpicker(); }); </script> <?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.dashboard', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/qr.picotech.app/public_html/resources/views/reservation/create.blade.php ENDPATH**/ ?>
|