@extends('template.layout')

@section('content')
    <h1 class="page-title">
        Gesti&oacute;n de Pago de Postulaci&oacute;n
    </h1>
    <div class="portlet light bordered">
        <div class="portlet-title">
            <div class="caption">Listado de Postulantes <label id="txtperiodo"></label></div>
            <div class="actions">
                <div class="btn-group tipo col-md-4">
                    <a href="{{ config('constants.URL.MATRICULA_INSCRIPCION') }}" target="_blank" class="btn btn-primary"> <i class="fa fa-plus"></i> Nuevo Postulante </a>
                </div>
            </div>
        </div>
        {!! Form::hidden('invisible_vl', null, array('id' => 'invisible_vl')) !!}
        <div class="portlet-body">
            @include('alerts.index')
            <table class="table table-striped table-bordered table-hover table-bg" id="table_gestion" style="margin-top: 2% !important;">
                <thead class="thead-default" style="text-align: center">
                <tr>
                    <th style="text-align: center">DNI</th>
                    <th style="text-align: center">Nombres</th>
                    <th style="text-align: center">Apellido Paterno</th>
                    <th style="text-align: center">Apellido Materno</th>
                    <th style="text-align: center">Fecha de Registro</th>
                    <th style="text-align: center">Postula a</th>
                    <th style="text-align: center">Modalidad de Postulante</th>
                    <th style="text-align: center">Turno</th>
                    <th style="text-align: center">Estado</th>
                    <th style="text-align: center">Pagar</th>
                </tr>
                </thead>
                <tbody style="text-align: center">
                </tbody>
            </table>

        </div>
    </div>
    <div id="postulantes_modal" class="modal fade" tabindex="-1" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
            </div>
        </div>
    </div>
@endsection

@section('scripts')
    <script>
        var urlBase = "{{ url('tesoreria/postulantes') }}";
        var urlEspec = "{{ route('especialidades.get') }}";
        var urlPostu = "{{ route('tipopostulantes.get') }}";
        var urlValidar = "{{ route('validar.get') }}";
        var urlData = "{{ route('pago.postulantes.get') }}";
        var urlRecibo = "{{ route('recibo.postulantes.post') }}";
    </script>
    <script src="{{asset('js/Tesoreria/PagoPostulacion.js')}}" type="text/javascript"></script>
@endsection