
<section class="tile">

    <div class="tile-header dvd dvd-btm">
        <h1 class="custom-font text-elg">Resumenes</h1>
    </div>
    <!-- /tile header -->
    <div class="tile-body text-md">
        <form role="form">
            <div class="row">
                <div class="col-lg-3">
                    <div class="form-group">
                        <label for="policyName">Póliza</label>
                        <input type="text" value=" {{$poliza -> POLIZA}}" class="form-control" id="policyName" placeholder="Póliza" readonly>
                    </div>
                </div>
                <div class="col-lg-3">
                    <div class="form-group">
                        <label for="policyStatus">Estatus</label>
                        <input type="text" value="{{ $status -> cve_st .'. '.$status -> st_desc }}" class="form-control" id="policyStatus" placeholder="Estatus" readonly>
                    </div>
                </div>
            </div>
        </form>

        <hr class="mr-5 ml-5 line-full"/>
        <h1 class="custom-font text-elg">Historial de Enteros (Descuentos en Nómina)</h1>

        <table class="table table-hover">
            <thead>
            <tr>
                <th>Póliza</th>
                <th>Prima</th>
                <th>RFC</th>
                <th>Total Primas</th>
                <th>Total Movimientos</th>
            </tr>
            </thead>
            <tbody>
            @foreach($enteros as $key => $value)
                <tr>
                    <td>{{ $value -> Poliza }}</td>
                    <td>{{ $value -> Prima }}</td>
                    <td>{{ $value -> RFC }}</td>
                    <td>{{ $value -> primatotal }}</td>
                    <td>{{ $value -> totalmovi }}</td>
                </tr>
            @endforeach
            </tbody>
        </table>

        <hr class="mr-5 ml-5 line-full"/>
        <h1 class="custom-font text-elg">Pagos por Cobranza Bancaria (Tarjeta de Débito o Crédito)</h1>
        <div class="tabla-responsiva">
            <table class="table table-hover">
                <thead>
                <tr>
                    <th>Póliza</th>
                    <th>Importe</th>
                    <th>Tarjeta</th>
                    <th>Total Primas</th>
                    <th>Total Movimientos</th>
                    <th>Estatus</th>
                </tr>
                </thead>
                <tbody>
                @foreach($pagos_cobranza as $key => $value)
                    <tr>
                        <td>{{ $value -> poliza }}</td>
                        <td>{{ $value -> importe }}</td>
                        <td>{{ $value -> tarjeta }}</td>
                        <td>{{ $value -> primatotal }}</td>
                        <td>{{ $value -> totalmovi }}</td>
                    </tr>
                @endforeach
                </tbody>
            </table>

        </div>



        {{--<hr class="mr-5 ml-5 line-full"/>--}}
        {{--<h1 class="custom-font text-elg">Historial de Pagos de Comisiones</h1>--}}
        {{--<div class="tabla-responsiva">--}}
        {{--<table class="table table-hover">--}}
            {{--<thead>--}}
            {{--<tr>--}}
                {{--<th>Póliza</th>--}}
                {{--<th>Prima</th>--}}
                {{--<th>Fecha Emisión</th>--}}
                {{--<th>Total Primas</th>--}}
                {{--<th>Total Movimientos</th>--}}
                {{--<th>Año</th>--}}
                {{--<th>Pagos Cons.</th>--}}
            {{--</tr>--}}
            {{--</thead>--}}
            {{--<tbody>--}}
            {{--<tr>--}}

            {{--</tr>--}}
            {{--</tbody>--}}
        {{--</table>--}}
        {{--</div>--}}


        <hr class="mr-5 ml-5 line-full"/>
        <h1 class="custom-font text-elg">Histórico de Cancelaciones</h1>

        <div class="tabla-responsiva">
            <table class="table table-hover">
                <thead>
                <tr>
                    <th>Póliza</th>
                    <th>Retenedor</th>
                    <th>Concepto</th>
                    <th>Uni. Pag.</th>
                    <th>Fecha Ini.</th>
                    <th>Servicio</th>
                </tr>
                </thead>
                <tbody>

                @foreach($historico_cancelaciones as $key => $value)
                    <tr>
                        <td>{{ $value -> poliza }}</td>
                        <td>{{ $value -> ret }}</td>
                        <td>{{ $value -> concepto }}</td>
                        <td>{{ $value -> uni_pag }}</td>
                        <td>{{ $value -> fe_ini_serv }}</td>
                        <td>{{ $value -> servicio }}</td>
                    </tr>
                    @endforeach

                </tbody>
            </table>


        </div>




    </div>
</section>




