2024-02-27 22:53:57 +07:00
<!-- Extend Layout -->
@ extends ( 'layout.app_guest' ,[ 'title' => 'Pengajuan DPU / DPA' ])
@ section ( 'content' )
<!-- Main content -->
< section class = " content " >
< div class = " container-fluid " >
<!-- SELECT2 EXAMPLE -->
< div class = " card card-default " >
< div class = " card-header " >
< h3 class = " card-title " > Pengajuan Kesediaan DPU / DPA </ h3 >
</ div >
<!-- /. card - header -->
< div class = " card-body " >
2024-03-02 18:06:48 +07:00
@ if ( $errors -> any ())
< div class = " alert alert-danger " >
< ul >
@ foreach ( $errors -> all () as $error )
< li > {{ $error }} </ li >
@ endforeach
</ ul >
</ div >
@ endif
@ if ( session ( 'success' ))
< div class = " alert alert-success " >
< ul >
< li > {{ session ( 'success' ) }} </ li >
</ ul >
</ div >
@ endif
@ if ( session ( 'error' ))
< div class = " alert alert-danger " >
< ul >
< li > {{ session ( 'error' ) }} </ li >
</ ul >
</ div >
@ endif
< form action = " { { route('layanan-dpudpa.store') }} " method = " post " enctype = " multipart/form-data " >
@ csrf
2024-02-27 22:53:57 +07:00
< div class = " row " >
< div class = " col " >
< label for = " nim " > NIM Mahasiswa </ label >
2024-03-02 18:06:48 +07:00
< input type = " text " name = " nim " id = " nim " class = " form-control " placeholder = " Masukkan NIM Mahasiswa " value = " { { old('nim')}} " required >
2024-02-27 22:53:57 +07:00
< label for = " nama " > Nama Mahasiswa </ label >
2024-03-02 18:06:48 +07:00
< input type = " text " name = " nama " id = " nama " class = " form-control " placeholder = " Masukkan Nama Mahasiswa " value = " { { old('nama')}} " required >
< label for = " nomor_hp " > Nomor Handphone Mahasiswa ( WhatsApp ) </ label >
< input type = " text " name = " nomor_hp " id = " nomor_hp " class = " form-control " placeholder = " Masukkan Nomor Handphone Mahasiswa (WhatsApp) " value = " { { old('nomor_hp')}} " required >
< label for = " email " > Email Mahasiswa </ label >
< input type = " text " name = " email " id = " email " class = " form-control " placeholder = " Masukkan Email Mahasiswa " value = " { { old('email')}} " required >
< label for = " bagian " > Bagian Lab :</ label >
< select class = " form-control select2 " style = " width: 100%; " id = " bagian " name = " bagian " >
< option selected > Pilih Laboratorium </ option >
< option value = " 1 " > Farmasi Klinik Dan Komunitas </ option >
< option value = " 2 " > Farmakologi Dan Hewan Coba </ option >
< option value = " 3 " > Farmakognosi dan Fitokimia </ option >
< option value = " 4 " > Mikrobiologi dan Bioteknologi Farmasi </ option >
< option value = " 5 " > Farmasetika </ option >
< option value = " 6 " > Teknologi Farmasi </ option >
< option value = " 7 " > Kimia Analisis </ option >
< option value = " 8 " > Kimia Medisinal </ option >
</ select >
2024-02-27 22:53:57 +07:00
</ div >
<!-- /. col -->
</ div >
<!-- /. row -->
< div class = " row " >
< div class = " col " >
< div class = " form-group " >
2024-03-02 18:06:48 +07:00
< label for = " dosen_dpu " > Dosen Pembimbing Utama </ label >
< select class = " form-control select2 " style = " width: 100%; " id = " dosen_dpu " name = " dosen_dpu " >
< option selected > Pilih Dosen Pembimbing Utama </ option >
@ foreach ( $dosen as $item )
< option value = " { { $item -> id } } " {{ old ( 'dosen_dpu' ) === $item -> id ? 'selected' : '' }} > {{ $item -> nama_gelar }} </ option >
@ endforeach
</ select >
</ div >
<!-- /. form - group -->
</ div >
< div class = " col " >
< div class = " form-group " >
< label for = " dosen_dpa " > Dosen Pembimbing Anggota </ label >
< select class = " form-control select2 " style = " width: 100%; " id = " dosen_dpa " name = " dosen_dpa " >
< option > Pilih Dosen Pembimbing Anggota </ option >
@ foreach ( $dosen as $item )
< option value = " { { $item -> id } } " {{ old ( 'dosen_dpa' ) === $item -> id ? 'selected' : '' }} > {{ $item -> nama_gelar }} </ option >
@ endforeach
2024-02-27 22:53:57 +07:00
</ select >
</ div >
<!-- /. form - group -->
</ div >
<!-- /. col -->
</ div >
<!-- /. row -->
2024-03-02 18:06:48 +07:00
< div class = " row " >
< div class = " col " >
< label for = " judul_seminar_proposal " > Judul Skripsi / Tugas Akhir </ label >
< input type = " text " name = " judul_seminar_proposal " id = " judul_seminar_proposal " class = " form-control " placeholder = " Masukkan Judul Skripsi / Tugas Akhir yang Diajukan " value = " { { old('judul_seminar_proposal')}} " required >
< label for = " file_transkrip " > Transkrip Nilai ( * File Bertentuk PDF , Dan Ukuran Maksimal file : 4 Mb ) </ label >
< input type = " file " name = " file_transkrip " id = " file_transkrip " class = " form-control " required >
</ div >
</ div >
< div class = " row " >
< div class = " col py-3 " >
< button type = " submit " class = " btn btn-primary " > Submit </ button >
</ div >
</ div >
</ form >
2024-02-27 22:53:57 +07:00
</ div >
</ div >
<!-- /. card -->
</ div >
<!-- /. container - fluid -->
</ section >
<!-- /. content -->
@ endsection