@extends('layouts.master') @section('css') {!! Html::style('css/jquery_ui.css')!!} {!! Html::style('css/datepicker.css')!!} @stop @section('content')

Espere un momento..

@if(Session::has('message_error'))
{!! Session::get('message_error') !!}
@endif @if(Session::has('message_success'))
{!! Session::get('message_success') !!}
@endif
Por favor indique los datos de la transacción realizada
{!!Form::open(array('url' => 'administrativo/guardarpagoe', 'method' => 'POST', 'enctype'=>'multipart/form-data'))!!}{!! csrf_field() !!}
Cédula: {!! $cedula !!}
Estudiante: {!! Estudiante::find($cedula)->nombres !!} {!! Estudiante::find($cedula)->apellidos !!}
{!! Form::text('fecha', NULL, $attributes = array('class' => 'form-control', 'id'=>'fecha1', 'placeholder'=>'Seleccione fecha', 'readonly'=>'readonly', 'required'=>'required')) !!}
{!! Form::select('tipo_factura', $tipo_factura ,'NULL', $attributes =array('class' => 'form-control', 'id'=>'tipo_factura', 'required'=>'required')) !!}
@if($errors->has('tipo de factura')) {!! $errors->first('tipo de factura') !!} @else {!! " " !!} @endif
{!!Form::text('documento',$cedula,array('id' => 'documento', 'class' => 'form-control','maxlength' => '50'))!!}
@if($errors->has('documento')) {!! $errors->first('documento') !!} @else {!! " " !!} @endif
{!!Form::text('cliente',Estudiante::find($cedula)->nombres.' '.Estudiante::find($cedula)->apellidos,array('id' => 'cliente', 'class' => 'form-control','maxlength' => '50'))!!}
@if($errors->has('cliente')) {!! $errors->first('cliente') !!} @else {!! " " !!} @endif
{!!Form::text('direccion',Estudiante::find($cedula)->direccion_res,array('id' => 'direccion', 'class' => 'form-control','maxlength' => '50'))!!}
@if($errors->has('direccion')) {!! $errors->first('direccion') !!} @else {!! " " !!} @endif
{!!Form::text('recibo',DB::table('pagos')->max('recibo')+1,array('id' => 'recibo', 'class' => 'form-control','maxlength' => '50'))!!}
@if($errors->has('recibo')) {!! $errors->first('recibo') !!} @else {!! " " !!} @endif
{!!Form::text('referencia',NULL,array('id' => 'referencia', 'class' => 'form-control','maxlength' => '50'))!!}
@if($errors->has('referencia')) {!! $errors->first('referencia') !!} @else {!! " " !!} @endif
{!! Form::select('banco_destino', $banco_destino ,'NULL', $attributes =array('class' => 'form-control', 'id'=>'banco_destino', 'required'=>'required')) !!}
@if($errors->has('banco de destino')) {!! $errors->first('banco de destino') !!} @else {!! " " !!} @endif
@if($errors->has('igtf')) {!! $errors->first('igtf') !!} @else {!! " " !!} @endif
{!! Form::hidden('estudiante_id',$cedula,array('id' => 'cedula')) !!} {!!Form::close()!!}
{!!Form::select('concepto',$conceptos,NULL,array('id' => 'concepto', 'class' => 'form-control','maxlength' => '50','required'=>'required'))!!}
@if($errors->has('concepto')) {!! $errors->first('concepto') !!} @else {!! " " !!} @endif
{!!Form::text('descripcion',NULL,array('id' => 'descripcion', 'class' => 'form-control','maxlength' => '50'))!!}
@if($errors->has('descripcion')) {!! $errors->first('descripcion') !!} @else {!! " " !!} @endif
Conceptos Agregados
{!! $tabla !!}
@stop @section('postscript') {!! Html::script('js/jquery_ui.js') !!} {!! Html::script('js/datepicker/bootstrap-datepicker.js') !!} {!! Html::script('js/datepicker/locales/bootstrap-datepicker.es.js') !!} {!! Html::script('js/solonumeros.js') !!} @stop