Viewing file: 3adb685c5de86b98bb6f7fedfb7beb1676e31d92.php (7.63 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title','Settings'); ?>
<?php $__env->startSection('extra-css'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<section class="content-header">
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-12 mx-auto col-sm-10">
<!-- Custom Tabs -->
<div class="card">
<div class="card-header d-flex p-0 row">
<h2 class="card-title p-3 col-sm-12 col-12 col-md-9 col-xl-9"><a href="<?php echo e(route('customer.settings.index')); ?>"><?php echo e(trans('customer.settings')); ?></a></h2>
<ul class="nav nav-pills ml-auto p-2 col-12 col-sm-12 col-md-3 col-xl-3">
<li class="nav-item"><a class="nav-link active" href="#profile_tab" data-toggle="tab"><?php echo e(trans('customer.profile')); ?></a>
</li>
<li class="nav-item"><a class="nav-link" href="#password_tab" data-toggle="tab"><?php echo e(trans('customer.password')); ?></a>
</li>
</ul>
</div><!-- /.card-header -->
<div class="card-body">
<div class="tab-content">
<div class="tab-pane active" id="profile_tab">
<form method="post" role="form" id="profile_form"
action="<?php echo e(route('customer.settings.profile_update')); ?>" enctype="multipart/form-data">
<?php echo csrf_field(); ?>
<?php echo $__env->make('customer.settings.profile_form', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<button type="submit" class="btn btn-primary"><?php echo e(trans('customer.submit')); ?></button>
</form>
</div>
<div class="tab-pane" id="password_tab">
<form method="post" role="form" id="password_form"
action="<?php echo e(route('customer.settings.password_update')); ?>">
<?php echo csrf_field(); ?>
<?php echo $__env->make('customer.settings.password_form', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<button type="submit" class="btn btn-primary"><?php echo e(trans('customer.submit')); ?></button>
</form>
</div>
<div class="tab-pane" id="email_template_tab">
<form method="post" role="form" id="email_template"
action="<?php echo e(route('customer.settings.password_update')); ?>">
<?php echo csrf_field(); ?>
<?php echo $__env->make('customer.settings.email_template', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</form>
</div>
</div>
<!-- /.tab-content -->
</div><!-- /.card-body -->
</div>
<!-- ./card -->
</div>
<!-- /.card -->
</div>
<!-- /.row -->
</section>
<!-- /.content -->
<div class="modal fade" id="emailTemplateModal">
<div class="modal-dialog">
<form action="<?php echo e(route('customer.email.template')); ?>" method="post" id="templateForm">
<?php echo csrf_field(); ?>
<input type="hidden" id="template_id" name="id">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="title"></h4>
<button type="button" class="close" style="outline: white !important;" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="form-group">
<label for=""><?php echo e(trans('customer.subject')); ?></label>
<input id="template_subject" value="<?php echo e(old('subject')?old('subject'):''); ?>" type="text" class="form-control" name="subject">
</div>
<div class="form-group">
<label for=""><?php echo e(trans('customer.status')); ?></label>
<select id="template_status" name="status" class="form-control">
<option <?php echo e(old('status') && old('status')=='active'?'selected':''); ?> value="active"><?php echo e(trans('customer.active')); ?></option>
<option <?php echo e(old('status') && old('status')=='inactive'?'selected':''); ?> value="inactive"><?php echo e(trans('customer.inactive')); ?></option>
</select>
</div>
<div class="form-group">
<label for=""><?php echo e(trans('customer.template_body')); ?></label>
<textarea id="template_body" name="body" autofocus class="form-control" cols="5" rows="5"><?php echo e(old('body')?old('body'):''); ?></textarea>
<small class="float-right" id="count"></small>
</div>
<div class="form-group">
<?php $__currentLoopData = email_template_variables(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$t): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<button type="button" data-name="<?php echo e($key); ?>" class="btn btn-sm btn-primary add_tool mt-2"><?php echo e(ucfirst(str_replace('_',' ',$t))); ?></button>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
<div class="modal-footer justify-content-between">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="submit" class="btn btn-primary">Save changes</button>
</div>
</div>
</form>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?>
<script src="<?php echo e(asset('plugins/bs-custom-file-input/bs-custom-file-input.js')); ?>"></script>
<script>
let $validate;
</script>
<script src="<?php echo e(asset('js/customer/settings.js')); ?>"></script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.customer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/pcolfjqt/mail.picotech.app/resources/views/customer/settings/index.blade.php ENDPATH**/ ?>
|