KOKINIO - MANAGER
Edit File: 4047f214c2677a3c24ff7e0200f577a5
<style type="text/css"> .filterable { margin-top: 15px; } .filterable .panel-heading .pull-right { margin-top: -20px; } .filterable .filters input[disabled] { background-color: transparent; border: none; cursor: auto; box-shadow: none; padding: 0; height: auto; } .filterable .filters input[disabled]::-webkit-input-placeholder { color: #333; } .filterable .filters input[disabled]::-moz-placeholder { color: #333; } .filterable .filters input[disabled]:-ms-input-placeholder { color: #333; } </style> <div class="block"> <div class="block-title"> <h2><strong>Polizas</strong> </h2> <div class="block-options pull-right"> <span class="btn btn-alt btn-sm btn-default toggle-bordered enable-tooltip" title="" data-original-title="">Total No Pagado: <span class="text-danger">$<?php echo e(number_format($total_np, 2)); ?></span></span> <span class="btn btn-alt btn-sm btn-default toggle-bordered enable-tooltip" title="" data-original-title="">Total Pagado: <span class="text-success">$<?php echo e(number_format($total_p, 2)); ?></span></span> <span class="btn btn-alt btn-sm btn-default toggle-bordered enable-tooltip" title="" data-original-title="">Total: <span class="text-primary">$<?php echo e(number_format($total, 2)); ?></span></span> </div> </div> <div class="panel filterable block full table-responsive"> <div class="pull-right"> <button onclick="Poliza.tableFilter(this)" id="filter" class="btn btn-default btn-xs btn-filter"><span class="glyphicon glyphicon-filter"></span> Filter</button> </div> <table class="table table-hover"> <thead> <tr class="filters"> <th class="text-center"><input type="text" class="form-control text-center" placeholder="Cuenta" disabled></th> <th class="text-center"><input type="text" class="form-control text-center" placeholder="Subcuenta" disabled></th> <th class="text-center"><input type="text" class="form-control text-center" placeholder="Nombre" disabled></th> <th class="text-center"><input type="text" class="form-control text-center" placeholder="Referencia" disabled></th> <th class="text-center"><input type="text" class="form-control text-center" placeholder="Estado" disabled></th> <th class="text-center"><input type="text" class="form-control text-center" placeholder="Fecha Creada" disabled></th> <th class="text-center"><input type="text" class="form-control text-center" placeholder="Fecha Vencimiento" disabled></th> <th class="text-center"><input type="text" class="form-control text-center" placeholder="Importe" disabled></th> <th class="text-center"><input type="text" class="form-control text-center" placeholder="Iva" disabled></th> <th class="text-center"><input type="text" class="form-control text-center" placeholder="Total" disabled></th> <th class="">Editar</th> <th class="">Eliminar</th> </tr> </thead> <tbody> <?php if(count($polizas) > 0): ?> <?php foreach($polizas as $poliza): ?> <tr > <td class="text-center"><?php echo e($poliza->cuenta); ?></td> <td class="text-center"><?php echo e($poliza->subcuenta); ?></td> <td class="text-center"><?php echo e($poliza->nombre); ?></td> <td class="text-center"><?php echo e($poliza->referencia); ?></td> <td class="text-center <?php echo ($poliza->status == "No pagado") ? "text-danger" : "text-success"?>"><?php echo e($poliza->status); ?></td> <td class="text-center"><?php echo e($poliza->created_at); ?></td> <td class="text-center"><?php echo e($poliza->fecha_vencimiento); ?></td> <td class="text-center">$<?php echo e($poliza->importe); ?></td> <td class="text-center">$<?php echo e($poliza->iva); ?></td> <td class="text-center">$<?php echo e($poliza->total); ?></td> <td> <a data-id="<?php echo e($poliza->id); ?>" onclick="Poliza.edit(this)" data-toggle="tooltip" title="" class="btn btn-default" data-original-title="Editar"><i class="fa fa-pencil"></i></a> </td> <td> <a data-id="<?php echo e($poliza->id); ?>" onclick="Poliza.delete(this)" data-toggle="tooltip" title="" class="btn btn-default" data-original-title="Ver"><i class="fa fa-trash-o"></i></a> </td> </tr> <?php endforeach; ?> <?php else: ?> <tr> <td colspan="11" class="text-center">No registros aún</td> </tr> <?php endif; ?> </tbody> </table> </div> </div>