Viewing file: 4e8838983db3e6086bf92053f69c4645f9957cd7.php (2.84 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title',trans('layout.edit_restaurant_owner')); ?>
<?php $__env->startSection('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.restaurant_owner')); ?></h4> <p class="mb-0"><?php echo e(trans('layout.restaurant_owner')); ?></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('customers.index')); ?>"><?php echo e(trans('layout.customer')); ?></a></li> <li class="breadcrumb-item active"><a href="javascript:void(0)"><?php echo e(trans('layout.edit')); ?></a></li> </ol> </div> </div> <!-- row --> <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.edit')); ?></h4> </div> <div class="card-body"> <form action="<?php echo e(route('customers.update',[$customer])); ?>" method="post" id="step-form-horizontal" class="step-form-horizontal" enctype="multipart/form-data"> <input type="hidden" name="id" value="<?php echo e($customer->id); ?>"> <?php echo method_field('put'); ?> <?php echo $__env->make('customer.form', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <div class="pull-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> const address = $('#billing_street_address').val(); const post_code = $('#billing_post_code').val(); const town = $('#billing_town').val(); console.log(address); if (address != '' || post_code != '' || town != ''){ $('#alternativeLabel').trigger('click'); } </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/multirest.picotech.app/public_html/resources/views/customer/edit.blade.php ENDPATH**/ ?>
|