/home2/mshostin/www/storage/framework/views/ef8c4f52794bff7c6933837d775a1b0efef0b91f.php
<?php $__env->startSection('content'); ?>
<div class="row">
<div class="col-md-12">
<div class="card ">
<div class="card-header">
<div class="row">
<div class="col-8">
<h4 class="card-title">Distributor</h4>
</div>
<div class="col-4 text-right">
<a href="<?php echo e(route('reference.create')); ?>" class="btn btn-sm btn-primary">Add Reference</a>
</div>
</div>
</div>
<div class="card-body">
<?php echo $__env->make('alerts.success', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<div class="">
<table class="table tablesorter " id="">
<thead class=" text-primary">
<th>Name</th>
<th>Telephone</th>
<th>Area</th>
<th>Clients</th>
<th></th>
</thead>
<tbody>
<?php $__currentLoopData = $ref; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $refs): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e($refs->name); ?></td>
<td>
<?php echo e($refs->phone); ?>
</td>
<td><?php echo e($refs->area); ?></td>
<td><a href="<?php echo e(route('reference.show', $refs)); ?>" class="btn btn-link" data-toggle="tooltip" data-placement="bottom">clients</a></td>
<td class="td-actions text-right">
<a href="<?php echo e(route('reference.edit', $refs->id)); ?>" class="btn btn-link"
data-toggle="tooltip" data-placement="bottom" title="Edit Client">
<i class="tim-icons icon-pencil"></i>
</a>
<form action="<?php echo e(route('reference.destroy', $refs)); ?>" method="post"
class="d-inline">
<?php echo csrf_field(); ?>
<?php echo method_field('delete'); ?>
<button type="button" class="btn btn-link" data-toggle="tooltip"
data-placement="bottom" title="Delete Client"
onclick="confirm('Estás seguro que quieres eliminar a este Client? Los registros de sus compras y Transactions no serán eliminados.') ? this.parentElement.submit() : ''">
<i class="tim-icons icon-simple-remove"></i>
</button>
</form>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
</div>
<div class="card-footer py-4">
<nav class="d-flex justify-content-end" aria-label="...">
<?php echo e($ref->links()); ?>
</nav>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', ['page' => 'Reference', 'pageSlug' => 'reference', 'section' => 'reference'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/mshostin/public_html/resources/views/reference/index.blade.php ENDPATH**/ ?>