<section class="tile">

    <div class="tile-header dvd dvd-btm">
        <h1 class="custom-font text-elg">Cobranza</h1>
    </div>
    <!-- /tile header -->
    <div class="tile-body text-md">
        {!! Form::model($cobranza,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">
                    <div class="form-group">
                        {!!  Form::label('estatus', 'Estatus')   !!}
                        {!!  Form::text('estatus',  $status -> cve_st .'. '.$status -> st_desc , ['class' => 'form-control','readonly','placeholder' => 'Estatus'])  !!}
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        {!!  Form::label('Nombre', 'Nombre Completo')   !!}
                        {!!  Form::text('Nombre', null, ['id' => 'name','class' => 'form-control','readonly','placeholder' => 'Nombre'])  !!}
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="form-group">
                        {!!  Form::label('RFC', 'RFC')   !!}
                        {!!  Form::text('RFC', null, ['id' => 'rfc','class' => 'form-control','readonly','placeholder' => 'RFC'])  !!}
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-2">
                    <div class="form-group">
                        {!!  Form::label('No_empleado', 'No. Empleado')   !!}
                        {!!  Form::text('No_empleado', null, ['id' => 'no_empleado','class' => 'form-control','readonly','placeholder' => '0'])  !!}
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="form-group">
                        {!!  Form::label('refalfanum', 'Ref. Alfanumérica')   !!}
                        {!!  Form::text('refalfanum', null, ['id' => 'refalfanum','class' => 'form-control','readonly','placeholder' => '0'])  !!}
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                        {!!  Form::label('curp', 'Curp')   !!}
                        {!!  Form::text('curp', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    </div>
                </div>
            </div>
            <hr class="mr-5 ml-5 line-full"/>
            <div class="row">
                <div class="col-md-2">
                    <div class="form-group">
                        {!!  Form::label('ultimo_pag', 'Último Pago')   !!}
                        {!!  Form::text('ultimo_pag', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    </div>
                </div>
                <div class="col-md-2">
                        {!!  Form::label('Prima', 'Prima')   !!}
                        {!!  Form::text('Prima', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
                <div class="col-md-2">
                        {!!  Form::label('prima_desc', 'Prima Desc.')   !!}
                        {!!  Form::text('prima_desc', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="row">
                <div class="col-md-2">
                        {!!  Form::label('tp_mvto', 'Mvto. Pendiente')   !!}
                        {!!  Form::text('tp_mvto', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
                <div class="col-md-2">
                        {!!  Form::label('quincena_aux', 'Quincena Mvto.')   !!}
                        {!!  Form::text('quincena_aux', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
                <div class="col-md-2">
                        {!!  Form::label('quincena_aux', 'Sin Cap. de Pago')   !!}
                        {!!  Form::text('quincena_aux', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <hr class="mr-5 ml-5 line-full"/>
            <h3 class="custom-font ">Retenedor</h3>
            <div class="row">
                <div class="col-md-10">
                    <div class="form-group">
                        {!!  Form::text('Subret', $subret -> Descripcion, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-2">
                    <div class="form-group">
                        {!!  Form::label('Ret', 'Ret.')   !!}
                        {!!  Form::text('Ret', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    </div>
                </div>
                <div class="col-md-2">
                    <div class="form-group">
                        {!!  Form::label('unidad_pago', 'U.P.')   !!}
                        {!!  Form::text('unidad_pago', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    </div>
                </div>
                <div class="col-md-2">
                    <div class="form-group">
                        {!!  Form::label('Cpto', 'Cpto.')   !!}
                        {!!  Form::text('Cpto', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                        <label for="cobBuscar">Buscar Retenedor</label>
                        <input type="text" id="cobBuscar" class="form-control"  placeholder="Buscar..." readonly>
                    </div>
                </div>
            </div>
            <hr class="mr-5 ml-5 line-full"/>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        {!!  Form::label('ref_bancaria', 'Referencia para depósito bancario')   !!}
                        {!!  Form::text('ref_bancaria', null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    </div>
                </div>


            </div>
            <div class="row">
                <div class="col-md-8">
                    <div class="form-group">
                        {!!  Form::label('tp_mvto', 'Tipo Movimiento')   !!}
                        {!!  Form::text('tp_mvto', 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">Cancelación de Pólizas</h1>
        <table class="table table-hover">
            <thead>
            <tr>
                <th>Usuario</th>
                <th>Fecha Operación</th>
                <th>Motivo</th>
                <th>Fecha Inicio de Servcio</th>
            </tr>
            </thead>
            <tbody>
            @foreach($historico_cancelaciones as $key => $value)
                <tr>
                    <td>{{ $value -> usuario }}</td>
                    <td>{{ $value -> fe_oper_serv }}</td>
                    <td>{{ $value -> servicio }}</td>
                    <td>{{ $value -> fe_ini_serv }}</td>
                </tr>
            @endforeach
            </tbody>
        </table>
    </div>
</section>
