|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/account.appointkrypt.com/storage/framework/views/ |
Upload File : |
<?php $__env->startSection('page-title'); ?>
<?php echo e(__('Custom Status')); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('page-breadcrumb'); ?>
<?php echo e(__('Custom Status')); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('page-action'); ?>
<div>
<?php if (app('laratrust')->hasPermission('status create')) : ?>
<a href="#" class="btn btn-sm btn-primary" data-ajax-popup="true" data-size="md"
data-title="<?php echo e(__('Create New Status')); ?>" data-url="<?php echo e(route('custom-status.create')); ?>" data-bs-toggle="tooltip"
data-bs-original-title="<?php echo e(__('Create')); ?>">
<i class="ti ti-plus"></i>
</a>
<?php endif; // app('laratrust')->permission ?>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<div class="row">
<div class="col-lg-12 col-md-12">
<div class="card">
<div class="card-header card-body table-border-style">
<div class="table-responsive">
<table class="table mb-0 pc-dt-simple" id="pc-dt-simple">
<thead class="thead-light">
<tr>
<th>#</th>
<th><?php echo e(__('Name')); ?></th>
<th class="text-end me-3"><?php echo e(__('Action')); ?></th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $statuses; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $status): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<th scope="row"><?php echo e($status->id); ?></th>
<td><span class="white-space"><?php echo e($status->title); ?></span></td>
<td class="text-end">
<?php if (app('laratrust')->hasPermission('status update')) : ?>
<div class="action-btn bg-info ms-2">
<a href="#" class="mx-3 btn btn-sm d-inline-flex align-items-center"
data-url="<?php echo e(route('custom-status.edit', $status->id)); ?>"
class="dropdown-item" data-ajax-popup="true"
data-title="<?php echo e(__('Edit Status')); ?>" data-bs-toggle="tooltip"
data-bs-original-title="<?php echo e(__('Edit')); ?>">
<span class="text-white"> <i class="ti ti-edit"></i></span></a>
</div>
<?php endif; // app('laratrust')->permission ?>
<?php if (app('laratrust')->hasPermission('status delete')) : ?>
<div class="action-btn bg-danger ms-2">
<form method="POST" action="<?php echo e(route('custom-status.destroy',$status->id)); ?>" id="user-form-<?php echo e($status->id); ?>">
<?php echo csrf_field(); ?>
<?php echo method_field('DELETE'); ?>
<input name="_method" type="hidden" value="DELETE">
<button type="button" class="mx-3 btn btn-sm d-inline-flex align-items-center show_confirm" data-bs-toggle="tooltip"
title='Delete'>
<span class="text-white"> <i class="ti ti-trash"></i></span>
</button>
</form>
</div>
<?php endif; // app('laratrust')->permission ?>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/account.appointkrypt.com/resources/views/custom_status/index.blade.php ENDPATH**/ ?>