


<section class="tile">
    <!-- tile body -->
    <div class="tile-header dvd dvd-btm">
        <h1 class="custom-font text-elg">Póliza</h1>
    </div>
    <!-- /tile header -->
    <div class="tile-body text-md">
        {!! Form::model($poliza,array('url' => 'foo/bar')) !!}
            <div class="row">
                <div class="col-lg-3">
                    <div class="form-group">
                        {!! Form::label('POLIZA', 'Póliza') !!}
                        {!! Form::text('POLIZA', null, ['class' => 'form-control','readonly','placeholder' => 'Póliza']) !!}
                    </div>
                </div>
                <div class="col-lg-3">
                        {!!  Form::label('ESTATUS', 'Estatus')   !!}
                        {!!  Form::text('ESTATUS',$status -> cve_st .'. '.$status -> st_desc, ['class' => 'form-control','readonly','placeholder' => 'Estatus'])  !!}
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        {!!  Form::label('NOMBRE', 'Nombre Completo')   !!}
                        {!!  Form::text('NOMBRE', null, ['class' => 'form-control','readonly','placeholder' => 'Nombre'])  !!}
                    </div>
                </div>
                <div class="col-md-4">
                        {!!  Form::label('RFC', 'RFC')   !!}
                        {!!  Form::text('RFC', null, ['class' => 'form-control','readonly','placeholder' => 'RFC'])  !!}
                </div>
            </div>
            <div class="row">
                <div class="col-md-4">
                    <div class="form-group">
                        {!!  Form::label('RET', 'Retenedor')   !!}
                        {!!  Form::text('RET', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="form-group">
                        {!!  Form::label('FECHA_ULT_CARGA', 'Última carga de cartera')   !!}
                        {!!  Form::date('FECHA_ULT_CARGA', $ultima_carga -> fecha, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="form-group">
                        {!!  Form::label('FECHA_EMI_0', 'Fecha Emisión')   !!}
                        {!!  Form::date('FECHA_EMI_0', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-3">
                    <div class="form-group">
                        {!!  Form::label('PRIMA_COBRO', 'Prima Emitida')   !!}
                        {!!  Form::text('PRIMA_COBRO', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="form-group">
                        {!!  Form::label('PRIMA_Q', 'Prima Quincenal')   !!}
                        {!!  Form::text('PRIMA_Q', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="form-group">
                        {!!  Form::label('FORMA_PAGO', 'Forma Pago')   !!}
                        {!!  Form::text('FORMA_PAGO', $forma_pago, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    </div>
                </div>
                <div class="col-md-1">
                    <div class="form-group">
                        {!!  Form::label('CASTIGADA', 'Castigada')   !!}
                        {!!  Form::text('CASTIGADA', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    </div>
                </div>
            </div>
            <hr class="mr-5 ml-5 line-full"/>
            <h1 class="custom-font text-elg">Datos Financieros</h1>
            <div class="row">
                <div class="col-md-4">
                    <div class="form-group">
                        {!!  Form::label('PRIMAS_PAG', 'Monto Prima Pagada')   !!}
                        {!!  Form::text('PRIMAS_PAG', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">

                        {!!  Form::label('RESERVIA', 'Monto Reserva')   !!}
                           <div class="input-group">
                            {!!  Form::text('RESERVA', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                               <span class="input-group-addon">{{$poliza -> SIGNO_RESERVA}}</span>
                           </div>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                        {!!  Form::label('FONDO_INV', 'Monto Fondo de Inv.')   !!}
                        <div class="input-group">
                            {!!  Form::text('FONDO_INV', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                            <span class="input-group-addon">{{$poliza -> SIGNO_FONDOI}}</span>
                        </div>


                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-4">
                    <div class="form-group">
                        {!!  Form::label('PRIMAS_PEND', 'Prima Pendiente')   !!}
                        {!!  Form::text('PRIMAS_PEND', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                        {!!  Form::label('RECIBOS_PEND', 'Recibos Pendientes')   !!}
                        {!!  Form::text('RECIBOS_PEND', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                        {!!  Form::label('FECHA_ULT_APL', 'Último Pago')   !!}
                        {!!  Form::text('FECHA_ULT_APL', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    </div>
                </div>
            </div>
        {!! Form::close() !!}

        <hr class="mr-5 ml-5 line-full"/>
            <h1 class="custom-font text-elg">Coberturas Existentes en la Póliza</h1>
            <table class="table table-hover">
                <thead>
                <tr>
                    <th>Cobertura</th>
                    <th>Prima</th>
                    <th>Prima Extra</th>
                    <th>Suma Asegurada</th>
                    <th>Tipo Paq.</th>

                </tr>
                </thead>
                <tbody>

                @foreach($coberturas as $key => $value)
                    <tr>
                        <td>{{ $value-> COB}}</td>
                        <td>{{ $value-> PRIMA }}</td>
                        <td>{{ $value-> PRIMA_EXT }}</td>
                        <td>{{ $value-> SA }}</td>
                        <td>{{ $value-> TIPO_PAQ }}</td>
                    </tr>
                @endforeach
                </tbody>
            </table>



    </div>
</section>



