@extends('layouts.scaffold')
@section('title')
Create Batchattendance|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::text('attendance_date', date("d/m/Y") ,array('class' => 'datepicker','id' => 'attenDate')) }}
-
{{ Form::label('student_name', 'Student Name:') }}
{{ Form::label('attendance','Attendance',array('class' => 'atten_left')) }}
@foreach($students as $v)
-
{{ $v->fullname }}
{{ Form::checkbox('student_atten[]', $v->id, null, array('class' => 'attenchk', 'id'=>'std_'.$v->id)) }}
{{ Form::hidden('student_absent[]', $v->id, null, array('class','attenchk')) }}
@endforeach
-
{{ Form::submit('Submit', array('class' => 'btn btn-info')) }}
{{ Form::hidden('batch_id', $batch_id)}}
{{ Form::close() }}
@if ($errors->any())