Viewing file: 3456ed376ced16c8cc0c3d2a50170fca55f332f7.php (2.84 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title','Edit Group'); ?>
<?php $__env->startSection('extra-css'); ?>
<link rel="stylesheet" href="<?php echo e(asset('plugins/select2/css/select2.min.css')); ?>">
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-12 mx-auto col-sm-10">
<!-- Custom Tabs -->
<div class="card mt-3">
<div class="card-header d-flex p-0">
<h2 class="card-title p-3"><a
href="<?php echo e(route('customer.groups.index')); ?>"><?php echo app('translator')->get('customer.groups'); ?></a></h2>
</div><!-- /.card-header -->
<div class="card-body">
<?php if(count($groupContactIds)<200): ?>
<div><h6 class="text-danger"><?php echo app('translator')->get(('customer.group_edit_nb')); ?></h6></div>
<?php else: ?>
<div><h6 class="text-danger"> <span> Can not modify previous contacts. Less than 200 contacts are editable</span></h6></div>
<?php endif; ?>
<form method="post" role="form" id="groupForm"
action="<?php echo e(route('customer.groups.update',[$group])); ?>">
<?php echo csrf_field(); ?>
<?php echo method_field('put'); ?>
<?php echo $__env->make('customer.groups.form', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<button type="submit" class="btn btn-primary"><?php echo app('translator')->get('customer.update'); ?></button>
</form>
<!-- /.tab-content -->
</div><!-- /.card-body -->
</div>
<!-- ./card -->
</div>
<!-- /.card -->
</div>
<!-- /.row -->
</section>
<!-- /.content -->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?>
<script> const edit = '<?php echo e(isset($group)?$group->id:''); ?>'; const countGroupContactIds = '<?php echo e(count($groupContactIds)); ?>';
const groupContactIds = <?php echo json_encode($groupContactIds, 15, 512) ?>; </script>
<script src="<?php echo e(asset('js/customer/group.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/groups/edit.blade.php ENDPATH**/ ?>
|