@extends('layouts.layout_index') @section('style') @endsection @section('modal') @endsection @section('lpage') Department @endsection @section('rpage') Administrator @endsection @section('rppage') Department {{ucfirst($type)}} Create @endsection @section('content')
@csrf @if($type=='endo') @component('admin.department.component.form.endo',$view)@endcomponent @elseif($type=='doctor') @component('admin.department.component.form.doctor',$view)@endcomponent @elseif($type=='anesthesia') @component('admin.department.component.form.anes',$view)@endcomponent @elseif($type=='nurse') @component('admin.department.component.form.nurse',$view)@endcomponent @elseif($type=='register') @component('admin.department.component.form.practical_nurse',$view)@endcomponent @elseif($type=='procedure') @component('admin.department.component.form.procedure',$view)@endcomponent @elseif($type=='room') @component('admin.department.component.form.room',$view)@endcomponent @elseif($type=='scope') @component('admin.department.component.form.scope',$view)@endcomponent @elseif($type=='reprocess') @component('admin.department.component.form.repocess',$view)@endcomponent @endif
@endsection @section('script') @endsection