@extends('layouts.scaffold')
@section('title')
Add Batch Attendance|Golars Networks
@stop
@section('main')
{{ Form::open(array('route' => 'batchattendances.store','id' => 'batchAtten')) }}
-
{{ Form::label('faculty_id','Faculty Name: ') }}
{{ Form::select('faculty_id',$fname)}}
-
{{ Form::label('attendance_date', 'Attendance date: *') }}
{{ Form::select('attendance_date', $cdate,null,array('id' =>'attendateid')) }}
-
{{ Form::label('student_name', 'Student Name:',array('class' => 'std_nm')) }}
{{ Form::label('attendance','Present',array('class' => 'atten_left label-chang')) }}
{{ Form::label('attendance','Absent',array('class' => 'atten_left label-chang')) }}
{{ Form::label('attendance','Not Available',array('class' => 'atten_left')) }}
@foreach($students as $v)
-
{{ $v->fullname }}
{{ Form::radio('student_atten['.$v->id.']', 'present', null, array('class' => 'attenchk', 'id'=>'std_'.$v->id)) }}
{{ Form::radio('student_atten['.$v->id.']', 'absent', null, array('class' => 'attenchk', 'id'=>'std_'.$v->id)) }}
{{ Form::radio('student_atten['.$v->id.']', 'notavailable', null, array('class' => 'attenchk lastRadio', 'id'=>'std_'.$v->id, 'checked'=>'checked')) }}
{{ Form::hidden('batchNmae', $batchName) }}
@endforeach
-
@if ($addp == '1')
{{ Form::submit('Submit', array('class' => 'btn btn-info')) }}
@endif
Cancel
{{ Form::hidden('batch_id', $batch_id)}}
{{ Form::hidden('batchName', $batchName,array('id' => 'abname'))}}
{{ Form::close() }}
@if ($errors->any())