|
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(__('Business')); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('page-breadcrumb'); ?>
<?php echo e(__('Business')); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('page-action'); ?>
<?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 = $businesses; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $business): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<th scope="row"><?php echo e(++$index); ?></th>
<td><span class="white-space"><?php echo e($business->name); ?></span></td>
<td class="text-end">
<?php if (app('laratrust')->hasPermission('business update')) : ?>
<div class="action-btn bg-info ms-2">
<a href="<?php echo e(route('business.manage', $business->id)); ?>" class="mx-3 btn btn-sm d-inline-flex align-items-center" data-bs-toggle="tooltip" title='manage Business'> <span class="text-white"> <i class="ti ti-corner-up-left"></i></span></a>
</div>
<?php endif; // app('laratrust')->permission ?>
<?php if (app('laratrust')->hasPermission('business delete')) : ?>
<div class="action-btn bg-danger ms-2">
<form method="POST" action="<?php echo e(route('business.destroy',$business->id)); ?>" id="user-form-<?php echo e($business->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/business/index.blade.php ENDPATH**/ ?>