Viewing file: 9d8f7377876ecf7dc4e356d3fa0667d8e506b6a6.php (3.01 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title',trans('layout.restaurant_owner_create')); ?>
<?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.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>
<?php if(auth()->user()->type =='admin'): ?>
<li class="breadcrumb-item"><a href="<?php echo e(route('customers.index')); ?>"><?php echo e(trans('layout.customer')); ?></a></li>
<?php else: ?>
<li class="breadcrumb-item"><a href="<?php echo e(route('customers.index')); ?>"><?php echo e(trans('layout.staff')); ?></a></li>
<?php endif; ?>
<li class="breadcrumb-item active"><a href="javascript:void(0)"><?php echo e(trans('layout.create')); ?></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.create')); ?></h4>
</div>
<div class="card-body">
<form action="<?php echo e(route('customers.store')); ?>" method="post" id="step-form-horizontal"
class="step-form-horizontal" enctype="multipart/form-data">
<?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 btn-sm" 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/qr.picotech.app/public_html/resources/views/customer/create.blade.php ENDPATH**/ ?>
|