/home/dvjjulio/softtrash/resources/views/egreso/polizaTable.blade.php
<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">${{ 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">${{ 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">${{ 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>
            @if(count($polizas) > 0)
                @foreach($polizas as $poliza)
                    <tr >
                        <td class="text-center">{{ $poliza->cuenta }}</td>
                        <td class="text-center">{{ $poliza->subcuenta }}</td>
                        <td class="text-center">{{ $poliza->nombre }}</td>
                        <td class="text-center">{{ $poliza->referencia }}</td>
                        <td class="text-center <?php echo ($poliza->status == "No pagado") ? "text-danger" : "text-success"?>">{{ $poliza->status }}</td>
                        <td class="text-center">{{ $poliza->created_at }}</td>
                        <td class="text-center">{{ $poliza->fecha_vencimiento }}</td>
                        <td class="text-center">${{ $poliza->importe }}</td>
                        <td class="text-center">${{ $poliza->iva }}</td>
                        <td class="text-center">${{ $poliza->total }}</td>
                        <td>
                            <a data-id="{{ $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="{{ $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>
                @endforeach
            @else
                    <tr>
                        <td colspan="11" class="text-center">No registros aún</td>
                    </tr>
            @endif
            </tbody>
        </table>
    </div>
</div>