@extends('layouts.main') @section('title','Upload student Details') @section('content')
@if($message = Session::get('success'))
Success! {{ $message }}
@elseif($message = Session::get('error'))
Error!{{ $message }}
@endif
Show
Entries
Search student {!! Form::hidden('from',$from,array('id'=>'js-from-date'))!!} {!! Form::hidden('to',$to,array('id'=>'js-to-date'))!!} {!! Form::text('search','',array('class'=>'form-control','placeholder'=>'Search','id'=>'js-college-search-field'))!!}
Please wait, Loading...
@forelse($studentdata as $value)
{{empty($value->fullname) ? "--" : ucwords($value->fullname)}}
{{$value->email_address ?? "--"}} {{$value->mobile_number ?? "--"}}
@if($value->existrecord !=0 || !empty($value->getMobileNumber)) @else @endif {{--@if($value->existrecord !=0 || !empty($value->getMobileNumber)) @else @endif--}} @if($value->existrecord !=0 || !empty($value->getMobileNumber)) @else @endif
@empty
No Records Found
@endforelse
@if($studentdata->hasMorePages())
@endif

Steps to upload students details

  1. Download the Excel template
  2. Update the Excel sheet with student details
  3. Upload the updated Excel sheet
Browse your updated Excel file and upload {!! Form::open(array('url' => url('college/upload-student-details'), 'class'=>'form-horizontal','files' => true,'encytype'=>'multipart/form-data', 'method'=>'post','id'=>'js-student-bulk-upload')) !!}
{!! Form::button('', ['type' => 'submit', 'class' => 'input-group-addon input-group-addon','id'=>'_submit'] ) !!}
@if ($errors->has('upload_file')) {!! $errors->first('upload_file') !!} @endif {!! Form::close()!!}
{!! Form::open(array('url' => url('student/update'), 'class'=>'form-horizontal', 'method'=>'post','id'=>'js-edit-student-update')) !!} {!!Form::hidden('student_id','',array('id'=>'js-student-id')) !!}

Edit Student

{{Form::text('fullname','',array('class'=>'form-control','id'=>'js-full-name','maxlength'=>'100'))}}
{{Form::email('email_address','',array('class'=>'form-control','id'=>'js-email_address'))}}
{{Form::text('contact_number','',array('class'=>'form-control','id'=>'js-mobile_number','maxlength'=>'10'))}}
{!! Form::submit('Update Profile', ['class' => 'btn btn-primary f-16 waves-effect','id'=>'js-edit-submit'] ) !!} Cancel
{!! Form::close() !!}
@endsection('content') @section("footer") @if (Session::has('rep_excel')) @endif @endsection("footer")