| Path : /var/www/html/jewelry-pos/storage/framework/views/ |
|
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
| Current File : /var/www/html/jewelry-pos/storage/framework/views/e3e17f9ce0748680c58ba39810002741.php |
<?php $__env->startSection('content'); ?>
<div class="col-lg-12">
<div class="card-body shadow-1">
<div class="row">
<div class="col-lg-12 margin-tb">
<div class="pull-right mb-2" style="text-align: right;">
<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('supplier-create')): ?>
<a class="btn btn-sm btn-primary" href="<?php echo e(route('suppliers.create')); ?>">
<i class="fal fa-plus"></i> <?php echo e(__('message.add new')); ?>
</a>
<?php endif; ?>
</div>
</div>
</div>
<div class="panel-container show">
<div class="d-flex flex-column h-100">
<div class="h-auto">
<table id="example" class="table table-bordered table-hover table-striped w-100">
<thead class="bg-fusion-400">
<tr>
<th>#</th>
<th><?php echo e(__('message.name')); ?></th>
<th><?php echo e(__('message.phone')); ?></th>
<th><?php echo e(__('message.note')); ?></th>
<th><?php echo e(__('message.created date')); ?></th>
<th><?php echo e(__('message.action')); ?></th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $suppliers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $supplier): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e($index+1); ?></td>
<td><?php echo e($supplier->name); ?></td>
<td><?php echo e($supplier->phone); ?></td>
<td><?php echo $supplier->note; ?></td>
<td>
<?php echo e($supplier->created_at->format('d/m/Y H:i')); ?>
<td>
<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('supplier-edit')): ?>
<a class="btn btn-sm btn-info" href="<?php echo e(route('suppliers.edit', $supplier->id)); ?>"><i
class="fal fa-pen" title="<?php echo e(__('message.edit')); ?>"></i></a>
<?php endif; ?>
<form method="POST" action="suppliers/<?php echo e($supplier->id); ?>" style="display:inline">
<input name="_method" type="hidden" value="DELETE">
<?php echo e(csrf_field()); ?>
<button type="submit" class="btn btn-sm btn-danger" onclick="return confirm('<?php echo e(__('message.do you want to delete')); ?>?')">
<i class="fal fa-trash" style="color: #FFF;"></i>
</button>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
<!-- datatable end -->
</div>
</div>
</div>
</div>
<div class="py-4 mt-4 mx-2 ">
<!-- Pagination bootstrap-->
<?php echo e($suppliers->appends($_GET)->links()); ?>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts'); ?>
<script>
$(document).ready(function() {
$("#js-nav-menu").removeClass('active');
$("#js-nav-menu li ul li").removeClass('active');
$("#menu_setup_list").addClass('active open');
$("#collapse_setup").addClass('collapse in')
$("#menu_supplier").addClass('active')
})
</script>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('meta'); ?>
<title><?php echo e(__('message.supplier')); ?> - <?php echo e($settings_->shop_name); ?></title>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin-main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/jewelry-pos/resources/views/suppliers/index.blade.php ENDPATH**/ ?>