@extends('layouts.app') @section('title', __('Upload')) @section('content')
@if(\Auth::user()->role != 'master')
@include('layouts.leftside-menubar')
@endif
@if($type == 'student') @include('components.pages-bar',['pageTitle' =>''. trans('Students').' / '.trans('Upload Excel').'']) @include('components.sectionbar.student-bar') @elseif($type == 'teacher') @include('components.pages-bar',['pageTitle' =>''. trans('Human Resource').' / '.trans('Upload Excel').'']) @include('components.sectionbar.teacher-bar') @endif
@if($type == 'student' || $type == 'teacher')

@lang('Mass upload Excel') {{ucfirst($type)}}

@component('components.excel-upload-form', ['type'=>$type]) @endcomponent
@endif @if($type == 'staff') @include('components.sectionbar.teacher-bar') @endif @if($type == 'accountant') @include('components.sectionbar.teacher-bar') @endif @if($type == 'librarian') @include('components.sectionbar.teacher-bar') @endif
@endsection