@extends('layout.sidebar')
@section('content')
@section('title','CREAR/ACTUALIZAR FAMILIA')
{{ Form::model($family,array('id'=>'family_form','method'=>$method)) }}
@if($family->serial_fml)
Actualización Familia
@else
Nueva Familia
@endif
{{ Form::label('first_surname','Apellidos')}}
{{ Form:: text('first_surname',$family->first_surname_fml,array('id'=>'last_surname','class'=>'form-control'))}}
* Registro de Integrantes de la Familia
{{ Form::label('Nombre/ Apellido/ CI del Representante', null, array('class' => 'control-label'))}}
{{ Form::text('barcode_grd', null, array('id'=>'barcode_grd','class' => 'typeahead form-control', 'placeholder' => 'Nombre/ Apellido del Representante',"data-typeahead-target"=>"serial_grd","autocomplete"=>"off")) }}
{{ Form::label('Nombre/ Apellido/ CI del Estudiante', null, array('class' => 'control-label'))}}
{{ Form::text('barcode_std', null, array('id'=>'barcode_std','class' => 'typeahead form-control', 'placeholder' => 'Nombre/Apellido del Estudiante',"data-typeahead-target"=>"serial_std","autocomplete"=>"off")) }}
Nombre |
Apellido |
CI |
Relación |
Eliminar |
@if($guardians)
@foreach($guardians as $grd)
{{$grd->first}} |
{{$grd->last}} |
{{$grd->ci}} |
REPRESENTANTE |
|
@endforeach
@endif
@if($students)
@foreach($students as $std)
{{$std->first}} |
{{$std->last}} |
{{$std->ci}} |
ESTUDIANTE |
|
@endforeach
@endif
{{Form::submit('GUARDAR',array('class'=>'btn btn-info'))}}
{{ Form::close() }}
{{ HTML::script('js/family/create.js') }}
@stop