EVOLUTION-MANAGER
Edit File: e694f179408c22a44ce1d6ad88ddb133b13fd628.php
<?php $__env->startSection('titulo'); ?> Tipos de Artículos <?php $__env->stopSection(); ?> <?php $__env->startSection('contenido'); ?> <?php echo $__env->make('alerts.success', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?> <?php echo $__env->make('alerts.errors', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?> <?php if(count($tipos)): ?> <a class="btn btn-primary" href="<?php echo e(URL::route('tipoarticulos.create')); ?>">Nuevo</a> <div class="table-responsive"> <table id="tbbuzon1" class="table table-striped table-bordered table-hover display" > <thead> <tr> <th>ID:</th> <th>TIPO:</th> <th width="10%">Opciones</th> </tr> </thead> <tbody> <?php $__currentLoopData = $tipos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tipo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($tipo->id); ?></td> <td><?php echo e($tipo->tipo); ?></td> <td style="display: inline-flex; float: right;"> <?php echo Form::open(array('method' => 'GET', 'route' => array('tipoarticulos.edit', $tipo->id))); ?> <button type="submit" class="btn btn-success bnt-lg" data-toggle="tooltip" title="Editar"> <i class="fa fa-pencil-square-o"></i></button> <?php echo Form::close(); ?> <button type="submit" class="btn btn-danger bnt-lg" onclick="SeguroEliminar(<?php echo e($tipo->id); ?>)" data-toggle="tooltip" title="Eliminar"><i class="fa fa-trash"></i></button> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <?php else: ?> Aún no hay tipos de usuarios en el sistema <?php endif; ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('script'); ?> <script> $(document).ready(function(){ $(".inline").colorbox(); // $(".add_usser").colorbox(); }); $(function () { $('[data-toggle="tooltip"]').tooltip('show') }) function SeguroEliminar(id) { $.colorbox({width:"auto",height:"auto", open:true, href:"seguro_eliminar/tipoarticulos/"+id}); } </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.backend', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>