@extends('layouts.app') @section('content')

Create New Attendance : {{ $name->name }}



{!! Form::open(['url' => ['/admin/name/attendance/create', $id],'class'=>'form-vertical','id'=>'myform','files' => true]) !!}
Attendance Records
{!! Form::select('attendance_type_id',['' => 'Select Type'] + $page_data['attendance_type']->toArray() , null, ['class' => 'm-wrap span12']) !!} {!! $errors->first('attendance_type_id', '

:message

') !!}
{!! Form::text('date_out', null, ['class' => 'm-wrap span12']) !!} {!! $errors->first('date_out', '

:message

') !!}
{!! Form::text('date_in', null, ['class' => 'm-wrap span12','onChange'=>'calculate_diff()']) !!} {!! $errors->first('date_in', '

:message

') !!}
{!! Form::text('days', null, ['class' => 'm-wrap span12']) !!} {!! $errors->first('days', '

:message

') !!}
{!! Form::text('remark', null, ['class' => 'm-wrap span12']) !!} {!! $errors->first('remark', '

:message

') !!}
{!! Form::submit(isset($submitButtonText) ? $submitButtonText : 'Create', ['class' => 'btn green']) !!}
{!! Form::close() !!}
@endsection