@extends('layouts.dashboard') @section('title-content') {{ config('app.name') }} | Admit new student @endsection @section('content')

Admission Process - Batch-[{{ $batch->batch_name }}]

This section imports new students and generate registration numbers from the excel file of this format {{ link_to(asset('assets/uploads/formats/admission_format.xlsx'), 'Required Excel File Format') }} .Select the Excel file to import and click the button generate to generate student registration numbers and enroll to their respective programme.

{!! Form::open([ 'route' => 'excels.import-student-stores', 'class' => 'create-student', 'method' => 'POST', 'role' => 'form', 'enctype' => 'multipart/form-data', ]) !!} {{-- {{ Form::open(['route' => 'excels.import-student-store','class'=>'create-product','method'=>'POST','role' => 'form', 'enctype' => 'multipart/form-data'])}} --}}
{!! Form::label('campus_id', 'Select Campus *', ['class' => 'text-danger']) !!} {!! Form::select( 'campus_id', $campuses, null, $errors->has('campus_id') ? ['class' => 'form-control is-invalid', 'id' => 'campus_id'] : ['class' => 'form-control', 'id' => 'campus_id'], ) !!}
{{ Form::hidden('batch_id', $batch->id) }} {{ Form::file('admission-file', ['class' => 'file']) }}
{{ Form::button('Upload', ['type' => 'submit', 'class' => 'btn btn-warning']) }}
{!! Form::close() !!}
@endsection @section('scripts') @endsection