merge to production #4
|
@ -3,6 +3,10 @@
|
|||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\PengajuanDpuDpa;
|
||||
use App\Models\PengajuanRevisiPublikasi;
|
||||
use App\Models\PengajuanSempro;
|
||||
use App\Models\PengajuanSidangAkhir;
|
||||
use App\Models\PengajuanWisuda;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
|
||||
|
@ -11,7 +15,18 @@ class AdminController extends Controller
|
|||
|
||||
public function index(){
|
||||
$layanan_dpudpa = PengajuanDpuDpa::count();
|
||||
return view('admin.index',['title'=> 'Admin Dashboard', 'layanan_dpudpa'=>$layanan_dpudpa]);
|
||||
$layanan_sempro = PengajuanSempro::count();
|
||||
$layanan_sidangakhir = PengajuanSidangAkhir::count();
|
||||
$layanan_revisipublikasi = PengajuanRevisiPublikasi::count();
|
||||
$layanan_wisuda = PengajuanWisuda::count();
|
||||
return view('admin.index',[
|
||||
'title'=> 'Admin Dashboard',
|
||||
'layanan_dpudpa'=>$layanan_dpudpa,
|
||||
'layanan_sempro'=>$layanan_sempro,
|
||||
'layanan_sidangakhir'=>$layanan_sidangakhir,
|
||||
'layanan_revisipublikasi'=>$layanan_revisipublikasi,
|
||||
'layanan_wisuda'=>$layanan_wisuda,
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Jobs\kirimNotifikasiErrorJob;
|
||||
use App\Jobs\layananPengajuanDpuDpaJob;
|
||||
|
||||
use App\Models\Bagian;
|
||||
|
@ -11,12 +12,13 @@
|
|||
|
||||
use Barryvdh\DomPDF\Facade\Pdf;
|
||||
use Carbon\Carbon;
|
||||
|
||||
use Exception;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use SimpleSoftwareIO\QrCode\Facades\QrCode;
|
||||
use Spatie\Permission\Models\Role;
|
||||
use Ixudra\Curl\Facades\Curl;
|
||||
|
||||
class LayananPengajuanDpuDpaController extends Controller
|
||||
{
|
||||
|
@ -154,7 +156,9 @@ public function destroy(Request $request){
|
|||
->first();
|
||||
$data_job = [
|
||||
'jenis' => 'penolakan',
|
||||
'nama' => $data->nama,
|
||||
'judul_seminar_proposal' => $data->judul_seminar_proposal,
|
||||
'nama_mahasiswa' => $data->nama,
|
||||
'nim_mahasiswa' => $data->nim,
|
||||
'email' => $data->email,
|
||||
'created_at' => $data->created_at,
|
||||
'alasan' => $request->alasan,
|
||||
|
@ -162,10 +166,10 @@ public function destroy(Request $request){
|
|||
$path = $data->nim."/".$data->bukti_transkrip_nilai;
|
||||
//hapus file yang diupload mahasiswa
|
||||
if(Storage::disk('public')->exists($path)){
|
||||
Storage::disk('public')->delete($path);
|
||||
//hapus data pengajuan mahasiswa
|
||||
return redirect()->route('layanan-dpudpa.index')->with('error','Gagal Hapus Data, File Mahasiswa Yang akan dihapus tidak ditemukan');
|
||||
Storage::disk('public')->delete($path);
|
||||
}
|
||||
|
||||
$dataDelete = PengajuanDpuDpa::findOrFail($id);
|
||||
|
||||
//kirim notifikasi jika data berhasil dihapus
|
||||
|
@ -302,6 +306,12 @@ public function submitettd($url, $caseid, Request $request){
|
|||
//done
|
||||
public function cetak($caseid){
|
||||
$get_data = PengajuanDpuDpa::where('caseid',$caseid)->first();
|
||||
|
||||
//jika data kosong maka render ini
|
||||
if(is_null($get_data)){
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with('error','Data Dengan CASEID Tersebut Tidak ada');
|
||||
}
|
||||
//jika kombi belum ttd, maka render ini
|
||||
if($get_data->ttd_kombi=='-'){
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with('error','Data Belum Di TandaTangani Oleh Dosen Kombi, File Bisa didownload ketika Dosen Kombi sudah tanda tangan!');
|
||||
}
|
||||
|
@ -328,7 +338,7 @@ public function cetak($caseid){
|
|||
$data = [
|
||||
'title' => 'Cetak Kesediaan',
|
||||
// 'date' => Carbon::now()->format('d-m-Y'),
|
||||
'date' => $data_dpu_dpa->created_at->format('d-m-Y'),
|
||||
'date' => $data_dpu_dpa->updated_at->format('d-m-Y'),
|
||||
'nama_mahasiswa' => $data_dpu_dpa->nama,
|
||||
'nim' => $data_dpu_dpa->nim,
|
||||
'bagian' => $data_dpu_dpa->nama_bagian,
|
||||
|
@ -344,7 +354,24 @@ public function cetak($caseid){
|
|||
'dosen_kombi_qrcode' => base64_encode(QrCode::size(100)->generate($data_kombi[0]->nama_gelar.'_TTD_'.$data_dpu_dpa->ttd_kombi)),
|
||||
];
|
||||
$pdf = Pdf::loadView('layanan-dpudpa.cetak', $data);
|
||||
return $pdf->setPaper('a4', 'potrait')->stream($caseid.'-Kesediaan Menjadi Dosen Pembimbing Tugas Akhir');
|
||||
return $pdf->setPaper('a4', 'potrait')->download($caseid.'-Kesediaan Menjadi Dosen Pembimbing Tugas Akhir.pdf');
|
||||
}
|
||||
|
||||
public function resend($caseid,Request $request){
|
||||
try{
|
||||
$data = PengajuanDpuDpa::where('caseid',$caseid)->first();
|
||||
$data_job = [
|
||||
'id' => $data->id,
|
||||
'jenis' => $request->jenis,
|
||||
];
|
||||
dispatch(new layananPengajuanDpuDpaJob($data_job));
|
||||
}catch(Exception $e){
|
||||
$text['error'] = $e->getMessage();
|
||||
dispatch(new kirimNotifikasiErrorJob($text));
|
||||
|
||||
return redirect()->route('layanan-dpudpa.index')->with('error','Error : '.$text['error']);
|
||||
}
|
||||
return redirect()->route('layanan-dpudpa.index')->with('success','Berhasil Kirim Ulang Email Kepada '.$request->jenis.' Dengan CaseID : '.$caseid);
|
||||
}
|
||||
|
||||
//cek apakah DPU dan DPU sudah Tanda tangan, jika sudah maka akan mengirim notifikasi ke Kombi
|
||||
|
|
829
app/Http/Controllers/LayananPengajuanWisudaController.php
Normal file
829
app/Http/Controllers/LayananPengajuanWisudaController.php
Normal file
|
@ -0,0 +1,829 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Jobs\kirimNotifikasiErrorJob;
|
||||
use App\Jobs\layananPengajuanWisudaJob;
|
||||
|
||||
use App\Models\Bagian;
|
||||
use App\Models\Mahasiswa;
|
||||
use App\Models\PengajuanWisuda;
|
||||
use App\Models\User;
|
||||
use Barryvdh\DomPDF\Facade\Pdf;
|
||||
use Carbon\Carbon;
|
||||
use Exception;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
|
||||
use Ixudra\Curl\Facades\Curl;
|
||||
use SimpleSoftwareIO\QrCode\Facades\QrCode;
|
||||
use Spatie\Permission\Models\Role;
|
||||
|
||||
class LayananPengajuanWisudaController extends Controller
|
||||
{
|
||||
|
||||
public function index(){
|
||||
$data = PengajuanWisuda::select(
|
||||
'pengajuan_wisudas.*',
|
||||
'mahasiswas.nim as nim',
|
||||
'mahasiswas.nama as nama',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.judul_jurnal',
|
||||
'mahasiswas.judul_artikel',
|
||||
'dosen_dpu.nama_gelar as dpu_nama_gelar',
|
||||
'dosen_dpa.nama_gelar as dpa_nama_gelar',
|
||||
'dosen_penguji1.nama_gelar as penguji1_nama_gelar',
|
||||
'dosen_penguji2.nama_gelar as penguji2_nama_gelar'
|
||||
)
|
||||
->join('mahasiswas','mahasiswas_id','=','mahasiswas.id')
|
||||
->join('users as dosen_dpu','mahasiswas.dosen_dpu_id','=','dosen_dpu.id')
|
||||
->join('users as dosen_dpa','mahasiswas.dosen_dpa_id','=','dosen_dpa.id')
|
||||
->join('users as dosen_penguji1','mahasiswas.dosen_penguji1_id','=','dosen_penguji1.id')
|
||||
->join('users as dosen_penguji2','mahasiswas.dosen_penguji2_id','=','dosen_penguji2.id')
|
||||
->get();
|
||||
|
||||
return view('layanan-wisuda.index',['title' => 'Pengajuan Syarat Wisuda | Admin Dashboard','data' => $data]);
|
||||
}
|
||||
|
||||
public function tambah(){
|
||||
$dosen = User::role('Dosen')->get();
|
||||
$bagian = Bagian::select('id','nama_bagian')->get();
|
||||
//cek apakah ada data mahasiswa dari hasil cari
|
||||
$nim = session('mahasiswas_id');
|
||||
if($nim!=null){
|
||||
$data_mahasiswa = Mahasiswa::find($nim);
|
||||
return view('layanan-wisuda.tambah',['dosen'=>$dosen, 'bagian'=>$bagian,'data_mahasiswa'=>$data_mahasiswa]);
|
||||
}
|
||||
return view('layanan-wisuda.tambah',['dosen'=>$dosen, 'bagian'=>$bagian]);
|
||||
}
|
||||
|
||||
public function store(Request $request){
|
||||
//cek validasi file dan input
|
||||
$request->validate([
|
||||
'nim'=>'required|numeric',
|
||||
'nama'=>'required',
|
||||
'nomor_hp'=>'required|numeric',
|
||||
'email'=>'required|email',
|
||||
'judul_skripsi_id'=>'required',
|
||||
'bagian'=>'required|numeric',
|
||||
'dosen_dpu'=>'required|numeric',
|
||||
'dosen_dpa'=>'required|numeric',
|
||||
'dosen_penguji1'=>'required|numeric',
|
||||
'dosen_penguji2'=>'required|numeric',
|
||||
'bukti_skripsi' => 'required|mimes:pdf|max:4096',
|
||||
'bukti_kkn' => 'required|mimes:pdf|max:4096',
|
||||
'bukti_spp' => 'required|mimes:pdf|max:4096',
|
||||
'bukti_toefl' => 'mimes:pdf|max:4096',
|
||||
],[
|
||||
'nim.required'=>'NIP Wajib Diisi',
|
||||
'nim.numeric'=>'NIM Wajib Berisi Angka saja',
|
||||
'nomor_hp.numeric'=>'Nomor HP Wajib Menggunakan Angka, Contoh 089xxxxx',
|
||||
'email.email'=>'Format email tidak sesuai, cek lagi email anda, Contoh mahasiswa@gmail.com/ mahasiswa@mail.unej.ac.id',
|
||||
'bagian.numeric'=>'Bagian tidak valid, cek kembali Bagian yang dipilih',
|
||||
'dosen_dpu.numeric'=>'Dosen Pembimbing tidak valid, cek kembali Dosen Pembimbing Utama yang dipilih',
|
||||
'dosen_dpa.numeric'=>'Dosen Pembimbing tidak valid, cek kembali Dosen Pembimbing Anggota yang dipilih',
|
||||
'dosen_penguji1.numeric'=>'Dosen Penguji tidak valid, cek kembali Dosen Penguji Utama yang dipilih',
|
||||
'dosen_penguji2.numeric'=>'Dosen Penguji tidak valid, cek kembali Dosen Penguji Anggota yang dipilih',
|
||||
]);
|
||||
//olah file
|
||||
$bukti_skripsi = $request->file('bukti_skripsi');
|
||||
$bukti_kkn = $request->file('bukti_kkn');
|
||||
$bukti_spp = $request->file('bukti_spp');
|
||||
$bukti_toefl = $request->file('bukti_toefl');
|
||||
|
||||
|
||||
//beri nama tiap file
|
||||
$bukti_skripsi_name= 'LY_1'.str_replace(' ', '_',$bukti_skripsi->getClientOriginalName());
|
||||
$bukti_kkn_name = 'LY_2'.str_replace(' ', '_',$bukti_kkn->getClientOriginalName());
|
||||
$bukti_spp_name = 'LY_3'.str_replace(' ', '_',$bukti_spp->getClientOriginalName());
|
||||
|
||||
|
||||
|
||||
//Cek Apakah Data Mahasiswa Tersebut sudah ada, jika ada maka diminta untuk menggunakan fitur cari
|
||||
$mahasiswa = Mahasiswa::where('nim',$request->nim)->first();
|
||||
if(!is_null($mahasiswa) && $request->status!="ada"){
|
||||
return redirect()->route('layanan-wisuda.tambah')->with('error','Data Anda Sudah Ada, Gunakan Fitur Cari Menggunakan NIM :'.$request->nim);
|
||||
}
|
||||
|
||||
//kalo menggunakan fitur cari, akan menggunakan fungsi ini
|
||||
elseif(!is_null($mahasiswa) && $request->status=="ada"){
|
||||
$mahasiswas_id = $mahasiswa->id;
|
||||
$data_wisuda['mahasiswas_id'] = $mahasiswas_id;
|
||||
$data_wisuda['bukti_skripsi'] = $bukti_skripsi_name;
|
||||
$data_wisuda['bukti_kkn'] = $bukti_kkn_name;
|
||||
$data_wisuda['bukti_spp'] = $bukti_spp_name;
|
||||
if($bukti_toefl==null){
|
||||
$data_wisuda['bukti_toefl'] = '-';
|
||||
//save to db
|
||||
PengajuanWisuda::create($data_wisuda);
|
||||
}else{
|
||||
$bukti_toefl_name = 'LY_4'.str_replace(' ', '_',$bukti_toefl->getClientOriginalName());
|
||||
$data_wisuda['bukti_toefl'] = $bukti_toefl_name;
|
||||
//save to db
|
||||
PengajuanWisuda::create($data_wisuda);
|
||||
Storage::disk('public')->put($request->nim.'/'.$bukti_toefl_name, file_get_contents($bukti_toefl));
|
||||
}
|
||||
//edit data judul skripsi mahasiswa
|
||||
$mahasiswa->judul_skripsi_id = $request->judul_skripsi_id;
|
||||
//save to db
|
||||
$mahasiswa->save();
|
||||
|
||||
Storage::disk('public')->put($request->nim.'/'.$bukti_skripsi_name, file_get_contents($bukti_skripsi));
|
||||
Storage::disk('public')->put($request->nim.'/'.$bukti_kkn_name, file_get_contents($bukti_kkn));
|
||||
Storage::disk('public')->put($request->nim.'/'.$bukti_spp_name, file_get_contents($bukti_spp));
|
||||
return redirect()->route('layanan-wisuda.tambah')->with('success','Sukses Tambah Data, Silahkan Menunggu Email Konfirmasi setelah disetujui Oleh Operator');
|
||||
}
|
||||
|
||||
//Jika data baru maka akan menggunakan fitur ini
|
||||
$data_mhs['nim'] = $request->nim;
|
||||
$data_mhs['nama'] = $request->nama;
|
||||
$data_mhs['nomor_hp'] = $request->nomor_hp;
|
||||
$data_mhs['email'] = $request->email;
|
||||
$data_mhs['judul_seminar_proposal'] = '-';
|
||||
$data_mhs['bagian'] = $request->bagian;
|
||||
$data_mhs['dosen_dpu_id'] = $request->dosen_dpu;
|
||||
$data_mhs['dosen_dpa_id'] = $request->dosen_dpa;
|
||||
//set default to 0
|
||||
$data_mhs['dosen_penguji1_id'] = $request->dosen_penguji1;
|
||||
$data_mhs['dosen_penguji2_id'] = $request->dosen_penguji2;
|
||||
$data_mhs['judul_skripsi_id'] = $request->judul_skripsi_id;
|
||||
$data_mhs['judul_skripsi_en'] = '-';
|
||||
$data_mhs['judul_jurnal'] = '-';
|
||||
$data_mhs['judul_artikel'] = '-';
|
||||
|
||||
//save data mahasiswa dan pengajuan
|
||||
if(Mahasiswa::create($data_mhs)){
|
||||
$mahasiswas_id = Mahasiswa::where('nim',$request->nim)->first();
|
||||
$data_wisuda['mahasiswas_id'] = $mahasiswas_id->id;
|
||||
$data_wisuda['bukti_skripsi'] = $bukti_skripsi_name;
|
||||
$data_wisuda['bukti_kkn'] = $bukti_kkn_name;
|
||||
$data_wisuda['bukti_spp'] = $bukti_spp_name;
|
||||
|
||||
if($bukti_toefl==null){
|
||||
$data_wisuda['bukti_toefl'] = '-';
|
||||
//save to db
|
||||
PengajuanWisuda::create($data_wisuda);
|
||||
}
|
||||
else{
|
||||
$bukti_toefl_name = 'LY_4'.str_replace(' ', '_',$bukti_toefl->getClientOriginalName());
|
||||
$data_wisuda['bukti_toefl'] = $bukti_toefl_name;
|
||||
//save to db
|
||||
PengajuanWisuda::create($data_wisuda);
|
||||
Storage::disk('public')->put($request->nim.'/'.$bukti_toefl_name, file_get_contents($bukti_toefl));
|
||||
}
|
||||
|
||||
|
||||
Storage::disk('public')->put($request->nim.'/'.$bukti_skripsi_name, file_get_contents($bukti_skripsi));
|
||||
Storage::disk('public')->put($request->nim.'/'.$bukti_kkn_name, file_get_contents($bukti_kkn));
|
||||
Storage::disk('public')->put($request->nim.'/'.$bukti_spp_name, file_get_contents($bukti_spp));
|
||||
|
||||
return redirect()->route('layanan-wisuda.tambah')->with('success','Sukses Tambah Data, Silahkan Menunggu Email Konfirmasi setelah disetujui Oleh Operator');
|
||||
}
|
||||
return redirect()->route('layanan-wisuda.tambah')->with('error','Gagal Tambah data, Cek kembali data yang anda masukkan');
|
||||
}
|
||||
|
||||
public function cari(){
|
||||
return view('layanan-wisuda.cari',['title'=>'Cari Data Mahasiswa Untuk Keperluan Pengajuan Publikasi / Revisi']);
|
||||
}
|
||||
|
||||
public function search(Request $request){
|
||||
$data = Mahasiswa::where('nim',$request->nim)->first();
|
||||
if($data==null){
|
||||
return redirect()->route('layanan-wisuda.tambah')->with('error','NIM Tidak Ditemukan, Gunakan Fitur Tambah');
|
||||
}
|
||||
return redirect()->route('layanan-wisuda.tambah')->with('mahasiswas_id',$data->id);
|
||||
}
|
||||
|
||||
public function terima(Request $request){
|
||||
$id = $request->id;
|
||||
$countcaseid = PengajuanWisuda::where('ttd_operator','!=','-')->count();
|
||||
$caseid = "LY".date_format(date_create(),"ym").$countcaseid+1;
|
||||
|
||||
$cekData = PengajuanWisuda::where('caseid',$caseid)->first();
|
||||
$data = PengajuanWisuda::where('id',$id)->first();
|
||||
//cek apakah ada caseid yang sama sebelum disave
|
||||
if(!is_null($cekData)){
|
||||
$data->updated_at = Carbon::now();
|
||||
$data->save();
|
||||
return redirect()->route('layanan-wisuda.index')->with('error','Gagal simpan Data, Cek kembali Detail Data yang akan diterima');
|
||||
}
|
||||
|
||||
$data->caseid = $caseid;
|
||||
$data->ttd_operator = Carbon::now();
|
||||
|
||||
if($data->save()){
|
||||
$data_job = [
|
||||
[
|
||||
'jenis' => 'mahasiswa',
|
||||
'id' => $id,
|
||||
],
|
||||
[
|
||||
'jenis' => 'dpu',
|
||||
'id' => $id,
|
||||
],
|
||||
[
|
||||
'jenis' => 'dpa',
|
||||
'id' => $id,
|
||||
],
|
||||
[
|
||||
'jenis' => 'penguji1',
|
||||
'id' => $id,
|
||||
],
|
||||
[
|
||||
'jenis' => 'penguji2',
|
||||
'id' => $id,
|
||||
],
|
||||
[
|
||||
'jenis' => 'kalab',
|
||||
'id' => $id,
|
||||
],
|
||||
[
|
||||
'jenis' => 'perpustakaan',
|
||||
'id' => $id,
|
||||
],
|
||||
[
|
||||
'jenis' => 'skpi',
|
||||
'id' => $id,
|
||||
],
|
||||
];
|
||||
foreach($data_job as $item){
|
||||
dispatch(new layananPengajuanWisudaJob($item));
|
||||
}
|
||||
return redirect()->route('layanan-wisuda.index')->with('success','Data Berhasil Disimpan, Email Akan Dikirimkan ke Mahasiswa, DPU, Penguji Utama dan Penguji Anggota ');
|
||||
}
|
||||
}
|
||||
|
||||
public function destroy(Request $request){
|
||||
$id = $request->id;
|
||||
//cari data dan kirim notif sebelum dihapus
|
||||
$data = PengajuanWisuda::where('pengajuan_wisudas.id',$id)
|
||||
->join('mahasiswas','mahasiswas_id','=','mahasiswas.id')
|
||||
->first();
|
||||
//data yang akan dikirim untuk dihapus
|
||||
$data_job = [
|
||||
'jenis' => 'penolakan',
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama,
|
||||
'nim_mahasiswa' => $data->nim,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'email' => $data->email,
|
||||
'created_at' => $data->created_at,
|
||||
'alasan' => $request->alasan,
|
||||
];
|
||||
|
||||
//delete data mahasiswa
|
||||
try {
|
||||
$dataDelete = PengajuanWisuda::findOrFail($id);
|
||||
$dataDelete->delete();
|
||||
|
||||
$path = [
|
||||
$data->nim."/".$data->bukti_skripsi,
|
||||
$data->nim."/".$data->bukti_spp,
|
||||
$data->nim."/".$data->buktix_kkn,
|
||||
$data->nim."/".$data->bukti_toefl,
|
||||
];
|
||||
foreach ($path as $item){
|
||||
//hapus file yang diupload mahasiswa
|
||||
if(Storage::disk('public')->exists($item)){
|
||||
//hapus data pengajuan mahasiswa
|
||||
Storage::disk('public')->delete($item);
|
||||
}
|
||||
}
|
||||
//kirim notif ke mahasiswa bahwa ditolak
|
||||
dispatch(new layananPengajuanWisudaJob($data_job));
|
||||
|
||||
}catch(Exception $e){
|
||||
//kirim notif error jika terjadi error
|
||||
$text['error'] = $e->getMessage();
|
||||
dispatch(new kirimNotifikasiErrorJob($text));
|
||||
|
||||
return redirect()->route('layanan-wisuda.index')->with('error','Error : '.$text['error']);
|
||||
}
|
||||
return redirect()->route('layanan-wisuda.index')->with('success','Permintaan Sudah Diproses, Email akan segera dikirim ke penerima');
|
||||
}
|
||||
|
||||
public function ettd($url, $caseid){
|
||||
$role_untuk_ettd = ['dpu','dpa','penguji1','penguji2','skpi','kalab','ruangbaca','wakildekan1'];
|
||||
$data = PengajuanWisuda::where('caseid','=',$caseid)
|
||||
->select('pengajuan_wisudas.id',
|
||||
'pengajuan_wisudas.caseid',
|
||||
'pengajuan_wisudas.bukti_skripsi',
|
||||
'mahasiswas.nama',
|
||||
'mahasiswas.nim',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'dosen_dpu.nama_gelar as dosen_dpu_nama_gelar',
|
||||
'dosen_dpa.nama_gelar as dosen_dpa_nama_gelar',
|
||||
'dosen_penguji1.nama_gelar as dosen_penguji1_nama_gelar',
|
||||
'dosen_penguji2.nama_gelar as dosen_penguji2_nama_gelar',
|
||||
)
|
||||
->join('mahasiswas','pengajuan_wisudas.mahasiswas_id','=','mahasiswas.id')
|
||||
->join('users as dosen_dpu','mahasiswas.dosen_dpu_id','=','dosen_dpu.id')
|
||||
->join('users as dosen_dpa','mahasiswas.dosen_dpa_id','=','dosen_dpa.id')
|
||||
->join('users as dosen_penguji1','mahasiswas.dosen_penguji1_id','=','dosen_penguji1.id')
|
||||
->join('users as dosen_penguji2','mahasiswas.dosen_penguji2_id','=','dosen_penguji2.id')
|
||||
->first();
|
||||
if(in_array($url, $role_untuk_ettd) && !is_null($data)){
|
||||
//jika URL DPU maka render ini
|
||||
if($url=='dpu'){
|
||||
$jenis = 'Dosen Pembimbing Utama';
|
||||
return view('layanan-wisuda.ettd',['title'=> 'INPUT E-Signature','jenis'=>$jenis,'data'=> $data]);
|
||||
}
|
||||
//jika URL DPA maka render ini
|
||||
elseif($url=='dpa'){
|
||||
$jenis = 'Dosen Pembimbing Anggota';
|
||||
return view('layanan-wisuda.ettd',['title'=> 'INPUT E-Signature','jenis'=>$jenis,'data'=> $data]);
|
||||
}
|
||||
//jika URL Penguji1 maka render ini
|
||||
elseif($url=='penguji1'){
|
||||
$jenis = 'Dosen Penguji Utama';
|
||||
return view('layanan-wisuda.ettd',['title'=> 'INPUT E-Signature','jenis'=>$jenis,'data'=> $data]);
|
||||
}
|
||||
//jika URL Penguji2 maka render ini
|
||||
elseif($url=='penguji2'){
|
||||
$jenis = 'Dosen Penguji Anggota';
|
||||
return view('layanan-wisuda.ettd',['title'=> 'INPUT E-Signature','jenis'=>$jenis,'data'=> $data]);
|
||||
}
|
||||
//jika URL Kalab maka render ini
|
||||
elseif($url=='kalab'){
|
||||
$jenis = 'Kepala Laboratorium';
|
||||
return view('layanan-wisuda.ettd',['title'=> 'INPUT E-Signature','jenis'=>$jenis,'data'=> $data]);
|
||||
}
|
||||
//jika URL skpi maka render ini
|
||||
elseif($url=='skpi'){
|
||||
$jenis = 'Pj. SKPI';
|
||||
$nama_ettd = User::role('Pj. SKPI')->get();
|
||||
return view('layanan-wisuda.ettd',['title'=> 'INPUT E-Signature','jenis'=>$jenis,'data'=> $data,'nama_ettd'=>$nama_ettd]);
|
||||
}
|
||||
//jika URL ruangbaca maka render ini
|
||||
elseif($url=='ruangbaca'){
|
||||
$jenis = 'Pj. perpustakaan';
|
||||
$nama_ettd = User::role('Pj. Perpustakaan')->first();
|
||||
return view('layanan-wisuda.ettd',['title'=> 'INPUT E-Signature','jenis'=>$jenis,'data'=> $data,'nama_ettd'=>$nama_ettd]);
|
||||
}
|
||||
//jika URL Kombi maka render ini
|
||||
elseif($url=='wakildekan1'){
|
||||
$jenis = 'Wakil Dekan 1';
|
||||
$nama_ettd = User::role('Wakil Dekan 1')->first();
|
||||
return view('layanan-wisuda.ettd',['title'=> 'INPUT E-Signature','jenis'=>$jenis,'data'=> $data,'nama_ettd'=>$nama_ettd]);
|
||||
}
|
||||
}
|
||||
//jika URL tidak diantara ketika itu maka render ini
|
||||
return redirect()->route('laman-awal')->with(['error'=>'URL Tidak Ditemukan']);
|
||||
}
|
||||
|
||||
public function submitettd($url, $caseid, Request $request){
|
||||
$role_untuk_ettd = ['dpu','dpa','penguji1','penguji2','skpi','kalab','ruangbaca','wakildekan1'];
|
||||
$data = PengajuanWisuda::where('caseid','=',$caseid)->first();
|
||||
if(in_array($url, $role_untuk_ettd) && !is_null($data)){
|
||||
//jika URL DPU maka render ini
|
||||
if($url=='dpu'){
|
||||
//jika sudah pernah ETTD Akan Dikembalikan Ke laman TTD Dengan error
|
||||
if($data->ttd_dpu!='-'){
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'CaseID Ini Sudah Pernah Anda Tandatangani Pada '.$data->ttd_dpu]);
|
||||
}
|
||||
//ambil data ETTD sesuai url
|
||||
$ttd = Mahasiswa::where('nim',$request->nim)->join('users as dosen_dpu','mahasiswas.dosen_dpu_id','=','dosen_dpu.id')->first();
|
||||
//jika Belum Pernah maka TTD akan diproses
|
||||
if($ttd->ettd==$request->ettd){
|
||||
$data->ttd_dpu = Carbon::now();
|
||||
$data->save();
|
||||
$this->cekettd($caseid);
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with(['success'=>'Terimakasih Telah Melakukan Tanda Tangan Pada CaseID '.$caseid]);
|
||||
}
|
||||
//jika ETTD Tidak sesuai Akan Dikembalikan Ke laman TTD Dengan error
|
||||
else{
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'E-TTD Tidak Sesuai, Cek Kembali ETTD Anda']);
|
||||
}
|
||||
}
|
||||
if($url=='dpa'){
|
||||
//jika sudah pernah ETTD Akan Dikembalikan Ke laman TTD Dengan error
|
||||
if($data->ttd_dpa!='-'){
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'CaseID Ini Sudah Pernah Anda Tandatangani Pada '.$data->ttd_dpa]);
|
||||
}
|
||||
//ambil data ETTD sesuai url
|
||||
$ttd = Mahasiswa::where('nim',$request->nim)->join('users as dosen_dpa','mahasiswas.dosen_dpa_id','=','dosen_dpa.id')->first();
|
||||
//jika Belum Pernah maka TTD akan diproses
|
||||
if($ttd->ettd==$request->ettd){
|
||||
$data->ttd_dpa = Carbon::now();
|
||||
$data->save();
|
||||
$this->cekettd($caseid);
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with(['success'=>'Terimakasih Telah Melakukan Tanda Tangan Pada CaseID '.$caseid]);
|
||||
}
|
||||
//jika ETTD Tidak sesuai Akan Dikembalikan Ke laman TTD Dengan error
|
||||
else{
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'E-TTD Tidak Sesuai, Cek Kembali ETTD Anda']);
|
||||
}
|
||||
}
|
||||
if($url=='penguji1'){
|
||||
//jika sudah pernah ETTD Akan Dikembalikan Ke laman TTD Dengan error
|
||||
if($data->ttd_penguji1!='-'){
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'CaseID Ini Sudah Pernah Anda Tandatangani Pada '.$data->ttd_penguji1]);
|
||||
}
|
||||
//ambil data ETTD sesuai url
|
||||
$ttd = Mahasiswa::where('nim',$request->nim)->join('users as dosen_penguji1','mahasiswas.dosen_penguji1_id','=','dosen_penguji1.id')->first();
|
||||
//jika Belum Pernah maka TTD akan diproses
|
||||
if($ttd->ettd==$request->ettd){
|
||||
$data->ttd_penguji1 = Carbon::now();
|
||||
$data->save();
|
||||
$this->cekettd($caseid);
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with(['success'=>'Terimakasih Telah Melakukan Tanda Tangan Pada CaseID '.$caseid]);
|
||||
}
|
||||
//jika ETTD Tidak sesuai Akan Dikembalikan Ke laman TTD Dengan error
|
||||
else{
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'E-TTD Tidak Sesuai, Cek Kembali ETTD Anda']);
|
||||
}
|
||||
}
|
||||
if($url=='penguji2'){
|
||||
//jika sudah pernah ETTD Akan Dikembalikan Ke laman TTD Dengan error
|
||||
if($data->ttd_penguji2!='-'){
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'CaseID Ini Sudah Pernah Anda Tandatangani Pada '.$data->ttd_penguji2]);
|
||||
}
|
||||
//ambil data ETTD sesuai url
|
||||
$ttd = Mahasiswa::where('nim',$request->nim)->join('users as dosen_penguji2','mahasiswas.dosen_penguji2_id','=','dosen_penguji2.id')->first();
|
||||
//jika Belum Pernah maka TTD akan diproses
|
||||
if($ttd->ettd==$request->ettd){
|
||||
$data->ttd_penguji2 = Carbon::now();
|
||||
$data->save();
|
||||
$this->cekettd($caseid);
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with(['success'=>'Terimakasih Telah Melakukan Tanda Tangan Pada CaseID '.$caseid]);
|
||||
}
|
||||
//jika ETTD Tidak sesuai Akan Dikembalikan Ke laman TTD Dengan error
|
||||
else{
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'E-TTD Tidak Sesuai, Cek Kembali ETTD Anda']);
|
||||
}
|
||||
}
|
||||
if($url=='kalab'){
|
||||
if($request->user_ettd=='Kalab. Farmasi Klinik dan Komunitas'){
|
||||
//jika sudah pernah ETTD Akan Dikembalikan Ke laman TTD Dengan error
|
||||
if($data->ttd_kalab_farmasi_klinik_dan_komunitas!='-'){
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'CaseID Ini Sudah Pernah Anda Tandatangani Pada '.$data->ttd_kalab_farmasi_klinik_dan_komunitas]);
|
||||
}
|
||||
//ambil data ETTD sesuai url
|
||||
$ttd = User::role($request->user_ettd)->first();
|
||||
//jika Belum Pernah maka TTD akan diproses
|
||||
if($ttd->ettd==$request->ettd){
|
||||
$data->ttd_kalab_farmasi_klinik_dan_komunitas = Carbon::now();
|
||||
$data->save();
|
||||
$this->cekettd($caseid);
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with(['success'=>'Terimakasih Telah Melakukan Tanda Tangan Pada CaseID '.$caseid]);
|
||||
}
|
||||
//jika ETTD Tidak sesuai Akan Dikembalikan Ke laman TTD Dengan error
|
||||
else{
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'E-TTD Tidak Sesuai, Cek Kembali ETTD Anda']);
|
||||
}
|
||||
}
|
||||
elseif($request->user_ettd=='Kalab. Farmakologi dan Hewan Coba'){
|
||||
//jika sudah pernah ETTD Akan Dikembalikan Ke laman TTD Dengan error
|
||||
if($data->ttd_kalab_farmakologi_dan_hewan_coba!='-'){
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'CaseID Ini Sudah Pernah Anda Tandatangani Pada '.$data->ttd_kalab_farmakologi_dan_hewan_coba]);
|
||||
}
|
||||
//ambil data ETTD sesuai url
|
||||
$ttd = User::role($request->user_ettd)->first();
|
||||
//jika Belum Pernah maka TTD akan diproses
|
||||
if($ttd->ettd==$request->ettd){
|
||||
$data->ttd_kalab_farmakologi_dan_hewan_coba = Carbon::now();
|
||||
$data->save();
|
||||
$this->cekettd($caseid);
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with(['success'=>'Terimakasih Telah Melakukan Tanda Tangan Pada CaseID '.$caseid]);
|
||||
}
|
||||
//jika ETTD Tidak sesuai Akan Dikembalikan Ke laman TTD Dengan error
|
||||
else{
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'E-TTD Tidak Sesuai, Cek Kembali ETTD Anda']);
|
||||
}
|
||||
}
|
||||
elseif($request->user_ettd=='Kalab. Farmakognosi dan Fitokimia'){
|
||||
//jika sudah pernah ETTD Akan Dikembalikan Ke laman TTD Dengan error
|
||||
if($data->ttd_kalab_farmakognosi_dan_fitokimia!='-'){
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'CaseID Ini Sudah Pernah Anda Tandatangani Pada '.$data->ttd_kalab_farmakognosi_dan_fitokimia]);
|
||||
}
|
||||
//ambil data ETTD sesuai url
|
||||
$ttd = User::role($request->user_ettd)->first();
|
||||
//jika Belum Pernah maka TTD akan diproses
|
||||
if($ttd->ettd==$request->ettd){
|
||||
$data->ttd_kalab_farmakognosi_dan_fitokimia = Carbon::now();
|
||||
$data->save();
|
||||
$this->cekettd($caseid);
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with(['success'=>'Terimakasih Telah Melakukan Tanda Tangan Pada CaseID '.$caseid]);
|
||||
}
|
||||
//jika ETTD Tidak sesuai Akan Dikembalikan Ke laman TTD Dengan error
|
||||
else{
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'E-TTD Tidak Sesuai, Cek Kembali ETTD Anda']);
|
||||
}
|
||||
}
|
||||
elseif($request->user_ettd=='Kalab. Mikrobiologi dan Bioteknologi Farmasi'){
|
||||
//jika sudah pernah ETTD Akan Dikembalikan Ke laman TTD Dengan error
|
||||
if($data->ttd_kalab_mikrobiologi_dan_bioteknologi_farmasi!='-'){
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'CaseID Ini Sudah Pernah Anda Tandatangani Pada '.$data->ttd_kalab_mikrobiologi_dan_bioteknologi_farmasi]);
|
||||
}
|
||||
//ambil data ETTD sesuai url
|
||||
$ttd = User::role($request->user_ettd)->first();
|
||||
//jika Belum Pernah maka TTD akan diproses
|
||||
if($ttd->ettd==$request->ettd){
|
||||
$data->ttd_kalab_mikrobiologi_dan_bioteknologi_farmasi = Carbon::now();
|
||||
$data->save();
|
||||
$this->cekettd($caseid);
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with(['success'=>'Terimakasih Telah Melakukan Tanda Tangan Pada CaseID '.$caseid]);
|
||||
}
|
||||
//jika ETTD Tidak sesuai Akan Dikembalikan Ke laman TTD Dengan error
|
||||
else{
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'E-TTD Tidak Sesuai, Cek Kembali ETTD Anda']);
|
||||
}
|
||||
}
|
||||
elseif($request->user_ettd=='Kalab. Farmasetika'){
|
||||
//jika sudah pernah ETTD Akan Dikembalikan Ke laman TTD Dengan error
|
||||
if($data->ttd_kalab_farmasetika!='-'){
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'CaseID Ini Sudah Pernah Anda Tandatangani Pada '.$data->ttd_kalab_farmasetika]);
|
||||
}
|
||||
//ambil data ETTD sesuai url
|
||||
$ttd = User::role($request->user_ettd)->first();
|
||||
//jika Belum Pernah maka TTD akan diproses
|
||||
if($ttd->ettd==$request->ettd){
|
||||
$data->ttd_kalab_farmasetika = Carbon::now();
|
||||
$data->save();
|
||||
$this->cekettd($caseid);
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with(['success'=>'Terimakasih Telah Melakukan Tanda Tangan Pada CaseID '.$caseid]);
|
||||
}
|
||||
//jika ETTD Tidak sesuai Akan Dikembalikan Ke laman TTD Dengan error
|
||||
else{
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'E-TTD Tidak Sesuai, Cek Kembali ETTD Anda']);
|
||||
}
|
||||
}
|
||||
elseif($request->user_ettd=='Kalab. Teknologi Farmasi'){
|
||||
//jika sudah pernah ETTD Akan Dikembalikan Ke laman TTD Dengan error
|
||||
if($data->ttd_kalab_teknologi_farmasi!='-'){
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'CaseID Ini Sudah Pernah Anda Tandatangani Pada '.$data->ttd_kalab_teknologi_farmasi]);
|
||||
}
|
||||
//ambil data ETTD sesuai url
|
||||
$ttd = User::role($request->user_ettd)->first();
|
||||
//jika Belum Pernah maka TTD akan diproses
|
||||
if($ttd->ettd==$request->ettd){
|
||||
$data->ttd_kalab_teknologi_farmasi = Carbon::now();
|
||||
$data->save();
|
||||
$this->cekettd($caseid);
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with(['success'=>'Terimakasih Telah Melakukan Tanda Tangan Pada CaseID '.$caseid]);
|
||||
}
|
||||
//jika ETTD Tidak sesuai Akan Dikembalikan Ke laman TTD Dengan error
|
||||
else{
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'E-TTD Tidak Sesuai, Cek Kembali ETTD Anda']);
|
||||
}
|
||||
}
|
||||
elseif($request->user_ettd=='Kalab. Kimia Analisis'){
|
||||
//jika sudah pernah ETTD Akan Dikembalikan Ke laman TTD Dengan error
|
||||
if($data->ttd_kalab_kimia_analisis!='-'){
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'CaseID Ini Sudah Pernah Anda Tandatangani Pada '.$data->ttd_kalab_kimia_analisis]);
|
||||
}
|
||||
//ambil data ETTD sesuai url
|
||||
$ttd = User::role($request->user_ettd)->first();
|
||||
//jika Belum Pernah maka TTD akan diproses
|
||||
if($ttd->ettd==$request->ettd){
|
||||
$data->ttd_kalab_kimia_analisis = Carbon::now();
|
||||
$data->save();
|
||||
$this->cekettd($caseid);
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with(['success'=>'Terimakasih Telah Melakukan Tanda Tangan Pada CaseID '.$caseid]);
|
||||
}
|
||||
//jika ETTD Tidak sesuai Akan Dikembalikan Ke laman TTD Dengan error
|
||||
else{
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'E-TTD Tidak Sesuai, Cek Kembali ETTD Anda']);
|
||||
}
|
||||
}
|
||||
elseif($request->user_ettd=='Kalab. Kimia Medisinal'){
|
||||
//jika sudah pernah ETTD Akan Dikembalikan Ke laman TTD Dengan error
|
||||
if($data->ttd_kalab_kimia_medisinal!='-'){
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'CaseID Ini Sudah Pernah Anda Tandatangani Pada '.$data->ttd_kalab_kimia_medisinal]);
|
||||
}
|
||||
//ambil data ETTD sesuai url
|
||||
$ttd = User::role($request->user_ettd)->first();
|
||||
//jika Belum Pernah maka TTD akan diproses
|
||||
if($ttd->ettd==$request->ettd){
|
||||
$data->ttd_kalab_kimia_medisinal = Carbon::now();
|
||||
$data->save();
|
||||
$this->cekettd($caseid);
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with(['success'=>'Terimakasih Telah Melakukan Tanda Tangan Pada CaseID '.$caseid]);
|
||||
}
|
||||
//jika ETTD Tidak sesuai Akan Dikembalikan Ke laman TTD Dengan error
|
||||
else{
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'E-TTD Tidak Sesuai, Cek Kembali ETTD Anda']);
|
||||
}
|
||||
}
|
||||
}
|
||||
if($url=='skpi'){
|
||||
//jika sudah pernah ETTD Akan Dikembalikan Ke laman TTD Dengan error
|
||||
if($data->ttd_skpi!='-'){
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'CaseID Ini Sudah Pernah Anda Tandatangani Pada '.$data->ttd_skpi]);
|
||||
}
|
||||
//ambil data ETTD sesuai url
|
||||
$ttd = User::where('id',$request->user_ettd)->role('Pj. SKPI')->first();
|
||||
//jika Belum Pernah maka TTD akan diproses
|
||||
if($ttd->ettd==$request->ettd){
|
||||
$data->ttd_skpi = $ttd->nip.'_TTD_'.Carbon::now();
|
||||
$data->save();
|
||||
$this->cekettd($caseid);
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with(['success'=>'Terimakasih Telah Melakukan Tanda Tangan Pada CaseID '.$caseid]);
|
||||
}
|
||||
//jika ETTD Tidak sesuai Akan Dikembalikan Ke laman TTD Dengan error
|
||||
else{
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'E-TTD Tidak Sesuai, Cek Kembali ETTD Anda']);
|
||||
}
|
||||
}
|
||||
if($url=='ruangbaca'){
|
||||
//jika sudah pernah ETTD Akan Dikembalikan Ke laman TTD Dengan error
|
||||
if($data->ttd_ruang_baca!='-'){
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'CaseID Ini Sudah Pernah Anda Tandatangani Pada '.$data->ttd_ruang_baca]);
|
||||
}
|
||||
//ambil data ETTD sesuai url
|
||||
$ttd = User::role('Pj. Perpustakaan')->first();
|
||||
//jika Belum Pernah maka TTD akan diproses
|
||||
if($ttd->ettd==$request->ettd){
|
||||
$data->ttd_ruang_baca = Carbon::now();
|
||||
$data->save();
|
||||
$this->cekettd($caseid);
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with(['success'=>'Terimakasih Telah Melakukan Tanda Tangan Pada CaseID '.$caseid]);
|
||||
}
|
||||
//jika ETTD Tidak sesuai Akan Dikembalikan Ke laman TTD Dengan error
|
||||
else{
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'E-TTD Tidak Sesuai, Cek Kembali ETTD Anda']);
|
||||
}
|
||||
}
|
||||
if($url=='wakildekan1'){
|
||||
//jika sudah pernah ETTD Akan Dikembalikan Ke laman TTD Dengan error
|
||||
if($data->ttd_wakil_dekan_1!='-'){
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'CaseID Ini Sudah Pernah Anda Tandatangani Pada '.$data->ttd_wakil_dekan_1]);
|
||||
}
|
||||
//ambil data ETTD sesuai url
|
||||
$ttd = User::role('Wakil Dekan 1')->first();
|
||||
//jika Belum Pernah maka TTD akan diproses
|
||||
if($ttd->ettd==$request->ettd){
|
||||
$data->ttd_wakil_dekan_1 = Carbon::now();
|
||||
$data->save();
|
||||
$job = [
|
||||
'jenis' => 'mahasiswa selesai',
|
||||
'id' => $data->id,
|
||||
];
|
||||
dispatch(new layananPengajuanWisudaJob($job));
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with(['success'=>'Terimakasih Telah Melakukan Tanda Tangan Pada CaseID '.$caseid]);
|
||||
}
|
||||
//jika ETTD Tidak sesuai Akan Dikembalikan Ke laman TTD Dengan error
|
||||
else{
|
||||
return redirect()->route('layanan-wisuda.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'E-TTD Tidak Sesuai, Cek Kembali ETTD Anda']);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function resend(){
|
||||
$role_untuk_ettd = ['dpu','dpa','penguji1','penguji2','skpi','kalab','ruangbaca','wakildekan1'];
|
||||
$data = PengajuanWisuda::where('caseid','!=','-')->get();
|
||||
return view('layanan-wisuda.resend',['title' => 'Pengajuan Syarat Wisuda | Admin Dashboard','data'=> $data,'role' => $role_untuk_ettd]);
|
||||
}
|
||||
|
||||
public function resendsubmit(Request $request){
|
||||
$data = [
|
||||
'jenis' => $request->jenis,
|
||||
'id' => $request->caseid,
|
||||
];
|
||||
dispatch(new layananPengajuanWisudaJob($data));
|
||||
return redirect()->route('layanan-wisuda.resend')->with('success','Berhasil Kirim Ulang Email ke '.$request->jenis);
|
||||
}
|
||||
|
||||
public function cetak($caseid){
|
||||
$cek_status = PengajuanWisuda::where('caseid', $caseid)->select('ttd_wakil_dekan_1', 'created_at')->first();
|
||||
if($cek_status->ttd_wakil_dekan_1 >= $cek_status->created_at){
|
||||
$data = PengajuanWisuda::where('caseid',$caseid)
|
||||
->select(
|
||||
'pengajuan_wisudas.*',
|
||||
'mahasiswas.nim',
|
||||
'mahasiswas.nama',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'dosen_dpu.nama_gelar as dosen_dpu_nama_gelar',
|
||||
'dosen_dpa.nama_gelar as dosen_dpa_nama_gelar',
|
||||
'dosen_penguji1.nama_gelar as dosen_penguji1_nama_gelar',
|
||||
'dosen_penguji2.nama_gelar as dosen_penguji2_nama_gelar',
|
||||
'dosen_dpu.nip as dosen_dpu_nip',
|
||||
'dosen_dpa.nip as dosen_dpa_nip',
|
||||
'dosen_penguji1.nip as dosen_penguji1_nip',
|
||||
'dosen_penguji2.nip as dosen_penguji2_nip',
|
||||
)
|
||||
->join('mahasiswas','mahasiswas_id','=','mahasiswas.id')
|
||||
->join('users as dosen_dpu','mahasiswas.dosen_dpu_id','=','dosen_dpu.id')
|
||||
->join('users as dosen_dpa','mahasiswas.dosen_dpa_id','=','dosen_dpa.id')
|
||||
->join('users as dosen_penguji1','mahasiswas.dosen_penguji1_id','=','dosen_penguji1.id')
|
||||
->join('users as dosen_penguji2','mahasiswas.dosen_penguji2_id','=','dosen_penguji2.id')
|
||||
->first();
|
||||
|
||||
$data_ruang_baca = User::role('Pj. Perpustakaan')->first();
|
||||
$data_kalab_farmasi_klinik_dan_komunikasi = User::role('Kalab. Farmasi Klinik dan Komunitas')->first();
|
||||
$data_kalab_farmakologi_dan_hewan_coba = User::role('Kalab. Farmakologi dan Hewan Coba')->first();
|
||||
$data_kalab_farmakognosi_dan_fitokimia = User::role('Kalab. Farmakognosi dan Fitokimia')->first();
|
||||
$data_kalab_mikrobiologi_dan_bioteknologi_farmasi = User::role('Kalab. Mikrobiologi dan Bioteknologi Farmasi')->first();
|
||||
$data_kalab_farmasetika = User::role('Kalab. Farmasetika')->first();
|
||||
$data_kalab_teknologi_farmasi = User::role('Kalab. Teknologi Farmasi')->first();
|
||||
$data_kalab_kimia_analisis = User::role('Kalab. Kimia Analisis')->first();
|
||||
$data_kalab_kimia_medisinal = User::role('Kalab. Kimia Medisinal')->first();
|
||||
|
||||
$user_skpi = explode('_',$data->ttd_skpi);
|
||||
$data_skpi = User::where('nip',$user_skpi[0])->first();
|
||||
|
||||
$data_wakil_dekan_1 = User::role('Wakil Dekan 1')->first();
|
||||
|
||||
$data_pdf = [
|
||||
'title' => $caseid,
|
||||
'nama_mahasiswa'=> $data->nama,
|
||||
'nim'=> $data->nim,
|
||||
'judul_skripsi'=> $data->judul_skripsi_id,
|
||||
'date' => $data->updated_at->format('d-m-Y'),
|
||||
//ruang baca
|
||||
'ruang_baca_nama' => $data_ruang_baca->nama_gelar,
|
||||
'ruang_baca_nip' => $data_ruang_baca->nip,
|
||||
'ruang_baca_qrcode' => base64_encode(QrCode::size(100)->generate($data_ruang_baca->nama_gelar.'_TTD_'.$data->ttd_ruang_baca)),
|
||||
//kalab fkk
|
||||
'kalab_farmasi_klinik_dan_komunikasi_nama' => $data_kalab_farmasi_klinik_dan_komunikasi->nama_gelar,
|
||||
'kalab_farmasi_klinik_dan_komunikasi_nip' => $data_kalab_farmasi_klinik_dan_komunikasi->nip,
|
||||
'kalab_farmasi_klinik_dan_komunikasi_qrcode' => base64_encode(QrCode::size(75)->generate($data_kalab_farmasi_klinik_dan_komunikasi->nama_gelar.'_TTD_'.$data->ttd_kalab_farmasi_klinik_dan_komunikasi)),
|
||||
//kalab farmakologi
|
||||
'kalab_farmakologi_dan_hewan_coba_nama' => $data_kalab_farmakologi_dan_hewan_coba->nama_gelar,
|
||||
'kalab_farmakologi_dan_hewan_coba_nip' => $data_kalab_farmakologi_dan_hewan_coba->nip,
|
||||
'kalab_farmakologi_dan_hewan_coba_qrcode' => base64_encode(QrCode::size(75)->generate($data_kalab_farmakologi_dan_hewan_coba->nama_gelar.'_TTD_'.$data->ttd_kalab_farmakologi_dan_hewan_coba)),
|
||||
//kalab farmakognosi
|
||||
'kalab_farmakognosi_dan_fitokimia_nama' => $data_kalab_farmakognosi_dan_fitokimia->nama_gelar,
|
||||
'kalab_farmakognosi_dan_fitokimia_nip' => $data_kalab_farmakognosi_dan_fitokimia->nip,
|
||||
'kalab_farmakognosi_dan_fitokimia_qrcode' => base64_encode(QrCode::size(75)->generate($data_kalab_farmakognosi_dan_fitokimia->nama_gelar.'_TTD_'.$data->ttd_kalab_farmakognosi_dan_fitokimia)),
|
||||
//kalab Mikrobiologi dan Bioteknologi Farmasi
|
||||
'kalab_mikrobiologi_dan_bioteknologi_farmasi_nama' => $data_kalab_mikrobiologi_dan_bioteknologi_farmasi->nama_gelar,
|
||||
'kalab_mikrobiologi_dan_bioteknologi_farmasi_nip' => $data_kalab_mikrobiologi_dan_bioteknologi_farmasi->nip,
|
||||
'kalab_mikrobiologi_dan_bioteknologi_farmasi_qrcode' => base64_encode(QrCode::size(75)->generate($data_kalab_mikrobiologi_dan_bioteknologi_farmasi->nama_gelar.'_TTD_'.$data->ttd_kalab_mikrobiologi_dan_bioteknologi_farmasi)),
|
||||
//kalab Farmasetika
|
||||
'kalab_farmasetika_nama' => $data_kalab_farmasetika->nama_gelar,
|
||||
'kalab_farmasetika_nip' => $data_kalab_farmasetika->nip,
|
||||
'kalab_farmasetika_qrcode' => base64_encode(QrCode::size(75)->generate($data_kalab_farmasetika->nama_gelar.'_TTD_'.$data->ttd_kalab_farmasetika)),
|
||||
//kalab Teknologi Farmasi
|
||||
'kalab_teknologi_farmasi_nama' => $data_kalab_teknologi_farmasi->nama_gelar,
|
||||
'kalab_teknologi_farmasi_nip' => $data_kalab_teknologi_farmasi->nip,
|
||||
'kalab_teknologi_farmasi_qrcode' => base64_encode(QrCode::size(75)->generate($data_kalab_teknologi_farmasi->nama_gelar.'_TTD_'.$data->ttd_kalab_teknologi_farmasi)),
|
||||
//kalab Kimia Analisis
|
||||
'kalab_kimia_analisis_nama' => $data_kalab_kimia_analisis->nama_gelar,
|
||||
'kalab_kimia_analisis_nip' => $data_kalab_kimia_analisis->nip,
|
||||
'kalab_kimia_analisis_qrcode' => base64_encode(QrCode::size(75)->generate($data_kalab_kimia_analisis->nama_gelar.'_TTD_'.$data->ttd_kalab_kimia_analisis)),
|
||||
//kalab Kimia Medisinal
|
||||
'kalab_kimia_medisinal_nama' => $data_kalab_kimia_medisinal->nama_gelar,
|
||||
'kalab_kimia_medisinal_nip' => $data_kalab_kimia_medisinal->nip,
|
||||
'kalab_kimia_medisinal_qrcode' => base64_encode(QrCode::size(75)->generate($data_kalab_kimia_medisinal->nama_gelar.'_TTD_'.$data->ttd_kalab_kimia_medisinal)),
|
||||
//kalab Kimia Medisinal
|
||||
'skpi_nama' => $data_skpi->nama_gelar,
|
||||
'skpi_nip' => $data_skpi->nip,
|
||||
'skpi_qrcode' => base64_encode(QrCode::size(75)->generate($data->ttd_kalab_kimia_medisinal)),
|
||||
//Wakil Dekan 1
|
||||
'wakil_dekan_1_nama' => $data_wakil_dekan_1->nama_gelar,
|
||||
'wakil_dekan_1_nip' => $data_wakil_dekan_1->nip,
|
||||
'wakil_dekan_1_qrcode' => base64_encode(QrCode::size(75)->generate($data_wakil_dekan_1->nama_gelar.'_TTD_'.$data->ttd_wakil_dekan_1)),
|
||||
//dosen dpu
|
||||
'dosen_dpu_nama' => $data->dosen_dpu_nama_gelar,
|
||||
'dosen_dpu_nip' => $data->dosen_dpu_nip,
|
||||
'dosen_dpu_qrcode' => base64_encode(QrCode::size(75)->generate($data->dosen_dpu_nama_gelar.'_TTD_'.$data->ttd_wakil_dekan_1)),
|
||||
//dosen dpa
|
||||
'dosen_dpa_nama' => $data->dosen_dpa_nama_gelar,
|
||||
'dosen_dpa_nip' => $data->dosen_dpa_nip,
|
||||
'dosen_dpa_qrcode' => base64_encode(QrCode::size(75)->generate($data->dosen_dpa_nama_gelar.'_TTD_'.$data->ttd_wakil_dekan_1)),
|
||||
//dosen penguji1
|
||||
'dosen_penguji1_nama' => $data->dosen_penguji1_nama_gelar,
|
||||
'dosen_penguji1_nip' => $data->dosen_penguji1_nip,
|
||||
'dosen_penguji1_qrcode' => base64_encode(QrCode::size(75)->generate($data->dosen_penguji1_nama_gelar.'_TTD_'.$data->ttd_wakil_dekan_1)),
|
||||
//dosen penguji2
|
||||
'dosen_penguji2_nama' => $data->dosen_penguji2_nama_gelar,
|
||||
'dosen_penguji2_nip' => $data->dosen_penguji2_nip,
|
||||
'dosen_penguji2_qrcode' => base64_encode(QrCode::size(75)->generate($data->dosen_penguji2_nama_gelar.'_TTD_'.$data->ttd_wakil_dekan_1)),
|
||||
//operator
|
||||
'operator_qrcode' => base64_encode(QrCode::size(75)->generate($data_wakil_dekan_1->nama_gelar.'_TTD_'.$data->ttd_wakil_dekan_1)),
|
||||
];
|
||||
$pdf = Pdf::loadView('layanan-wisuda.cetak', $data_pdf);
|
||||
return $pdf->setPaper('a4', 'potrait')->download($caseid.'-Persetujuan Yudisium.pdf');
|
||||
}
|
||||
return 'Case ID Belum di Tanda Tangan oleh seluruh komponen';
|
||||
}
|
||||
|
||||
public function cekettd($caseid){
|
||||
$status = PengajuanWisuda::where('caseid',$caseid)
|
||||
->first();
|
||||
if($status->ttd_dpu!='-' &&
|
||||
$status->ttd_dpa!='-' &&
|
||||
$status->ttd_penguji1!='-' &&
|
||||
$status->ttd_penguji2!='-' &&
|
||||
$status->ttd_kalab_farmasi_klinik_dan_komunitas!='-' &&
|
||||
$status->ttd_kalab_farmakologi_dan_hewan_coba!='-' &&
|
||||
$status->ttd_kalab_farmakognosi_dan_fitokimia!='-' &&
|
||||
$status->ttd_kalab_mikrobiologi_dan_bioteknologi_farmasi!='-' &&
|
||||
$status->ttd_kalab_farmasetika!='-' &&
|
||||
$status->ttd_kalab_teknologi_farmasi!='-' &&
|
||||
$status->ttd_kalab_kimia_analisis!='-' &&
|
||||
$status->ttd_kalab_kimia_medisinal!='-' &&
|
||||
$status->ttd_ruang_baca!='-' &&
|
||||
$status->ttd_skpi!='-' ){
|
||||
$data = [
|
||||
'jenis' => 'wakildekan1',
|
||||
'id' => $status->id,
|
||||
];
|
||||
dispatch(new layananPengajuanWisudaJob($data));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
415
app/Http/Controllers/LayananRevisiPublikasiController.php
Normal file
415
app/Http/Controllers/LayananRevisiPublikasiController.php
Normal file
|
@ -0,0 +1,415 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Jobs\kirimNotifikasiErrorJob;
|
||||
use App\Jobs\layananRevisiPublikasiJob;
|
||||
use App\Models\Bagian;
|
||||
use App\Models\Mahasiswa;
|
||||
use App\Models\PengajuanRevisiPublikasi;
|
||||
use App\Models\User;
|
||||
use Barryvdh\DomPDF\Facade\Pdf;
|
||||
use Carbon\Carbon;
|
||||
use Exception;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use SimpleSoftwareIO\QrCode\Facades\QrCode;
|
||||
|
||||
class LayananRevisiPublikasiController extends Controller
|
||||
{
|
||||
|
||||
public function index(){
|
||||
$data = PengajuanRevisiPublikasi::
|
||||
select('pengajuan_revisi_publikasis.*',
|
||||
'mahasiswas.nim as nim',
|
||||
'mahasiswas.nama as nama',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.judul_jurnal',
|
||||
'mahasiswas.judul_artikel',
|
||||
'dosen_dpu.nama_gelar as dpu_nama_gelar',
|
||||
'dosen_penguji1.nama_gelar as penguji1_nama_gelar',
|
||||
'dosen_penguji2.nama_gelar as penguji2_nama_gelar'
|
||||
)
|
||||
->join('mahasiswas','mahasiswas_id','=','mahasiswas.id')
|
||||
->join('users as dosen_dpu','mahasiswas.dosen_dpu_id','=','dosen_dpu.id')
|
||||
->join('users as dosen_penguji1','mahasiswas.dosen_penguji1_id','=','dosen_penguji1.id')
|
||||
->join('users as dosen_penguji2','mahasiswas.dosen_penguji2_id','=','dosen_penguji2.id')
|
||||
->get();
|
||||
return view('layanan-revisipublikasi.index',['title' => 'Pengajuan Publikasi / Revisi | Admin Dashboard','data' => $data]);
|
||||
}
|
||||
|
||||
public function tambah(){
|
||||
//ambil data dosen, dan laboratorium
|
||||
$dosen = User::role('Dosen')->get();
|
||||
$bagian = Bagian::select('id','nama_bagian')->get();
|
||||
//cek apakah ada data mahasiswa dari hasil cari
|
||||
$nim = session('mahasiswas_id');
|
||||
if($nim!=null){
|
||||
$data_mahasiswa = Mahasiswa::find($nim);
|
||||
return view('layanan-revisipublikasi.tambah',['dosen'=>$dosen, 'bagian'=>$bagian,'data_mahasiswa'=>$data_mahasiswa]);
|
||||
}
|
||||
return view('layanan-revisipublikasi.tambah',['dosen'=>$dosen, 'bagian'=>$bagian]);
|
||||
}
|
||||
|
||||
public function cari(){
|
||||
return view('layanan-revisipublikasi.cari',['title'=>'Cari Data Mahasiswa Untuk Keperluan Pengajuan Publikasi / Revisi']);
|
||||
}
|
||||
|
||||
public function search(Request $request){
|
||||
$data = Mahasiswa::where('nim',$request->nim)->first();
|
||||
if($data==null){
|
||||
return redirect()->route('layanan-revisipublikasi.tambah')->with('error','NIM Tidak Ditemukan, Gunakan Fitur Tambah');
|
||||
}
|
||||
return redirect()->route('layanan-revisipublikasi.tambah')->with('mahasiswas_id',$data->id);
|
||||
}
|
||||
|
||||
public function store(Request $request){
|
||||
|
||||
$request->validate([
|
||||
'nim'=>'required|numeric',
|
||||
'nama'=>'required',
|
||||
'nomor_hp'=>'required|numeric',
|
||||
'email'=>'required|email',
|
||||
'judul_skripsi_id'=>'required',
|
||||
'judul_jurnal'=>'required',
|
||||
'judul_artikel'=>'required',
|
||||
'bagian'=>'required|numeric',
|
||||
'dosen_dpu'=>'required|numeric',
|
||||
'dosen_dpa'=>'required|numeric',
|
||||
'dosen_penguji1'=>'required|numeric',
|
||||
'dosen_penguji2'=>'required|numeric',
|
||||
],[
|
||||
'nim.required'=>'NIP Wajib Diisi',
|
||||
'nim.numeric'=>'NIM Wajib Berisi Angka saja',
|
||||
'nomor_hp.numeric'=>'Nomor HP Wajib Menggunakan Angka, Contoh 089xxxxx',
|
||||
'email.email'=>'Format email tidak sesuai, cek lagi email anda, Contoh mahasiswa@gmail.com/ mahasiswa@mail.unej.ac.id',
|
||||
'bagian.numeric'=>'Bagian tidak valid, cek kembali Bagian yang dipilih',
|
||||
'dosen_dpu.numeric'=>'Dosen Pembimbing tidak valid, cek kembali Dosen Pembimbing Utama yang dipilih',
|
||||
'dosen_dpa.numeric'=>'Dosen Pembimbing tidak valid, cek kembali Dosen Pembimbing Anggota yang dipilih',
|
||||
'dosen_penguji1.numeric'=>'Dosen Penguji tidak valid, cek kembali Dosen Penguji Utama yang dipilih',
|
||||
'dosen_penguji2.numeric'=>'Dosen Penguji tidak valid, cek kembali Dosen Penguji Anggota yang dipilih',
|
||||
]);
|
||||
|
||||
//cek apakah data mahasiswa ada, jika ada maka dikembalikan dan dianjurkan menggunakan fitur cari
|
||||
$mahasiswa = Mahasiswa::where('nim',$request->nim)->first();
|
||||
if(!is_null($mahasiswa) && $request->status!="ada"){
|
||||
return redirect()->route('layanan-revisipublikasi.tambah')->with('error','Data Anda Sudah Ada, Gunakan Fitur Cari Menggunakan NIM :'.$request->nim);
|
||||
}
|
||||
//kalo menggunakan fitur cari, akan menggunakan fungsi ini
|
||||
elseif(!is_null($mahasiswa) && $request->status=="ada"){
|
||||
$mahasiswas_id = $mahasiswa->id;
|
||||
$data_revisipublikasi['mahasiswas_id'] = $mahasiswas_id;
|
||||
//save data pengajuan
|
||||
PengajuanRevisiPublikasi::create($data_revisipublikasi);
|
||||
//update data mahasiswa
|
||||
$mahasiswa->dosen_penguji1_id = $request->dosen_penguji1;
|
||||
$mahasiswa->dosen_penguji2_id = $request->dosen_penguji2;
|
||||
$mahasiswa->judul_skripsi_id = $request->judul_skripsi_id;
|
||||
$mahasiswa->judul_artikel = $request->judul_artikel;
|
||||
$mahasiswa->judul_jurnal = $request->judul_jurnal;
|
||||
$mahasiswa->save();
|
||||
|
||||
return redirect()->route('layanan-revisipublikasi.tambah')->with('success','Sukses Tambah Data, Silahkan Menunggu Email Konfirmasi setelah disetujui Oleh Operator');
|
||||
}
|
||||
|
||||
//jika data belum ada, maka create data baru
|
||||
$data_mhs['nim'] = $request->nim;
|
||||
$data_mhs['nama'] = $request->nama;
|
||||
$data_mhs['nomor_hp'] = $request->nomor_hp;
|
||||
$data_mhs['email'] = $request->email;
|
||||
$data_mhs['judul_seminar_proposal'] = '-';
|
||||
$data_mhs['bagian'] = $request->bagian;
|
||||
$data_mhs['dosen_dpu_id'] = $request->dosen_dpu;
|
||||
$data_mhs['dosen_dpa_id'] = $request->dosen_dpa;
|
||||
$data_mhs['dosen_penguji1_id'] = $request->dosen_penguji1;
|
||||
$data_mhs['dosen_penguji2_id'] = $request->dosen_penguji2;
|
||||
//set default values to -
|
||||
$data_mhs['judul_skripsi_id'] = $request->judul_skripsi_id;
|
||||
$data_mhs['judul_skripsi_en'] = '-';
|
||||
$data_mhs['judul_jurnal'] = $request->judul_jurnal;
|
||||
$data_mhs['judul_artikel'] = $request->judul_artikel;
|
||||
|
||||
//save data mahasiswa dan pengajuan
|
||||
if(Mahasiswa::create($data_mhs)){
|
||||
$mahasiswas_id = Mahasiswa::where('nim',$request->nim)->first();
|
||||
$data_revisipublikasi['mahasiswas_id'] = $mahasiswas_id->id;
|
||||
//save data pengajuan
|
||||
PengajuanRevisiPublikasi::create($data_revisipublikasi);
|
||||
|
||||
return redirect()->route('layanan-revisipublikasi.tambah')->with('success','Sukses Tambah Data, Silahkan Menunggu Email Konfirmasi setelah disetujui Oleh Operator');
|
||||
}
|
||||
return redirect()->route('layanan-revisipublikasi.tambah')->with('error','Gagal Tambah data, Cek kembali data yang anda masukkan');
|
||||
}
|
||||
|
||||
public function terima(Request $request){
|
||||
$id = $request->id;
|
||||
$countcaseid = PengajuanRevisiPublikasi::where('ttd_operator','!=','-')->count();
|
||||
$caseid = "LR".date_format(date_create(),"ym").$countcaseid+1;
|
||||
|
||||
$cekData = PengajuanRevisiPublikasi::where('caseid',$caseid)->first();
|
||||
$data = PengajuanRevisiPublikasi::where('id',$id)->first();
|
||||
//cek apakah ada caseid yang sama sebelum disave
|
||||
if(!is_null($cekData)){
|
||||
$data->updated_at = Carbon::now();
|
||||
$data->save();
|
||||
return redirect()->route('layanan-revisipublikasi.index')->with('error','Gagal simpan Data, Cek kembali Detail Data yang akan diterima');
|
||||
}
|
||||
|
||||
$data->caseid = $caseid;
|
||||
$data->ttd_operator = Carbon::now();
|
||||
if($data->save()){
|
||||
$data_job = [
|
||||
[
|
||||
'jenis' => 'mahasiswa',
|
||||
'id' => $id,
|
||||
],
|
||||
[
|
||||
'jenis' => 'dpu',
|
||||
'id' => $id,
|
||||
],
|
||||
[
|
||||
'jenis' => 'penguji1',
|
||||
'id' => $id,
|
||||
],
|
||||
[
|
||||
'jenis' => 'penguji2',
|
||||
'id' => $id,
|
||||
],
|
||||
];
|
||||
foreach($data_job as $item){
|
||||
dispatch(new layananRevisiPublikasiJob($item));
|
||||
}
|
||||
return redirect()->route('layanan-revisipublikasi.index')->with('success','Data Berhasil Disimpan, Email Akan Dikirimkan ke Mahasiswa, DPU, Penguji Utama dan Penguji Anggota ');
|
||||
}
|
||||
}
|
||||
|
||||
public function destroy(Request $request){
|
||||
$id = $request->id;
|
||||
//cari data dan kirim notif sebelum dihapus
|
||||
$data = PengajuanRevisiPublikasi::where('pengajuan_revisi_publikasis.id',$id)
|
||||
->join('mahasiswas','mahasiswas_id','=','mahasiswas.id')
|
||||
->first();
|
||||
//data yang akan dikirim untuk dihapus
|
||||
$data_job = [
|
||||
'jenis' => 'penolakan',
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama,
|
||||
'nim_mahasiswa' => $data->nim,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'judul_jurnal' => $data->judul_jurnal,
|
||||
'judul_artikel' => $data->judul_artikel,
|
||||
'email' => $data->email,
|
||||
'created_at' => $data->created_at,
|
||||
'alasan' => $request->alasan,
|
||||
];
|
||||
|
||||
//delete data mahasiswa
|
||||
try {
|
||||
$dataDelete = PengajuanRevisiPublikasi::findOrFail($id);
|
||||
$dataDelete->delete();
|
||||
//kirim notif ke mahasiswa bahwa ditolak
|
||||
dispatch(new layananRevisiPublikasiJob($data_job));
|
||||
|
||||
}catch(Exception $e){
|
||||
//kirim notif error jika terjadi error
|
||||
$text['error'] = $e->getMessage();
|
||||
dispatch(new kirimNotifikasiErrorJob($text));
|
||||
|
||||
return redirect()->route('layanan-revisipublikasi.index')->with('error','Error : '.$text['error']);
|
||||
}
|
||||
return redirect()->route('layanan-revisipublikasi.index')->with('success','Permintaan Sudah Diproses, Email akan segera dikirim ke penerima');
|
||||
}
|
||||
|
||||
public function resend($caseid, Request $request){
|
||||
try{
|
||||
$data = PengajuanRevisiPublikasi::where('caseid',$caseid)->first();
|
||||
$data_job = [
|
||||
'id' => $data->id,
|
||||
'jenis' => $request->jenis,
|
||||
];
|
||||
dispatch(new layananRevisiPublikasiJob($data_job));
|
||||
}catch(Exception $e){
|
||||
$text['error'] = $e->getMessage();
|
||||
dispatch(new kirimNotifikasiErrorJob($text));
|
||||
|
||||
return redirect()->route('layanan-revisipublikasi.index')->with('error','Error : '.$text['error']);
|
||||
}
|
||||
return redirect()->route('layanan-revisipublikasi.index')->with('success','Berhasil Kirim Ulang Email Kepada '.$request->jenis.' Dengan CaseID : '.$caseid);
|
||||
|
||||
}
|
||||
|
||||
public function ettd($url, $caseid){
|
||||
$role_untuk_ettd = ['dpu', 'penguji1', 'penguji2'];
|
||||
$data = PengajuanRevisiPublikasi::where('caseid','=',$caseid)
|
||||
->select('pengajuan_revisi_publikasis.id',
|
||||
'pengajuan_revisi_publikasis.caseid',
|
||||
'mahasiswas.nama',
|
||||
'mahasiswas.nim',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.judul_jurnal',
|
||||
'mahasiswas.judul_artikel',
|
||||
'dosen_dpu.nama_gelar as dosen_dpu_nama_gelar',
|
||||
'dosen_penguji1.nama_gelar as dosen_penguji1_nama_gelar',
|
||||
'dosen_penguji2.nama_gelar as dosen_penguji2_nama_gelar',
|
||||
)
|
||||
->join('mahasiswas','pengajuan_revisi_publikasis.mahasiswas_id','=','mahasiswas.id')
|
||||
->join('users as dosen_dpu','mahasiswas.dosen_dpu_id','=','dosen_dpu.id')
|
||||
->join('users as dosen_penguji1','mahasiswas.dosen_penguji1_id','=','dosen_penguji1.id')
|
||||
->join('users as dosen_penguji2','mahasiswas.dosen_penguji2_id','=','dosen_penguji2.id')
|
||||
->first();
|
||||
if(in_array($url, $role_untuk_ettd) && !is_null($data)){
|
||||
//jika URL DPU maka render ini
|
||||
if($url=='dpu'){
|
||||
$jenis = 'Dosen Pembimbing Utama';
|
||||
return view('layanan-revisipublikasi.ettd',['title'=> 'INPUT E-Signature','jenis'=>$jenis,'data'=> $data]);
|
||||
}
|
||||
//jika URL Penguji Utama maka render ini
|
||||
elseif($url=='penguji1'){
|
||||
$jenis = 'Dosen Penguji Utama';
|
||||
return view('layanan-revisipublikasi.ettd',['title'=> 'INPUT E-Signature','jenis'=>$jenis,'data'=> $data]);
|
||||
}
|
||||
//jika URL Penguji Anggota maka render ini
|
||||
elseif($url=='penguji2'){
|
||||
$jenis = 'Dosen Penguji Anggota';
|
||||
return view('layanan-revisipublikasi.ettd',['title'=> 'INPUT E-Signature','jenis'=>$jenis,'data'=> $data]);
|
||||
}
|
||||
}
|
||||
//jika URL tidak diantara ketika itu maka render ini
|
||||
return redirect()->route('laman-awal')->with(['error'=>'Invalid CASEID, Atau CaseID Tidak Ditemukan']);
|
||||
}
|
||||
|
||||
public function submitettd($url, $caseid, Request $request){
|
||||
$role_untuk_ettd = ['dpu','penguji1', 'penguji2'];
|
||||
$data = PengajuanRevisiPublikasi::where('caseid','=',$caseid)->first();
|
||||
if(in_array($url, $role_untuk_ettd) && !is_null($data)){
|
||||
//jika URL DPU maka render ini
|
||||
if($url=='dpu'){
|
||||
//jika sudah pernah ETTD Akan Dikembalikan Ke laman TTD Dengan error
|
||||
if($data->ttd_dpu!='-'){
|
||||
return redirect()->route('layanan-revisipublikasi.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'CaseID Ini Sudah Pernah Anda Tandatangani Pada '.$data->ttd_dpu]);
|
||||
}
|
||||
//ambil data ETTD sesuai url
|
||||
$ttd = Mahasiswa::where('nim',$request->nim)->join('users as dosen_dpu','mahasiswas.dosen_dpu_id','=','dosen_dpu.id')->first();
|
||||
//jika Belum Pernah maka TTD akan diproses
|
||||
if($ttd->ettd==$request->ettd){
|
||||
$data->ttd_dpu = Carbon::now();
|
||||
$data->save();
|
||||
$this->cek_ettd($caseid);
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with(['success'=>'Terimakasih Telah Melakukan Tanda Tangan Pada CaseID '.$caseid]);
|
||||
}
|
||||
//jika ETTD Tidak sesuai Akan Dikembalikan Ke laman TTD Dengan error
|
||||
else{
|
||||
return redirect()->route('layanan-revisipublikasi.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'E-TTD Tidak Sesuai, Cek Kembali ETTD Anda']);
|
||||
}
|
||||
}
|
||||
//jika URL Penguji Utama maka render ini
|
||||
elseif($url=='penguji1'){
|
||||
//jika sudah pernah ETTD Akan Dikembalikan Ke laman TTD Dengan error
|
||||
if($data->ttd_penguji1!='-'){
|
||||
return redirect()->route('layanan-revisipublikasi.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'CaseID Ini Sudah Pernah Anda Tandatangani Pada '.$data->ttd_penguji1]);
|
||||
}
|
||||
//ambil data ETTD sesuai url
|
||||
$ttd = Mahasiswa::where('nim',$request->nim)->join('users as dosen_penguji1','mahasiswas.dosen_penguji1_id','=','dosen_penguji1.id')->first();
|
||||
//jika Belum Pernah maka TTD akan diproses
|
||||
if($ttd->ettd==$request->ettd){
|
||||
$data->ttd_penguji1 = Carbon::now();
|
||||
$data->save();
|
||||
$this->cek_ettd($caseid);
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with(['success'=>'Terimakasih Telah Melakukan Tanda Tangan Pada CaseID '.$caseid]);
|
||||
}
|
||||
//jika ETTD Tidak sesuai Akan Dikembalikan Ke laman TTD Dengan error
|
||||
else{
|
||||
return redirect()->route('layanan-revisipublikasi.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'E-TTD Tidak Sesuai, Cek Kembali ETTD Anda']);
|
||||
}
|
||||
}
|
||||
//jika URL Penguji Anggota maka render ini
|
||||
elseif($url=='penguji2'){
|
||||
//jika sudah pernah ETTD Akan Dikembalikan Ke laman TTD Dengan error
|
||||
if($data->ttd_penguji2!='-'){
|
||||
return redirect()->route('layanan-revisipublikasi.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'CaseID Ini Sudah Pernah Anda Tandatangani Pada '.$data->ttd_penguji2]);
|
||||
}
|
||||
//ambil data ETTD sesuai url
|
||||
$ttd = Mahasiswa::where('nim',$request->nim)->join('users as dosen_penguji2','mahasiswas.dosen_penguji2_id','=','dosen_penguji2.id')->first();
|
||||
//jika Belum Pernah maka TTD akan diproses
|
||||
if($ttd->ettd==$request->ettd){
|
||||
$data->ttd_penguji2 = Carbon::now();
|
||||
$data->save();
|
||||
$this->cek_ettd($caseid);
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with(['success'=>'Terimakasih Telah Melakukan Tanda Tangan Pada CaseID '.$caseid]);
|
||||
}
|
||||
//jika ETTD Tidak sesuai Akan Dikembalikan Ke laman TTD Dengan error
|
||||
else{
|
||||
return redirect()->route('layanan-revisipublikasi.ettd',['url'=>$url, 'caseid'=>$caseid])->with(['error'=>'E-TTD Tidak Sesuai, Cek Kembali ETTD Anda']);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function cetak($caseid){
|
||||
$data = PengajuanRevisiPublikasi::where('caseid', $caseid)
|
||||
->select(
|
||||
'pengajuan_revisi_publikasis.*',
|
||||
'mahasiswas.nama',
|
||||
'bagians.nama_bagian',
|
||||
'mahasiswas.nim',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.judul_jurnal',
|
||||
'mahasiswas.judul_artikel',
|
||||
'dosen_dpu.nama_gelar as dosen_dpu_nama_gelar',
|
||||
'dosen_dpu.nip as dosen_dpu_nip',
|
||||
'dosen_penguji1.nama_gelar as dosen_penguji1_nama_gelar',
|
||||
'dosen_penguji1.nip as dosen_penguji1_nip',
|
||||
'dosen_penguji2.nama_gelar as dosen_penguji2_nama_gelar',
|
||||
'dosen_penguji2.nip as dosen_penguji2_nip',
|
||||
)
|
||||
->join('mahasiswas','pengajuan_revisi_publikasis.mahasiswas_id','=','mahasiswas.id')
|
||||
->join('bagians','mahasiswas.bagian','=','bagians.id')
|
||||
->join('users as dosen_dpu','mahasiswas.dosen_dpu_id','=','dosen_dpu.id')
|
||||
->join('users as dosen_penguji1','mahasiswas.dosen_penguji1_id','=','dosen_penguji1.id')
|
||||
->join('users as dosen_penguji2','mahasiswas.dosen_penguji2_id','=','dosen_penguji2.id')
|
||||
->first();
|
||||
if(is_null($data)){
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with('error','Data Dengan CASEID Tersebut Tidak ada');
|
||||
}
|
||||
|
||||
//jika data tidak null, maka render ini
|
||||
if($data->ttd_dpu=='-'){
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with('error','Data Belum Di TandaTangani Oleh DPU / Dosen Penguji Utama / Dosen Penguji Anggota, File Bisa didownload ketika sudah tanda tangan!');
|
||||
}
|
||||
|
||||
$data = [
|
||||
'title' => 'Cetak Kesediaan',
|
||||
// 'date' => Carbon::now()->format('d-m-Y'),
|
||||
'date' => $data->updated_at->format('d-m-Y'),
|
||||
'nama_mahasiswa' => $data->nama,
|
||||
'nim' => $data->nim,
|
||||
'bagian' => $data->nama_bagian,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'judul_jurnal' => $data->judul_jurnal,
|
||||
'judul_artikel' => $data->judul_artikel,
|
||||
'dosen_dpu_nama_gelar' => $data->dosen_dpu_nama_gelar,
|
||||
'dosen_dpu_nip' => $data->dosen_dpu_nip,
|
||||
'dosen_dpu_qrcode' => base64_encode(QrCode::size(100)->generate($data->dosen_dpu_nama_gelar.'_TTD_'.$data->ttd_dpu)),
|
||||
'dosen_penguji2_nama_gelar' => $data->dosen_penguji2_nama_gelar,
|
||||
'dosen_penguji2_nip' => $data->dosen_penguji2_nip,
|
||||
'dosen_penguji2_qrcode' => base64_encode(QrCode::size(100)->generate($data->dosen_penguji2_nama_gelar.'_TTD_'.$data->ttd_penguji2)),
|
||||
'dosen_penguji1_nama_gelar' => $data->dosen_penguji1_nama_gelar,
|
||||
'dosen_penguji1_nip' => $data->dosen_penguji1_nip,
|
||||
'dosen_penguji1_qrcode' => base64_encode(QrCode::size(100)->generate($data->dosen_penguji1_nama_gelar.'_TTD_'.$data->ttd_penguji1)),
|
||||
];
|
||||
$pdf = Pdf::loadView('layanan-revisipublikasi.cetak', $data);
|
||||
return $pdf->setPaper('a4', 'potrait')->download($caseid.'- Surat Pernyataan Publikasi.pdf');
|
||||
}
|
||||
|
||||
private function cek_ettd($caseid){
|
||||
$data = PengajuanRevisiPublikasi::where('caseid',$caseid)->first();
|
||||
if($data->ttd_dpu!='-' && $data->ttd_penguji1!='-' && $data->ttd_penguji2!='-' ){
|
||||
$data_job =[
|
||||
'jenis' => 'mahasiswa selesai',
|
||||
'id' => $data->id,
|
||||
];
|
||||
dispatch(new layananRevisiPublikasiJob($data_job));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -26,11 +26,9 @@ public function index(){
|
|||
'mahasiswas.nim as nim',
|
||||
'mahasiswas.nama as nama',
|
||||
'dosen_dpu.nama_gelar as dpu_nama_gelar',
|
||||
'dosen_dpa.nama_gelar as dpa_nama_gelar'
|
||||
)
|
||||
->join('mahasiswas','mahasiswas_id','=','mahasiswas.id')
|
||||
->join('users as dosen_dpu','mahasiswas.dosen_dpu_id','=','dosen_dpu.id')
|
||||
->join('users as dosen_dpa','mahasiswas.dosen_dpa_id','=','dosen_dpa.id')
|
||||
->get();
|
||||
return view('layanan-sempro.index',['title' => 'Pengajuan Seminar Proposal | Admin Dashboard','data' => $data]);
|
||||
}
|
||||
|
@ -153,11 +151,6 @@ public function store(Request $request){
|
|||
$data_mhs['judul_jurnal'] = '-';
|
||||
$data_mhs['judul_artikel'] = '-';
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//save data mahasiswa dan pengajuan
|
||||
if(Mahasiswa::create($data_mhs)){
|
||||
$mahasiswas_id = Mahasiswa::where('nim',$request->nim)->first();
|
||||
|
@ -180,7 +173,6 @@ public function store(Request $request){
|
|||
return redirect()->route('layanan-sempro.tambah')->with('success','Sukses Tambah Data, Silahkan Menunggu Email Konfirmasi setelah disetujui Oleh Operator');
|
||||
}
|
||||
return redirect()->route('layanan-sempro.tambah')->with('error','Gagal Tambah data, Cek kembali data yang anda masukkan');
|
||||
// $path = $request->nim.'/'.$file_transkrip_name;
|
||||
}
|
||||
|
||||
//done
|
||||
|
@ -193,7 +185,10 @@ public function destroy(Request $request){
|
|||
//data yang akan dikirim untuk dihapus
|
||||
$data_job = [
|
||||
'jenis' => 'penolakan',
|
||||
'nama' => $data->nama,
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama,
|
||||
'nim_mahasiswa' => $data->nim,
|
||||
'judul_seminar_proposal' => $data->judul_seminar_proposal,
|
||||
'email' => $data->email,
|
||||
'created_at' => $data->created_at,
|
||||
'alasan' => $request->alasan,
|
||||
|
@ -216,7 +211,8 @@ public function destroy(Request $request){
|
|||
catch(Exception $e){
|
||||
$text['error'] = $e->getMessage();
|
||||
dispatch(new kirimNotifikasiErrorJob($text));
|
||||
exit;
|
||||
|
||||
return redirect()->route('layanan-sempro.index')->with('error','Error : '.$text['error']);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -339,18 +335,18 @@ public function cetak($caseid){
|
|||
->join('bagians','mahasiswas.bagian','=','bagians.id')
|
||||
->join('users as dosen_dpu','mahasiswas.dosen_dpu_id','=','dosen_dpu.id')
|
||||
->first();
|
||||
if(is_null($data)){
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with('error','Data Dengan CASEID Tersebut Tidak ada');
|
||||
}
|
||||
//jika data tidak null, maka render ini
|
||||
if($data->ttd_dpu=='-'){
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with('error','Data Belum Di TandaTangani Oleh Dosen Pembimbing Utama, File Bisa didownload ketika DPU sudah tanda tangan!');
|
||||
}
|
||||
if(is_null($data)){
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with('error','Data Dengan CASEID Tersebut Tidak ada');
|
||||
}
|
||||
|
||||
$data = [
|
||||
'title' => 'Cetak Kesediaan',
|
||||
// 'date' => Carbon::now()->format('d-m-Y'),
|
||||
'date' => $data->created_at->format('d-m-Y'),
|
||||
'date' => $data->updated_at->format('d-m-Y'),
|
||||
'nama_mahasiswa' => $data->nama,
|
||||
'nim' => $data->nim,
|
||||
'bagian' => $data->nama_bagian,
|
||||
|
@ -361,9 +357,28 @@ public function cetak($caseid){
|
|||
'dosen_dpu_qrcode' => base64_encode(QrCode::size(100)->generate($data->dosen_dpu_nama_gelar.'_TTD_'.$data->ttd_dpu)),
|
||||
];
|
||||
$pdf = Pdf::loadView('layanan-sempro.cetak', $data);
|
||||
return $pdf->setPaper('a4', 'potrait')->stream($caseid.'-Kesediaan Menjadi Dosen Pembimbing Tugas Akhir');
|
||||
return $pdf->setPaper('a4', 'potrait')->download($caseid.'-Kesediaan Menjadi Dosen Pembimbing Tugas Akhir.pdf');
|
||||
|
||||
//jika URL tidak diantara ketika itu maka render ini
|
||||
|
||||
}
|
||||
|
||||
public function resend($caseid, Request $request){
|
||||
try{
|
||||
$data = PengajuanSempro::where('caseid',$caseid)->first();
|
||||
$data_job = [
|
||||
'id' => $data->id,
|
||||
'jenis' => $request->jenis,
|
||||
];
|
||||
dispatch(new layananSeminarProposalJob($data_job));
|
||||
}catch(Exception $e){
|
||||
$text['error'] = $e->getMessage();
|
||||
dispatch(new kirimNotifikasiErrorJob($text));
|
||||
|
||||
return redirect()->route('layanan-sempro.index')->with('error','Error : '.$text['error']);
|
||||
}
|
||||
return redirect()->route('layanan-sempro.index')->with('success','Berhasil Kirim Ulang Email Kepada '.$request->jenis.' Dengan CaseID : '.$caseid);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
382
app/Http/Controllers/LayananSidangAkhirController.php
Normal file
382
app/Http/Controllers/LayananSidangAkhirController.php
Normal file
|
@ -0,0 +1,382 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Jobs\kirimNotifikasiErrorJob;
|
||||
use App\Jobs\layananSidangAkhirJob;
|
||||
use App\Models\Bagian;
|
||||
use App\Models\Mahasiswa;
|
||||
use App\Models\PengajuanSidangAkhir;
|
||||
use App\Models\User;
|
||||
use Barryvdh\DomPDF\Facade\Pdf;
|
||||
use Carbon\Carbon;
|
||||
use Exception;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use SimpleSoftwareIO\QrCode\Facades\QrCode;
|
||||
|
||||
class LayananSidangAkhirController extends Controller
|
||||
{
|
||||
|
||||
public function index(){
|
||||
$data = PengajuanSidangAkhir::
|
||||
select(
|
||||
'pengajuan_sidang_akhirs.*',
|
||||
'mahasiswas.nama',
|
||||
'mahasiswas.nim',
|
||||
'dosen_dpu.nama_gelar as dpu_nama_gelar',
|
||||
)
|
||||
->join('mahasiswas','mahasiswas_id','=','mahasiswas.id')
|
||||
->join('users as dosen_dpu','mahasiswas.dosen_dpu_id','=','dosen_dpu.id')
|
||||
->get();
|
||||
return view('layanan-sidangakhir.index',['title' => 'Pengajuan Sidang Akhir | Admin Dashboard', 'data' => $data]);
|
||||
}
|
||||
|
||||
public function tambah(){
|
||||
$dosen = User::role('Dosen')->get();
|
||||
$bagian = Bagian::select('id','nama_bagian')->get();
|
||||
//cek apakah ada data mahasiswa dari hasil cari
|
||||
$nim = session('mahasiswas_id');
|
||||
if($nim!=null){
|
||||
$data_mahasiswa = Mahasiswa::find($nim);
|
||||
return view('layanan-sidangakhir.tambah',['dosen'=>$dosen, 'bagian'=>$bagian,'data_mahasiswa'=>$data_mahasiswa]);
|
||||
}
|
||||
return view('layanan-sidangakhir.tambah',['dosen'=>$dosen, 'bagian'=>$bagian]);
|
||||
}
|
||||
|
||||
public function cari(){
|
||||
return view('layanan-sidangakhir.cari',['title'=>'Cari Data Mahasiswa Untuk Keperluan Pengajuan Sidang Akhir']);
|
||||
}
|
||||
|
||||
public function search(Request $request){
|
||||
$data = Mahasiswa::where('nim',$request->nim)->first();
|
||||
if($data==null){
|
||||
return redirect()->route('layanan-sidangakhir.tambah')->with('error','NIM Tidak Ditemukan, Gunakan Fitur Tambah');
|
||||
}
|
||||
return redirect()->route('layanan-sidangakhir.tambah')->with('mahasiswas_id',$data->id);
|
||||
}
|
||||
|
||||
public function destroy(Request $request){
|
||||
$id = $request->id;
|
||||
//cari data dan kirim notif sebelum dihapus
|
||||
$data = PengajuanSidangAkhir::where('pengajuan_sidang_akhirs.id',$id)
|
||||
->join('mahasiswas','mahasiswas_id','=','mahasiswas.id')
|
||||
->first();
|
||||
//data yang akan dikirim untuk dihapus
|
||||
$data_job = [
|
||||
'jenis' => 'penolakan',
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama,
|
||||
'nim_mahasiswa' => $data->nim,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'judul_skripsi_en' => $data->judul_skripsi_en,
|
||||
'email' => $data->email,
|
||||
'created_at' => $data->created_at,
|
||||
'alasan' => $request->alasan,
|
||||
];
|
||||
//lokasi file
|
||||
$path = [
|
||||
'bukti_transkrip' => $data->nim."/".$data->bukti_transkrip,
|
||||
'bukti_turnitin' => $data->nim."/".$data->bukti_turnitin,
|
||||
'bukti_sister' => $data->nim."/".$data->bukti_sister,
|
||||
'bukti_lembar_monitoring' => $data->nim."/".$data->bukti_lembar_monitoring,
|
||||
'bukti_naskah_dosen_pembimbing' => $data->nim."/".$data->bukti_naskah_dosen_pembimbing,
|
||||
'bukti_naskah_dosen_penguji' => $data->nim."/".$data->bukti_naskah_dosen_penguji,
|
||||
];
|
||||
|
||||
//delete file
|
||||
foreach($path as $item){
|
||||
try {
|
||||
Storage::disk('public')->delete($item);
|
||||
}
|
||||
catch(Exception $e){
|
||||
$text['error'] = $e->getMessage();
|
||||
dispatch(new kirimNotifikasiErrorJob($text));
|
||||
|
||||
return redirect()->route('layanan-sidangakhir.index')->with('error','Error : '.$text['error']);
|
||||
}
|
||||
}
|
||||
|
||||
//delete data mahasiswa
|
||||
try {
|
||||
$dataDelete = PengajuanSidangAkhir::findOrFail($id);
|
||||
$dataDelete->delete();
|
||||
//kirim notif ke mahasiswa bahwa ditolak
|
||||
dispatch(new layananSidangAkhirJob($data_job));
|
||||
|
||||
}catch(Exception $e){
|
||||
//kirim notif error jika terjadi error
|
||||
$text['error'] = $e->getMessage();
|
||||
dispatch(new kirimNotifikasiErrorJob($text));
|
||||
|
||||
return redirect()->route('layanan-sidangakhir.index')->with('error','Error : '.$text['error']);
|
||||
}
|
||||
return redirect()->route('layanan-sidangakhir.index')->with('success','Permintaan Sudah Diproses, Email akan segera dikirim ke penerima');
|
||||
}
|
||||
|
||||
public function store(Request $request){
|
||||
|
||||
$request->validate([
|
||||
'nim'=>'required|numeric',
|
||||
'nama'=>'required',
|
||||
'nomor_hp'=>'required|numeric',
|
||||
'email'=>'required|email',
|
||||
'judul_skripsi_id'=>'required',
|
||||
'judul_skripsi_en'=>'required',
|
||||
'bagian'=>'required|numeric',
|
||||
'dosen_dpu'=>'required|numeric',
|
||||
'dosen_dpa'=>'required|numeric',
|
||||
'dosen_penguji1'=>'required|numeric',
|
||||
'dosen_penguji2'=>'required|numeric',
|
||||
'nilai_plagiasi'=>'required|numeric',
|
||||
'bukti_lembar_monitoring' => 'required|mimes:pdf|max:4096',
|
||||
'bukti_transkrip' => 'required|mimes:pdf|max:4096',
|
||||
'bukti_turnitin' => 'required|mimes:pdf|max:4096',
|
||||
'bukti_sister' => 'required|mimes:pdf|max:4096',
|
||||
'bukti_naskah_dosen_pembimbing' => 'required|mimes:pdf|max:4096',
|
||||
'bukti_naskah_dosen_penguji' => 'required|mimes:pdf|max:4096',
|
||||
],[
|
||||
'nim.required'=>'NIP Wajib Diisi',
|
||||
'nim.numeric'=>'NIM Wajib Berisi Angka saja',
|
||||
'nomor_hp.numeric'=>'Nomor HP Wajib Menggunakan Angka, Contoh 089xxxxx',
|
||||
'email.email'=>'Format email tidak sesuai, cek lagi email anda, Contoh mahasiswa@gmail.com/ mahasiswa@mail.unej.ac.id',
|
||||
'bagian.numeric'=>'Bagian tidak valid, cek kembali Bagian yang dipilih',
|
||||
'dosen_dpu.numeric'=>'Dosen Pembimbing tidak valid, cek kembali Dosen Pembimbing Utama yang dipilih',
|
||||
'dosen_dpa.numeric'=>'Dosen Pembimbing tidak valid, cek kembali Dosen Pembimbing Anggota yang dipilih',
|
||||
'dosen_penguji1.numeric'=>'Dosen Penguji tidak valid, cek kembali Dosen Penguji Utama yang dipilih',
|
||||
'dosen_penguji2.numeric'=>'Dosen Penguji tidak valid, cek kembali Dosen Penguji Anggota yang dipilih',
|
||||
'nilai_plagiasi.numeric'=>'Masukkan Nilai Plagiasi Berupa Angka saja',
|
||||
]);
|
||||
|
||||
//olah file
|
||||
$bukti_transkrip = $request->file('bukti_transkrip');
|
||||
$bukti_turnitin = $request->file('bukti_turnitin');
|
||||
$bukti_sister = $request->file('bukti_sister');
|
||||
$bukti_lembar_monitoring = $request->file('bukti_lembar_monitoring');
|
||||
$bukti_naskah_dosen_pembimbing = $request->file('bukti_naskah_dosen_pembimbing');
|
||||
$bukti_naskah_dosen_penguji = $request->file('bukti_naskah_dosen_penguji');
|
||||
//beri nama tiap file
|
||||
$bukti_transkrip_name= 'LA_1'.str_replace(' ', '_',$bukti_transkrip->getClientOriginalName());
|
||||
$bukti_turnitin_name = 'LA_2'.str_replace(' ', '_',$bukti_turnitin->getClientOriginalName());
|
||||
$bukti_sister_name = 'LA_3'.str_replace(' ', '_',$bukti_sister->getClientOriginalName());
|
||||
$bukti_lembar_monitoring_name = 'LA_4'.str_replace(' ', '_',$bukti_lembar_monitoring->getClientOriginalName());
|
||||
$bukti_naskah_dosen_pembimbing_name = 'LA_5'.str_replace(' ', '_',$bukti_naskah_dosen_pembimbing->getClientOriginalName());
|
||||
$bukti_naskah_dosen_penguji_name = 'LA_6'.str_replace(' ', '_',$bukti_naskah_dosen_penguji->getClientOriginalName());
|
||||
|
||||
//cek apakah data mahasiswa ada, jika ada maka dikembalikan dan dianjurkan menggunakan fitur cari
|
||||
$mahasiswa = Mahasiswa::where('nim',$request->nim)->first();
|
||||
if(!is_null($mahasiswa) && $request->status!="ada"){
|
||||
return redirect()->route('layanan-sidangakhir.tambah')->with('error','Data Anda Sudah Ada, Gunakan Fitur Cari Menggunakan NIM :'.$request->nim);
|
||||
}
|
||||
//kalo menggunakan fitur cari, akan menggunakan fungsi ini
|
||||
elseif(!is_null($mahasiswa) && $request->status=="ada"){
|
||||
$mahasiswas_id = $mahasiswa->id;
|
||||
$data_sidangakhir['mahasiswas_id'] = $mahasiswas_id;
|
||||
$data_sidangakhir['nilai_plagiasi'] = $request->nilai_plagiasi;
|
||||
$data_sidangakhir['bukti_transkrip'] = $bukti_transkrip_name;
|
||||
$data_sidangakhir['bukti_turnitin'] = $bukti_turnitin_name;
|
||||
$data_sidangakhir['bukti_sister'] = $bukti_sister_name;
|
||||
$data_sidangakhir['bukti_lembar_monitoring'] = $bukti_lembar_monitoring_name;
|
||||
$data_sidangakhir['bukti_naskah_dosen_pembimbing'] = $bukti_naskah_dosen_pembimbing_name;
|
||||
$data_sidangakhir['bukti_naskah_dosen_penguji'] = $bukti_naskah_dosen_penguji_name;
|
||||
//save data pengajuan
|
||||
PengajuanSidangAkhir::create($data_sidangakhir);
|
||||
//update data mahasiswa
|
||||
$mahasiswa->judul_skripsi_id = $request->judul_skripsi_id;
|
||||
$mahasiswa->judul_skripsi_en = $request->judul_skripsi_en;
|
||||
$mahasiswa->save();
|
||||
//save file
|
||||
Storage::disk('public')->put($request->nim.'/'.$bukti_transkrip_name, file_get_contents($bukti_transkrip));
|
||||
Storage::disk('public')->put($request->nim.'/'.$bukti_turnitin_name, file_get_contents($bukti_turnitin));
|
||||
Storage::disk('public')->put($request->nim.'/'.$bukti_sister_name, file_get_contents($bukti_sister));
|
||||
Storage::disk('public')->put($request->nim.'/'.$bukti_lembar_monitoring_name, file_get_contents($bukti_lembar_monitoring));
|
||||
Storage::disk('public')->put($request->nim.'/'.$bukti_naskah_dosen_pembimbing_name, file_get_contents($bukti_naskah_dosen_pembimbing));
|
||||
Storage::disk('public')->put($request->nim.'/'.$bukti_naskah_dosen_penguji_name, file_get_contents($bukti_naskah_dosen_penguji));
|
||||
return redirect()->route('layanan-sidangakhir.tambah')->with('success','Sukses Tambah Data, Silahkan Menunggu Email Konfirmasi setelah disetujui Oleh Operator');
|
||||
}
|
||||
|
||||
//jika data belum ada, maka create data baru
|
||||
$data_mhs['nim'] = $request->nim;
|
||||
$data_mhs['nama'] = $request->nama;
|
||||
$data_mhs['nomor_hp'] = $request->nomor_hp;
|
||||
$data_mhs['email'] = $request->email;
|
||||
$data_mhs['judul_seminar_proposal'] = '-';
|
||||
$data_mhs['bagian'] = $request->bagian;
|
||||
$data_mhs['dosen_dpu_id'] = $request->dosen_dpu;
|
||||
$data_mhs['dosen_dpa_id'] = $request->dosen_dpa;
|
||||
$data_mhs['dosen_penguji1_id'] = $request->dosen_penguji1;
|
||||
$data_mhs['dosen_penguji2_id'] = $request->dosen_penguji2;
|
||||
//set default values to -
|
||||
$data_mhs['judul_skripsi_id'] = $request->judul_skripsi_id;
|
||||
$data_mhs['judul_skripsi_en'] = $request->judul_skripsi_en;
|
||||
$data_mhs['judul_jurnal'] = '-';
|
||||
$data_mhs['judul_artikel'] = '-';
|
||||
|
||||
//save data mahasiswa dan pengajuan
|
||||
if(Mahasiswa::create($data_mhs)){
|
||||
$mahasiswas_id = Mahasiswa::where('nim',$request->nim)->first();
|
||||
$data_sidangakhir['mahasiswas_id'] = $mahasiswas_id->id;
|
||||
$data_sidangakhir['nilai_plagiasi'] = $request->nilai_plagiasi;
|
||||
$data_sidangakhir['bukti_transkrip'] = $bukti_transkrip_name;
|
||||
$data_sidangakhir['bukti_turnitin'] = $bukti_turnitin_name;
|
||||
$data_sidangakhir['bukti_sister'] = $bukti_sister_name;
|
||||
$data_sidangakhir['bukti_lembar_monitoring'] = $bukti_lembar_monitoring_name;
|
||||
$data_sidangakhir['bukti_naskah_dosen_pembimbing'] = $bukti_naskah_dosen_pembimbing_name;
|
||||
$data_sidangakhir['bukti_naskah_dosen_penguji'] = $bukti_naskah_dosen_penguji_name;
|
||||
PengajuanSidangAkhir::create($data_sidangakhir);
|
||||
|
||||
Storage::disk('public')->put($request->nim.'/'.$bukti_transkrip_name, file_get_contents($bukti_transkrip));
|
||||
Storage::disk('public')->put($request->nim.'/'.$bukti_turnitin_name, file_get_contents($bukti_turnitin));
|
||||
Storage::disk('public')->put($request->nim.'/'.$bukti_sister_name, file_get_contents($bukti_sister));
|
||||
Storage::disk('public')->put($request->nim.'/'.$bukti_lembar_monitoring_name, file_get_contents($bukti_lembar_monitoring));
|
||||
Storage::disk('public')->put($request->nim.'/'.$bukti_naskah_dosen_pembimbing_name, file_get_contents($bukti_naskah_dosen_pembimbing));
|
||||
Storage::disk('public')->put($request->nim.'/'.$bukti_naskah_dosen_penguji_name, file_get_contents($bukti_naskah_dosen_penguji));
|
||||
return redirect()->route('layanan-sidangakhir.tambah')->with('success','Sukses Tambah Data, Silahkan Menunggu Email Konfirmasi setelah disetujui Oleh Operator');
|
||||
}
|
||||
return redirect()->route('layanan-sidangakhir.tambah')->with('error','Gagal Tambah data, Cek kembali data yang anda masukkan');
|
||||
}
|
||||
|
||||
public function terima(Request $request){
|
||||
$id = $request->id;
|
||||
$countcaseid = PengajuanSidangAkhir::where('ttd_operator','!=','-')->count();
|
||||
$caseid = "LA".date_format(date_create(),"ym").$countcaseid+1;
|
||||
|
||||
$cekData = PengajuanSidangAkhir::where('caseid',$caseid)->first();
|
||||
$data = PengajuanSidangAkhir::where('id',$id)->first();
|
||||
//cek apakah ada caseid yang sama sebelum disave
|
||||
if(!is_null($cekData)){
|
||||
$data->updated_at = Carbon::now();
|
||||
$data->save();
|
||||
return redirect()->route('layanan-sidangakhir.index')->with('error','Gagal simpan Data, Cek kembali Detail Data yang akan diterima');
|
||||
}
|
||||
|
||||
$data->caseid = $caseid;
|
||||
$data->ttd_operator = Carbon::now();
|
||||
if($data->save()){
|
||||
$data_job = [
|
||||
[
|
||||
'jenis' => 'mahasiswa',
|
||||
'id' => $id,
|
||||
],
|
||||
[
|
||||
'jenis' => 'dpu',
|
||||
'id' => $id,
|
||||
],
|
||||
];
|
||||
foreach($data_job as $item){
|
||||
dispatch(new layananSidangAkhirJob($item));
|
||||
}
|
||||
return redirect()->route('layanan-sidangakhir.index')->with('success','Data Berhasil Disimpan, Email Akan Dikirimkan ke Mahasiswa, DPU dan DPA');
|
||||
}
|
||||
}
|
||||
|
||||
public function ettd($caseid){
|
||||
$data = PengajuanSidangAkhir::where('caseid', $caseid)
|
||||
->select(
|
||||
'pengajuan_sidang_akhirs.*',
|
||||
'mahasiswas.nama',
|
||||
'mahasiswas.nim',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.judul_skripsi_en',
|
||||
'dosen_dpu.nama_gelar as dosen_dpu_nama_gelar',
|
||||
)
|
||||
->join('mahasiswas','pengajuan_sidang_akhirs.mahasiswas_id','=','mahasiswas.id')
|
||||
->join('users as dosen_dpu','mahasiswas.dosen_dpu_id','=','dosen_dpu.id')
|
||||
->first();
|
||||
//jika data tidak null, maka render ini
|
||||
if(!is_null($data)){
|
||||
$jenis = 'Dosen Pembimbing Utama';
|
||||
return view('layanan-sidangakhir.ettd',['title'=> 'INPUT E-Signature','jenis'=>$jenis,'data'=> $data]);
|
||||
}
|
||||
//jika URL tidak diantara ketika itu maka render ini
|
||||
return redirect()->route('laman-awal')->with(['error'=>'Invalid CASEID, Atau CaseID Tidak Ditemukan']);
|
||||
}
|
||||
|
||||
public function submitettd($caseid, Request $request){
|
||||
$data = PengajuanSidangAkhir::where('caseid','=',$caseid)->first();
|
||||
//jika data ada, maka diproses
|
||||
if(!is_null($data)){
|
||||
//cek ttd jika ttd sudah pernah diisi maka dikembalikan error
|
||||
if($data->ttd_dpu!='-'){
|
||||
return redirect()->route('layanan-sidangakhir.ettd',['caseid'=>$caseid])->with(['error'=>'CaseID Ini Sudah Pernah Anda Tandatangani Pada '.$data->ttd_dpu]);
|
||||
}
|
||||
$ttd = Mahasiswa::where('nim',$request->nim)->join('users as dosen_dpu','mahasiswas.dosen_dpu_id','=','dosen_dpu.id')->first();
|
||||
//jika Belum Pernah maka TTD akan diproses
|
||||
if($ttd->ettd==$request->ettd){
|
||||
$data->ttd_dpu = Carbon::now();
|
||||
$data->save();
|
||||
$data_job =[
|
||||
'jenis' => 'mahasiswa selesai',
|
||||
'id' => $data->id,
|
||||
];
|
||||
dispatch(new layananSidangAkhirJob($data_job));
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with(['success'=>'Terimakasih Telah Melakukan Tanda Tangan Pada CaseID '.$caseid]);
|
||||
}
|
||||
//jika ETTD Tidak sesuai Akan Dikembalikan Ke laman TTD Dengan error
|
||||
else{
|
||||
return redirect()->route('layanan-sidangakhir.ettd',['caseid'=>$caseid])->with(['error'=>'E-TTD Tidak Sesuai, Cek Kembali ETTD Anda']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function cetak($caseid){
|
||||
$data = PengajuanSidangAkhir::where('caseid', $caseid)
|
||||
->select(
|
||||
'pengajuan_sidang_akhirs.*',
|
||||
'mahasiswas.nama',
|
||||
'bagians.nama_bagian',
|
||||
'mahasiswas.nim',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.judul_skripsi_en',
|
||||
'dosen_dpu.nama_gelar as dosen_dpu_nama_gelar',
|
||||
'dosen_dpu.nip as dosen_dpu_nip',
|
||||
)
|
||||
->join('mahasiswas','pengajuan_sidang_akhirs.mahasiswas_id','=','mahasiswas.id')
|
||||
->join('bagians','mahasiswas.bagian','=','bagians.id')
|
||||
->join('users as dosen_dpu','mahasiswas.dosen_dpu_id','=','dosen_dpu.id')
|
||||
->first();
|
||||
if(is_null($data)){
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with('error','Data Dengan CASEID Tersebut Tidak ada');
|
||||
}
|
||||
|
||||
//jika data tidak null, maka render ini
|
||||
if($data->ttd_dpu=='-'){
|
||||
return redirect()->route('monitoring.caseid',['caseid'=>$caseid])->with('error','Data Belum Di TandaTangani Oleh Dosen Pembimbing Utama, File Bisa didownload ketika DPU sudah tanda tangan!');
|
||||
}
|
||||
|
||||
$data = [
|
||||
'title' => 'Cetak Kesediaan',
|
||||
// 'date' => Carbon::now()->format('d-m-Y'),
|
||||
'date' => $data->updated_at->format('d-m-Y'),
|
||||
'nama_mahasiswa' => $data->nama,
|
||||
'nim' => $data->nim,
|
||||
'bagian' => $data->nama_bagian,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'judul_skripsi_en' => $data->judul_skripsi_en,
|
||||
'nilai_plagiasi' => $data->nilai_plagiasi,
|
||||
'dosen_dpu_nama_gelar' => $data->dosen_dpu_nama_gelar,
|
||||
'dosen_dpu_nip' => $data->dosen_dpu_nip,
|
||||
'dosen_dpu_qrcode' => base64_encode(QrCode::size(100)->generate($data->dosen_dpu_nama_gelar.'_TTD_'.$data->ttd_dpu)),
|
||||
];
|
||||
$pdf = Pdf::loadView('layanan-sidangakhir.cetak', $data);
|
||||
return $pdf->setPaper('a4', 'potrait')->download($caseid.'-Kesediaan Menjadi Dosen Pembimbing Tugas Akhir.pdf');
|
||||
}
|
||||
|
||||
public function resend($caseid, Request $request){
|
||||
try{
|
||||
$data = PengajuanSidangAkhir::where('caseid',$caseid)->first();
|
||||
$data_job = [
|
||||
'id' => $data->id,
|
||||
'jenis' => $request->jenis,
|
||||
];
|
||||
dispatch(new layananSidangAkhirJob($data_job));
|
||||
}catch(Exception $e){
|
||||
$text['error'] = $e->getMessage();
|
||||
dispatch(new kirimNotifikasiErrorJob($text));
|
||||
|
||||
return redirect()->route('layanan-sidangakhir.index')->with('error','Error : '.$text['error']);
|
||||
}
|
||||
return redirect()->route('layanan-sidangakhir.index')->with('success','Berhasil Kirim Ulang Email Kepada '.$request->jenis.' Dengan CaseID : '.$caseid);
|
||||
|
||||
}
|
||||
}
|
|
@ -3,7 +3,10 @@
|
|||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\PengajuanDpuDpa;
|
||||
use App\Models\PengajuanRevisiPublikasi;
|
||||
use App\Models\PengajuanSempro;
|
||||
use App\Models\PengajuanSidangAkhir;
|
||||
use App\Models\PengajuanWisuda;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class MonitoringController extends Controller
|
||||
|
@ -55,6 +58,70 @@ public function caseid($caseid){
|
|||
}
|
||||
return view('monitoring.sempro',['title' => 'Monitoring Pengajuan Seminar Proposal - '.$caseid,'data' => $data]);
|
||||
}
|
||||
elseif($cek_caseid=="LA"){
|
||||
$data = PengajuanSidangAkhir::where('caseid',$caseid)
|
||||
->select(
|
||||
'pengajuan_sidang_akhirs.*',
|
||||
'mahasiswas.nim',
|
||||
'mahasiswas.nama',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.judul_skripsi_en',
|
||||
'dosen_dpu.nama_gelar as dosen_dpu_nama_gelar',
|
||||
)
|
||||
->join('mahasiswas','mahasiswas_id','=','mahasiswas.id')
|
||||
->join('users as dosen_dpu','mahasiswas.dosen_dpu_id','=','dosen_dpu.id')
|
||||
->first();
|
||||
if($data==null){
|
||||
return redirect()->route('monitoring.index')->with('error','CaseID Tidak Ditemukan');
|
||||
}
|
||||
return view('monitoring.sidangakhir',['title' => 'Monitoring Pengajuan Sidang Akhir - '.$caseid,'data' => $data]);
|
||||
}
|
||||
elseif($cek_caseid=="LR"){
|
||||
$data = PengajuanRevisiPublikasi::where('caseid',$caseid)
|
||||
->select(
|
||||
'pengajuan_revisi_publikasis.*',
|
||||
'mahasiswas.nim',
|
||||
'mahasiswas.nama',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.judul_jurnal',
|
||||
'mahasiswas.judul_artikel',
|
||||
'dosen_dpu.nama_gelar as dosen_dpu_nama_gelar',
|
||||
'dosen_penguji1.nama_gelar as dosen_penguji1_nama_gelar',
|
||||
'dosen_penguji2.nama_gelar as dosen_penguji2_nama_gelar',
|
||||
)
|
||||
->join('mahasiswas','mahasiswas_id','=','mahasiswas.id')
|
||||
->join('users as dosen_dpu','mahasiswas.dosen_dpu_id','=','dosen_dpu.id')
|
||||
->join('users as dosen_penguji1','mahasiswas.dosen_penguji1_id','=','dosen_penguji1.id')
|
||||
->join('users as dosen_penguji2','mahasiswas.dosen_penguji2_id','=','dosen_penguji2.id')
|
||||
->first();
|
||||
if($data==null){
|
||||
return redirect()->route('monitoring.index')->with('error','CaseID Tidak Ditemukan');
|
||||
}
|
||||
return view('monitoring.revisipublikasi',['title' => 'Monitoring Pengajuan Publikasi / Revisi - '.$caseid,'data' => $data]);
|
||||
}
|
||||
elseif($cek_caseid=="LY"){
|
||||
$data = PengajuanWisuda::where('caseid',$caseid)
|
||||
->select(
|
||||
'pengajuan_wisudas.*',
|
||||
'mahasiswas.nim',
|
||||
'mahasiswas.nama',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'dosen_dpu.nama_gelar as dosen_dpu_nama_gelar',
|
||||
'dosen_dpa.nama_gelar as dosen_dpa_nama_gelar',
|
||||
'dosen_penguji1.nama_gelar as dosen_penguji1_nama_gelar',
|
||||
'dosen_penguji2.nama_gelar as dosen_penguji2_nama_gelar',
|
||||
)
|
||||
->join('mahasiswas','mahasiswas_id','=','mahasiswas.id')
|
||||
->join('users as dosen_dpu','mahasiswas.dosen_dpu_id','=','dosen_dpu.id')
|
||||
->join('users as dosen_dpa','mahasiswas.dosen_dpa_id','=','dosen_dpa.id')
|
||||
->join('users as dosen_penguji1','mahasiswas.dosen_penguji1_id','=','dosen_penguji1.id')
|
||||
->join('users as dosen_penguji2','mahasiswas.dosen_penguji2_id','=','dosen_penguji2.id')
|
||||
->first();
|
||||
if($data==null){
|
||||
return redirect()->route('monitoring.index')->with('error','CaseID Tidak Ditemukan');
|
||||
}
|
||||
return view('monitoring.wisuda',['title' => 'Monitoring Pengajuan Wisuda - '.$caseid,'data' => $data]);
|
||||
}
|
||||
else{
|
||||
return redirect()->route('monitoring.index')->with('error','CaseID Tidak Valid');
|
||||
}
|
||||
|
|
|
@ -2,17 +2,20 @@
|
|||
|
||||
namespace App\Jobs;
|
||||
|
||||
use App\Mail\pengajuanDpuDpaMail;
|
||||
|
||||
use App\Models\PengajuanDpuDpa;
|
||||
use App\Models\User;
|
||||
|
||||
use Exception;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
use Illuminate\Support\Facades\Mail;
|
||||
use Ixudra\Curl\Facades\Curl;
|
||||
use Spatie\Permission\Models\Role;
|
||||
|
||||
class layananPengajuanDpuDpaJob implements ShouldQueue
|
||||
{
|
||||
|
@ -30,61 +33,234 @@ public function __construct($data)
|
|||
public function handle(): void
|
||||
{
|
||||
if($this->data['jenis']==="penolakan"){
|
||||
//data email
|
||||
$data = [
|
||||
'caseid' => '-',
|
||||
'nama_mahasiswa' => $this->data['nama_mahasiswa'],
|
||||
'nim_mahasiswa' => $this->data['nim_mahasiswa'],
|
||||
'judul_seminar_proposal' => $this->data['judul_seminar_proposal'],
|
||||
'subject' => $this->data['caseid'].' - Penolakan Kesediaan Menjadi Dosen Pembimbing Utama / Anggota',
|
||||
'jenis' => $this->data['jenis'],
|
||||
'judul' => 'Kesediaan Menjadi Dosen Pembimbing Utama / Anggota',
|
||||
'alasan' => $this->data['alasan'],
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanDpuDpaMail($data);
|
||||
Mail::to($this->data['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Penolakan Pengajuan Mahasiswa: ".$this->data['nama']."\n".
|
||||
"Penolakan Pengajuan DPU/DPA Mahasiswa: ".$this->data['nama_mahasiswa']."\n".
|
||||
"Dengan Email : ".$this->data['email']."\n\n".
|
||||
"Alasan : ".$this->data['alasan'];
|
||||
|
||||
//send telegram
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
elseif($this->data['jenis'] == 'dpu'){
|
||||
$data = PengajuanDpuDpa::where('pengajuan_dpu_dpas.id',$this->data['id'])->select('mahasiswas.nama','mahasiswas.nim','mahasiswas.judul_seminar_proposal','mahasiswas.dosen_dpu_id','users.nama_gelar','users.email')->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')->join('users','users.id','=','dosen_dpu_id')->first();
|
||||
$data = PengajuanDpuDpa::where('pengajuan_dpu_dpas.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_dpu_dpas.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.judul_seminar_proposal',
|
||||
'mahasiswas.dosen_dpu_id',
|
||||
'users.nama_gelar',
|
||||
'users.email')
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->join('users','users.id','=','mahasiswas.dosen_dpu_id')
|
||||
->first();
|
||||
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_seminar_proposal' => $data->judul_seminar_proposal,
|
||||
'subject' => $data->caseid.' - Kesediaan Menjadi Dosen Pembimbing Utama / Anggota',
|
||||
'nama_dosen' => $data->nama_gelar,
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-dpudpa.ettd',['url'=>$this->data['jenis'],'caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanDpuDpaMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan A/N Mahasiswa: ".$data->nama."\n".
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada DPU : ".$data->nama_gelar."\n\n".
|
||||
"Alamat Email : ".$data->email;
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
elseif($this->data['jenis'] == 'dpa'){
|
||||
$data = PengajuanDpuDpa::where('pengajuan_dpu_dpas.id',$this->data['id'])->select('mahasiswas.nama','mahasiswas.nim','mahasiswas.judul_seminar_proposal','mahasiswas.dosen_dpa_id','users.nama_gelar','users.email')->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')->join('users','users.id','=','dosen_dpa_id')->first();
|
||||
$data = PengajuanDpuDpa::where('pengajuan_dpu_dpas.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_dpu_dpas.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.judul_seminar_proposal',
|
||||
'mahasiswas.dosen_dpa_id',
|
||||
'users.nama_gelar',
|
||||
'users.email')
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->join('users','users.id','=','mahasiswas.dosen_dpu_id')
|
||||
->first();
|
||||
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_seminar_proposal' => $data->judul_seminar_proposal,
|
||||
'subject' => $data->caseid.' - Kesediaan Menjadi Dosen Pembimbing Utama / Anggota',
|
||||
'nama_dosen' => $data->nama_gelar,
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-dpudpa.ettd',['url'=>$this->data['jenis'],'caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanDpuDpaMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan A/N Mahasiswa: ".$data->nama."\n".
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada DPA : ".$data->nama_gelar."\n\n".
|
||||
"Alamat Email : ".$data->email;
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
|
||||
|
||||
}
|
||||
elseif($this->data['jenis'] == 'kombi'){
|
||||
$kombiRole = Role::findByName('Ketua Kombi')->users;
|
||||
$data = PengajuanDpuDpa::where('pengajuan_dpu_dpas.id',$this->data['id'])->select('mahasiswas.nama','mahasiswas.nim','mahasiswas.judul_seminar_proposal')->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')->first();
|
||||
$dataKombi = User::role('Ketua Kombi')->first();
|
||||
$data = PengajuanDpuDpa::where('pengajuan_dpu_dpas.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_dpu_dpas.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.judul_seminar_proposal')
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->first();
|
||||
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_seminar_proposal' => $data->judul_seminar_proposal,
|
||||
'subject' => $data->caseid.' - Kesediaan Menjadi Dosen Pembimbing Utama / Anggota',
|
||||
'nama_dosen' => $dataKombi->nama_gelar,
|
||||
'email' => $dataKombi->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-dpudpa.ettd',['url'=>$this->data['jenis'],'caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanDpuDpaMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan A/N Mahasiswa: ".$data->nama."\n".
|
||||
"Kepada Komisi Bimbingan : ".$kombiRole[0]->nama_gelar."\n\n".
|
||||
"Alamat Email : ".$kombiRole[0]->email;
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada Ketua Kombi : ".$dataKombi->nama_gelar."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$dataKombi->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
elseif($this->data['jenis'] == 'mahasiswa'){
|
||||
$data = PengajuanDpuDpa::where('pengajuan_dpu_dpas.id',$this->data['id'])->select('mahasiswas.nama','mahasiswas.nim','mahasiswas.judul_seminar_proposal','mahasiswas.email')->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')->first();
|
||||
$data = PengajuanDpuDpa::where('pengajuan_dpu_dpas.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_dpu_dpas.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.judul_seminar_proposal',
|
||||
'mahasiswas.email')
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->first();
|
||||
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_seminar_proposal' => $data->judul_seminar_proposal,
|
||||
'subject' => $data->caseid.' - Kesediaan Menjadi Dosen Pembimbing Utama / Anggota',
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('monitoring.caseid',['caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanDpuDpaMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan A/N Mahasiswa: ".$data->nama."\n".
|
||||
"Kepada Mahasiswa : ".$data->nama."\n\n".
|
||||
"Alamat Email : ".$data->email;
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada mahasiswa : ".$data->nama_gelar."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
elseif($this->data['jenis'] == 'mahasiswa selesai'){
|
||||
$data = PengajuanDpuDpa::where('pengajuan_dpu_dpas.id',$this->data['id'])->select('mahasiswas.nama','mahasiswas.nim','mahasiswas.judul_seminar_proposal','mahasiswas.email')->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')->first();
|
||||
$data = PengajuanDpuDpa::where('pengajuan_dpu_dpas.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_dpu_dpas.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.judul_seminar_proposal',
|
||||
'mahasiswas.email')
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->first();
|
||||
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_seminar_proposal' => $data->judul_seminar_proposal,
|
||||
'subject' => $data->caseid.' - Kesediaan Menjadi Dosen Pembimbing Utama / Anggota',
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-dpudpa.cetak',['caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanDpuDpaMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Notifikasi Pengajuan Selesai A/N Mahasiswa: ".$data->nama."\n".
|
||||
"Kepada Mahasiswa : ".$data->nama."\n\n".
|
||||
"Alamat Email : ".$data->email;
|
||||
"Pengajuan Selesai CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada mahasiswa : ".$data->nama_mahasiswa."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
|
|
480
app/Jobs/layananPengajuanWisudaJob.php
Normal file
480
app/Jobs/layananPengajuanWisudaJob.php
Normal file
|
@ -0,0 +1,480 @@
|
|||
<?php
|
||||
|
||||
namespace App\Jobs;
|
||||
|
||||
use App\Mail\pengajuanWisudaMail;
|
||||
use App\Models\PengajuanWisuda;
|
||||
use App\Models\User;
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Support\Facades\Mail;
|
||||
use Ixudra\Curl\Facades\Curl;
|
||||
|
||||
class layananPengajuanWisudaJob implements ShouldQueue
|
||||
{
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||
|
||||
public $data;
|
||||
public function __construct($data)
|
||||
{
|
||||
$this->data = $data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute the job.
|
||||
*/
|
||||
public function handle(): void
|
||||
{
|
||||
if($this->data['jenis']==="penolakan"){
|
||||
$data = [
|
||||
'caseid' => $this->data['caseid'],
|
||||
'nama_mahasiswa' => $this->data['nama_mahasiswa'],
|
||||
'nim_mahasiswa' => $this->data['nim_mahasiswa'],
|
||||
'judul_skripsi_id' => $this->data['judul_skripsi_id'],
|
||||
'subject' => $this->data['caseid'].' - Penolakan Pengajuan Syarat Wisuda / Yudisium',
|
||||
'jenis' => $this->data['jenis'],
|
||||
'judul' => 'Penolakan Pengajuan Syarat Wisuda',
|
||||
'alasan' => $this->data['alasan'],
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanWisudaMail($data);
|
||||
Mail::to($this->data['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Penolakan Pengajuan Syarat Wisuda Mahasiswa: ".$this->data['nama_mahasiswa']."\n".
|
||||
"Dengan Email : ".$this->data['email']."\n\n".
|
||||
"Alasan : ".$this->data['alasan'];
|
||||
|
||||
//send telegram
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
|
||||
}
|
||||
elseif($this->data['jenis']==='mahasiswa'){
|
||||
$data = PengajuanWisuda::where('pengajuan_wisudas.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_wisudas.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.email',
|
||||
)
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->first();
|
||||
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'subject' => $data->caseid.' - Kesediaan Pengajuan Syarat Wisuda / Yudisium',
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('monitoring.caseid',['caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanWisudaMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada mahasiswa : ".$data->nama_mahasiswa."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
elseif($this->data['jenis']==='mahasiswa selesai'){
|
||||
$data = PengajuanWisuda::where('pengajuan_wisudas.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_wisudas.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.email',
|
||||
)
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->first();
|
||||
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'subject' => $data->caseid.' - Kesediaan Pengajuan Syarat Wisuda / Yudisium',
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-wisuda.caseid',['caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanWisudaMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Pengajuan Selesai CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada mahasiswa : ".$data->nama_mahasiswa."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
elseif($this->data['jenis']==='dpu'){
|
||||
$data = PengajuanWisuda::where('pengajuan_wisudas.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_wisudas.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.dosen_dpu_id',
|
||||
'users.nama_gelar',
|
||||
'users.email')
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->join('users','users.id','=','dosen_dpu_id')
|
||||
->first();
|
||||
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'subject' => $data->caseid.' - Pengajuan Untuk Syarat Wisuda / Yudisium',
|
||||
'nama_dosen' => $data->nama_gelar,
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-wisuda.ettd',['url'=>$this->data['jenis'], 'caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanWisudaMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada DPU : ".$data->nama_gelar."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
elseif($this->data['jenis']==='dpa'){
|
||||
$data = PengajuanWisuda::where('pengajuan_wisudas.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_wisudas.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.dosen_dpa_id',
|
||||
'users.nama_gelar',
|
||||
'users.email')
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->join('users','users.id','=','dosen_dpa_id')
|
||||
->first();
|
||||
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'subject' => $data->caseid.' - Pengajuan Untuk Syarat Wisuda / Yudisium',
|
||||
'nama_dosen' => $data->nama_gelar,
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-wisuda.ettd',['url'=>$this->data['jenis'], 'caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanWisudaMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada DPA : ".$data->nama_gelar."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
elseif($this->data['jenis']==='penguji1'){
|
||||
$data = PengajuanWisuda::where('pengajuan_wisudas.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_wisudas.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.dosen_penguji1_id',
|
||||
'users.nama_gelar',
|
||||
'users.email')
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->join('users','users.id','=','dosen_penguji1_id')
|
||||
->first();
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'subject' => $data->caseid.' - Pengajuan Untuk Syarat Wisuda / Yudisium',
|
||||
'nama_dosen' => $data->nama_gelar,
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-wisuda.ettd',['url'=>$this->data['jenis'], 'caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanWisudaMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada Penguji1 : ".$data->nama_gelar."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
elseif($this->data['jenis']==='penguji2'){
|
||||
$data = PengajuanWisuda::where('pengajuan_wisudas.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_wisudas.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.dosen_penguji2_id',
|
||||
'users.nama_gelar',
|
||||
'users.email')
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->join('users','users.id','=','dosen_penguji2_id')
|
||||
->first();
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'subject' => $data->caseid.' - Pengajuan Untuk Syarat Wisuda / Yudisium',
|
||||
'nama_dosen' => $data->nama_gelar,
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-wisuda.ettd',['url'=>$this->data['jenis'], 'caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanWisudaMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada Penguji2 : ".$data->nama_gelar."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
elseif($this->data['jenis']==='kalab'){
|
||||
$user = User::whereHas('roles', function ($query) {
|
||||
$query->where('name', 'like', '%Kalab%');
|
||||
})
|
||||
->get();
|
||||
$data = PengajuanWisuda::where('pengajuan_wisudas.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_wisudas.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
)
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->first();
|
||||
foreach ($user as $item){
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'subject' => $data->caseid.' - Pengajuan Untuk Syarat Wisuda / Yudisium',
|
||||
'nama_dosen' => $item->nama_gelar,
|
||||
'email' => $item->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-wisuda.ettd',['url'=>$this->data['jenis'], 'caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanWisudaMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada Kalab : ".$item->nama_gelar."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$item->nama_gelar);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
}
|
||||
elseif($this->data['jenis']==='skpi'){
|
||||
$user = User::whereHas('roles', function ($query) {
|
||||
$query->where('name', 'like', '%skpi%');
|
||||
})
|
||||
->get();
|
||||
$data = PengajuanWisuda::where('pengajuan_wisudas.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_wisudas.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
)
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->first();
|
||||
foreach ($user as $item){
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'subject' => $data->caseid.' - Pengajuan Untuk Syarat Wisuda / Yudisium',
|
||||
'nama_dosen' => $item->nama_gelar,
|
||||
'email' => $item->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-wisuda.ettd',['url'=>$this->data['jenis'], 'caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanWisudaMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada Pj. SKPI : ".$item->nama_gelar."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$item->nama_gelar);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
}
|
||||
elseif($this->data['jenis']==='perpustakaan'){
|
||||
$user = User::whereHas('roles', function ($query) {
|
||||
$query->where('name', 'like', '%perpustakaan%');
|
||||
})
|
||||
->get();
|
||||
$data = PengajuanWisuda::where('pengajuan_wisudas.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_wisudas.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
)
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->first();
|
||||
foreach ($user as $item){
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'subject' => $data->caseid.' - Pengajuan Untuk Syarat Wisuda / Yudisium',
|
||||
'nama_dosen' => $item->nama_gelar,
|
||||
'email' => $item->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-wisuda.ettd',['url'=>$this->data['jenis'], 'caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanWisudaMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada Pj. Perpustakaan /Ruang Baca : ".$item->nama_gelar."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$item->nama_gelar);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
}
|
||||
elseif($this->data['jenis']==='wakildekan1'){
|
||||
$user = User::whereHas('roles', function ($query) {
|
||||
$query->where('name', 'like', '%Wakil Dekan 1%');
|
||||
})
|
||||
->get();
|
||||
$data = PengajuanWisuda::where('pengajuan_wisudas.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_wisudas.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
)
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->first();
|
||||
foreach ($user as $item){
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'subject' => $data->caseid.' - Pengajuan Untuk Syarat Wisuda / Yudisium',
|
||||
'nama_dosen' => $item->nama_gelar,
|
||||
'email' => $item->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-wisuda.ettd',['url'=>$this->data['jenis'], 'caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanWisudaMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada Wakil Dekan 1 : ".$item->nama_gelar."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$item->nama_gelar);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
280
app/Jobs/layananRevisiPublikasiJob.php
Normal file
280
app/Jobs/layananRevisiPublikasiJob.php
Normal file
|
@ -0,0 +1,280 @@
|
|||
<?php
|
||||
|
||||
namespace App\Jobs;
|
||||
|
||||
use App\Mail\pengajuanRevisiPublikasiMail;
|
||||
use App\Models\PengajuanRevisiPublikasi;
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Support\Facades\Mail;
|
||||
use Ixudra\Curl\Facades\Curl;
|
||||
|
||||
class layananRevisiPublikasiJob implements ShouldQueue
|
||||
{
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||
|
||||
public $data;
|
||||
public function __construct($data)
|
||||
{
|
||||
$this->data = $data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute the job.
|
||||
*/
|
||||
public function handle(): void
|
||||
{
|
||||
if($this->data['jenis']==="penolakan"){
|
||||
$data = [
|
||||
'caseid' => $this->data['caseid'],
|
||||
'nama_mahasiswa' => $this->data['nama_mahasiswa'],
|
||||
'nim_mahasiswa' => $this->data['nim_mahasiswa'],
|
||||
'judul_skripsi_id' => $this->data['judul_skripsi_id'],
|
||||
'judul_artikel' => $this->data['judul_artikel'],
|
||||
'judul_jurnal' => $this->data['judul_jurnal'],
|
||||
'subject' => $this->data['caseid'].' - Penolakan Pengajuan Untuk Revisi / Publikasi',
|
||||
'jenis' => $this->data['jenis'],
|
||||
'judul' => 'Pengajuan Untuk Revisi / Publikasi',
|
||||
'alasan' => $this->data['alasan'],
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanRevisiPublikasiMail($data);
|
||||
Mail::to($this->data['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Penolakan Pengajuan Untuk Revisi / Publikasi Mahasiswa: ".$this->data['nama_mahasiswa']."\n".
|
||||
"Dengan Email : ".$this->data['email']."\n\n".
|
||||
"Alasan : ".$this->data['alasan'];
|
||||
|
||||
//send telegram
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
|
||||
}
|
||||
elseif($this->data['jenis'] == 'mahasiswa'){
|
||||
$data = PengajuanRevisiPublikasi::where('pengajuan_revisi_publikasis.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_revisi_publikasis.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.email',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.judul_jurnal',
|
||||
'mahasiswas.judul_artikel',)
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->first();
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'judul_jurnal' => $data->judul_jurnal,
|
||||
'judul_artikel' => $data->judul_artikel,
|
||||
'subject' => $data->caseid.' - Kesediaan Pengajuan Untuk Revisi / Publikasi',
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('monitoring.caseid',['caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanRevisiPublikasiMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada mahasiswa : ".$data->nama_mahasiswa."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
elseif($this->data['jenis'] == 'mahasiswa selesai'){
|
||||
$data = PengajuanRevisiPublikasi::where('pengajuan_revisi_publikasis.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_revisi_publikasis.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.email',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.judul_jurnal',
|
||||
'mahasiswas.judul_artikel')
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->first();
|
||||
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'judul_jurnal' => $data->judul_jurnal,
|
||||
'judul_artikel' => $data->judul_artikel,
|
||||
'subject' => $data->caseid.' - Pengajuan Untuk Revisi / Publikasi',
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-revisipublikasi.cetak',['caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanRevisiPublikasiMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Pengajuan Selesai CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada mahasiswa : ".$data->nama_mahasiswa."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
elseif($this->data['jenis'] == 'dpu'){
|
||||
$data = PengajuanRevisiPublikasi::where('pengajuan_revisi_publikasis.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_revisi_publikasis.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.judul_jurnal',
|
||||
'mahasiswas.judul_artikel',
|
||||
'mahasiswas.dosen_dpu_id',
|
||||
'users.nama_gelar',
|
||||
'users.email')
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->join('users','users.id','=','dosen_dpu_id')
|
||||
->first();
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'judul_jurnal' => $data->judul_jurnal,
|
||||
'judul_artikel' => $data->judul_artikel,
|
||||
'subject' => $data->caseid.' - Pengajuan Untuk Revisi / Publikasi',
|
||||
'nama_dosen' => $data->nama_gelar,
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-revisipublikasi.ettd',['url'=>$this->data['jenis'], 'caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanRevisiPublikasiMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada DPU : ".$data->nama_gelar."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
elseif($this->data['jenis'] == 'penguji1'){
|
||||
$data = PengajuanRevisiPublikasi::where('pengajuan_revisi_publikasis.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_revisi_publikasis.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.judul_jurnal',
|
||||
'mahasiswas.judul_artikel',
|
||||
'mahasiswas.dosen_penguji1_id',
|
||||
'users.nama_gelar',
|
||||
'users.email')
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->join('users','users.id','=','dosen_penguji1_id')
|
||||
->first();
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'judul_jurnal' => $data->judul_jurnal,
|
||||
'judul_artikel' => $data->judul_artikel,
|
||||
'subject' => $data->caseid.' - Pengajuan Untuk Revisi / Publikasi',
|
||||
'nama_dosen' => $data->nama_gelar,
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-revisipublikasi.ettd',['url'=>$this->data['jenis'], 'caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanRevisiPublikasiMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada penguji1 : ".$data->nama_gelar."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
elseif($this->data['jenis'] == 'penguji2'){
|
||||
$data = PengajuanRevisiPublikasi::where('pengajuan_revisi_publikasis.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_revisi_publikasis.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.judul_jurnal',
|
||||
'mahasiswas.judul_artikel',
|
||||
'mahasiswas.dosen_penguji2_id',
|
||||
'users.nama_gelar',
|
||||
'users.email')
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->join('users','users.id','=','dosen_penguji2_id')
|
||||
->first();
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'judul_jurnal' => $data->judul_jurnal,
|
||||
'judul_artikel' => $data->judul_artikel,
|
||||
'subject' => $data->caseid.' - Pengajuan Untuk Revisi / Publikasi',
|
||||
'nama_dosen' => $data->nama_gelar,
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-revisipublikasi.ettd',['url'=>$this->data['jenis'], 'caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanRevisiPublikasiMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada penguji2 : ".$data->nama_gelar."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
namespace App\Jobs;
|
||||
|
||||
use App\Mail\pengajuanSemproMail;
|
||||
use App\Models\PengajuanSempro;
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
|
||||
use Illuminate\Support\Facades\Mail;
|
||||
use Ixudra\Curl\Facades\Curl;
|
||||
|
||||
|
||||
|
@ -29,52 +29,31 @@ public function __construct($data)
|
|||
public function handle(): void
|
||||
{
|
||||
if($this->data['jenis']==="penolakan"){
|
||||
//data email
|
||||
$data = [
|
||||
'caseid' => $this->data['caseid'],
|
||||
'nama_mahasiswa' => $this->data['nama_mahasiswa'],
|
||||
'nim_mahasiswa' => $this->data['nim_mahasiswa'],
|
||||
'judul_seminar_proposal' => $this->data['judul_seminar_proposal'],
|
||||
'subject' => $this->data['caseid'].' - Penolakan Pengajuan Untuk Seminar Proposal',
|
||||
'jenis' => $this->data['jenis'],
|
||||
'judul' => 'Pengajuan Untuk Seminar Proposal',
|
||||
'alasan' => $this->data['alasan'],
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanSemproMail($data);
|
||||
Mail::to($this->data['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Penolakan Pengajuan Seminar Proposal Mahasiswa: ".$this->data['nama']."\n".
|
||||
"Penolakan Pengajuan Untuk Seminar Proposal Mahasiswa: ".$this->data['nama_mahasiswa']."\n".
|
||||
"Dengan Email : ".$this->data['email']."\n\n".
|
||||
"Alasan : ".$this->data['alasan'];
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
elseif($this->data['jenis'] == 'dpu'){
|
||||
$data = PengajuanSempro::where('pengajuan_sempros.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_sempros.caseid',
|
||||
'pengajuan_sempros.nilai_plagiasi',
|
||||
'mahasiswas.nama',
|
||||
'mahasiswas.nim',
|
||||
'mahasiswas.email',
|
||||
'mahasiswas.judul_seminar_proposal',
|
||||
'mahasiswas.dosen_dpu_id',)
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->first();
|
||||
$text = "BETA - ".$data->caseid."\n".
|
||||
"Kirim Pengajuan A/N Mahasiswa: ".$data->nama."\n".
|
||||
"Kepada mahasiswa : ".$data->nama."\n\n".
|
||||
"Alamat Email : ".$data->email;
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
elseif($this->data['jenis'] == 'mahasiswa selesai'){
|
||||
$data = PengajuanSempro::where('pengajuan_sempros.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_sempros.caseid',
|
||||
'pengajuan_sempros.nilai_plagiasi',
|
||||
'mahasiswas.nama',
|
||||
'mahasiswas.nim',
|
||||
'mahasiswas.judul_seminar_proposal',
|
||||
'mahasiswas.dosen_dpu_id',
|
||||
'users.nama_gelar',
|
||||
'users.email')
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->join('users','users.id','=','dosen_dpu_id')
|
||||
->first();
|
||||
$text = "BETA - ".$data->caseid."\n".
|
||||
"Pengajuan Selesai A/N Mahasiswa: ".$data->nama."\n".
|
||||
"Kepada DPU : ".$data->nama_gelar."\n\n".
|
||||
"Alamat Email : ".$data->email;
|
||||
|
||||
//send telegram
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
|
@ -83,20 +62,117 @@ public function handle(): void
|
|||
$data = PengajuanSempro::where('pengajuan_sempros.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_sempros.caseid',
|
||||
'pengajuan_sempros.nilai_plagiasi',
|
||||
'mahasiswas.nama',
|
||||
'mahasiswas.nim',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.email',
|
||||
'mahasiswas.judul_seminar_proposal',)
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->first();
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_seminar_proposal' => $data->judul_seminar_proposal,
|
||||
'subject' => $data->caseid.' - Pengajuan Untuk Seminar Proposal',
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('monitoring.caseid',['caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanSemproMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada mahasiswa : ".$data->nama_mahasiswa."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
|
||||
}
|
||||
elseif($this->data['jenis'] == 'mahasiswa selesai'){
|
||||
$data = PengajuanSempro::where('pengajuan_sempros.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_sempros.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.email',
|
||||
'mahasiswas.judul_seminar_proposal')
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->first();
|
||||
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_seminar_proposal' => $data->judul_seminar_proposal,
|
||||
'subject' => $data->caseid.' - Pengajuan Untuk Seminar Proposal',
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-sempro.cetak',['caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanSemproMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Pengajuan Selesai CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada mahasiswa : ".$data->nama_mahasiswa."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
elseif($this->data['jenis'] == 'dpu'){
|
||||
$data = PengajuanSempro::where('pengajuan_sempros.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_sempros.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.judul_seminar_proposal',
|
||||
'mahasiswas.dosen_dpu_id',
|
||||
'users.nama_gelar',
|
||||
'users.email')
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->join('users','users.id','=','dosen_dpu_id')
|
||||
->join('users','users.id','=','mahasiswas.dosen_dpu_id')
|
||||
->first();
|
||||
$text = "BETA - ".$data->caseid."\n".
|
||||
"Kirim Pengajuan A/N Mahasiswa: ".$data->nama."\n".
|
||||
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_seminar_proposal' => $data->judul_seminar_proposal,
|
||||
'subject' => $data->caseid.' - Pengajuan Untuk Seminar Proposal',
|
||||
'nama_dosen' => $data->nama_gelar,
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-sempro.ettd',['caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanSemproMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada DPU : ".$data->nama_gelar."\n\n".
|
||||
"Alamat Email : ".$data->email;
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
|
|
186
app/Jobs/layananSidangAkhirJob.php
Normal file
186
app/Jobs/layananSidangAkhirJob.php
Normal file
|
@ -0,0 +1,186 @@
|
|||
<?php
|
||||
|
||||
namespace App\Jobs;
|
||||
|
||||
use App\Mail\pengajuanSidangAkhirMail;
|
||||
use App\Models\PengajuanSidangAkhir;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Support\Facades\Mail;
|
||||
use Ixudra\Curl\Facades\Curl;
|
||||
|
||||
class layananSidangAkhirJob implements ShouldQueue
|
||||
{
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||
|
||||
public $data;
|
||||
public function __construct($data)
|
||||
{
|
||||
$this->data = $data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute the job.
|
||||
*/
|
||||
public function handle(): void
|
||||
{
|
||||
if($this->data['jenis']==="penolakan"){
|
||||
$data = [
|
||||
'caseid' => $this->data['caseid'],
|
||||
'nama_mahasiswa' => $this->data['nama_mahasiswa'],
|
||||
'nim_mahasiswa' => $this->data['nim_mahasiswa'],
|
||||
'judul_skripsi_id' => $this->data['judul_skripsi_id'],
|
||||
'judul_skripsi_en' => $this->data['judul_skripsi_en'],
|
||||
'subject' => $this->data['caseid'].' - Penolakan Pengajuan Untuk Sidang Akhir',
|
||||
'jenis' => $this->data['jenis'],
|
||||
'judul' => 'Pengajuan Untuk Sidang Akhir',
|
||||
'alasan' => $this->data['alasan'],
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanSidangAkhirMail($data);
|
||||
Mail::to($this->data['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Penolakan Pengajuan Untuk Sidang Akhir Mahasiswa: ".$this->data['nama_mahasiswa']."\n".
|
||||
"Dengan Email : ".$this->data['email']."\n\n".
|
||||
"Alasan : ".$this->data['alasan'];
|
||||
|
||||
//send telegram
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
elseif($this->data['jenis'] == 'mahasiswa'){
|
||||
$data = PengajuanSidangAkhir::where('pengajuan_sidang_akhirs.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_sidang_akhirs.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.email',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.judul_skripsi_en',)
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->first();
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'judul_skripsi_en' => $data->judul_skripsi_en,
|
||||
'subject' => $data->caseid.' - Kesediaan Pengajuan Untuk Sidang Akhir',
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('monitoring.caseid',['caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanSidangAkhirMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada mahasiswa : ".$data->nama_mahasiswa."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
elseif($this->data['jenis'] == 'mahasiswa selesai'){
|
||||
$data = PengajuanSidangAkhir::where('pengajuan_sidang_akhirs.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_sidang_akhirs.caseid',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.email',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.judul_skripsi_en',
|
||||
'mahasiswas.dosen_dpu_id')
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->first();
|
||||
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'judul_skripsi_en' => $data->judul_skripsi_en,
|
||||
'subject' => $data->caseid.' - Pengajuan Untuk Sidang Akhir',
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-sidangakhir.cetak',['caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanSidangAkhirMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Pengajuan Selesai CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada mahasiswa : ".$data->nama_mahasiswa."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
elseif($this->data['jenis'] == 'dpu'){
|
||||
$data = PengajuanSidangAkhir::where('pengajuan_sidang_akhirs.id',$this->data['id'])
|
||||
->select(
|
||||
'pengajuan_sidang_akhirs.caseid',
|
||||
'pengajuan_sidang_akhirs.nilai_plagiasi',
|
||||
'mahasiswas.nama as nama_mahasiswa',
|
||||
'mahasiswas.nim as nim_mahasiswa',
|
||||
'mahasiswas.judul_skripsi_id',
|
||||
'mahasiswas.judul_skripsi_en',
|
||||
'mahasiswas.dosen_dpu_id',
|
||||
'users.nama_gelar',
|
||||
'users.email')
|
||||
->join('mahasiswas','mahasiswas.id','=','mahasiswas_id')
|
||||
->join('users','users.id','=','dosen_dpu_id')
|
||||
->first();
|
||||
//data email
|
||||
$data_email = [
|
||||
'caseid' => $data->caseid,
|
||||
'nama_mahasiswa' => $data->nama_mahasiswa,
|
||||
'nim_mahasiswa' => $data->nim_mahasiswa,
|
||||
'judul_skripsi_id' => $data->judul_skripsi_id,
|
||||
'judul_skripsi_en' => $data->judul_skripsi_en,
|
||||
'subject' => $data->caseid.' - Pengajuan Untuk Sidang Akhir',
|
||||
'nama_dosen' => $data->nama_gelar,
|
||||
'email' => $data->email,
|
||||
'jenis' => $this->data['jenis'],
|
||||
'url' => route('layanan-sidangakhir.ettd',['caseid'=>$data->caseid]),
|
||||
];
|
||||
|
||||
//send email
|
||||
$konten = new pengajuanSidangAkhirMail($data_email);
|
||||
Mail::to($data_email['email'])
|
||||
->bcc('f@unej.ac.id')
|
||||
->send($konten);
|
||||
|
||||
|
||||
//telegram
|
||||
$text = "BETA\n".
|
||||
"Kirim Pengajuan CaseID :". $data->caseid ."\n\nA/N Mahasiswa: ".$data->nama_mahasiswa."\n".
|
||||
"Kepada DPU : ".$data->nama_gelar."\n\n".
|
||||
"Alamat Email : ".str_replace('_','\_',$data->email);
|
||||
Curl::to('https://api.telegram.org/bot6161516511:AAGZhf_o31HupIogjUbEgvwjukes-3P3zPo/sendMessage')
|
||||
->withData( array( 'chat_id' => '-1001903808078', 'text' => $text, 'parse_mode' => 'Markdown') )
|
||||
->get();
|
||||
}
|
||||
}
|
||||
}
|
54
app/Mail/pengajuanDpuDpaMail.php
Normal file
54
app/Mail/pengajuanDpuDpaMail.php
Normal file
|
@ -0,0 +1,54 @@
|
|||
<?php
|
||||
|
||||
namespace App\Mail;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Mail\Mailable;
|
||||
use Illuminate\Mail\Mailables\Content;
|
||||
use Illuminate\Mail\Mailables\Envelope;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class pengajuanDpuDpaMail extends Mailable
|
||||
{
|
||||
use Queueable, SerializesModels;
|
||||
|
||||
public $mailData;
|
||||
/**
|
||||
* Create a new message instance.
|
||||
*/
|
||||
public function __construct($mailData)
|
||||
{
|
||||
$this->mailData = $mailData;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the message envelope.
|
||||
*/
|
||||
public function envelope(): Envelope
|
||||
{
|
||||
return new Envelope(
|
||||
subject: $this->mailData['subject'],
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the message content definition.
|
||||
*/
|
||||
public function content(): Content
|
||||
{
|
||||
return new Content(
|
||||
view: 'mail.dpadpu',
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the attachments for the message.
|
||||
*
|
||||
* @return array<int, \Illuminate\Mail\Mailables\Attachment>
|
||||
*/
|
||||
public function attachments(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
}
|
54
app/Mail/pengajuanRevisiPublikasiMail.php
Normal file
54
app/Mail/pengajuanRevisiPublikasiMail.php
Normal file
|
@ -0,0 +1,54 @@
|
|||
<?php
|
||||
|
||||
namespace App\Mail;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Mail\Mailable;
|
||||
use Illuminate\Mail\Mailables\Content;
|
||||
use Illuminate\Mail\Mailables\Envelope;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class pengajuanRevisiPublikasiMail extends Mailable
|
||||
{
|
||||
use Queueable, SerializesModels;
|
||||
|
||||
public $mailData;
|
||||
/**
|
||||
* Create a new message instance.
|
||||
*/
|
||||
public function __construct($mailData)
|
||||
{
|
||||
$this->mailData = $mailData;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the message envelope.
|
||||
*/
|
||||
public function envelope(): Envelope
|
||||
{
|
||||
return new Envelope(
|
||||
subject: $this->mailData['subject'],
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the message content definition.
|
||||
*/
|
||||
public function content(): Content
|
||||
{
|
||||
return new Content(
|
||||
view: 'mail.revisipublikasi',
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the attachments for the message.
|
||||
*
|
||||
* @return array<int, \Illuminate\Mail\Mailables\Attachment>
|
||||
*/
|
||||
public function attachments(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
}
|
54
app/Mail/pengajuanSemproMail.php
Normal file
54
app/Mail/pengajuanSemproMail.php
Normal file
|
@ -0,0 +1,54 @@
|
|||
<?php
|
||||
|
||||
namespace App\Mail;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Mail\Mailable;
|
||||
use Illuminate\Mail\Mailables\Content;
|
||||
use Illuminate\Mail\Mailables\Envelope;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class pengajuanSemproMail extends Mailable
|
||||
{
|
||||
use Queueable, SerializesModels;
|
||||
|
||||
public $mailData;
|
||||
/**
|
||||
* Create a new message instance.
|
||||
*/
|
||||
public function __construct($mailData)
|
||||
{
|
||||
$this->mailData = $mailData;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the message envelope.
|
||||
*/
|
||||
public function envelope(): Envelope
|
||||
{
|
||||
return new Envelope(
|
||||
subject: $this->mailData['subject'],
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the message content definition.
|
||||
*/
|
||||
public function content(): Content
|
||||
{
|
||||
return new Content(
|
||||
view: 'mail.sempro',
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the attachments for the message.
|
||||
*
|
||||
* @return array<int, \Illuminate\Mail\Mailables\Attachment>
|
||||
*/
|
||||
public function attachments(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
}
|
54
app/Mail/pengajuanSidangAkhirMail.php
Normal file
54
app/Mail/pengajuanSidangAkhirMail.php
Normal file
|
@ -0,0 +1,54 @@
|
|||
<?php
|
||||
|
||||
namespace App\Mail;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Mail\Mailable;
|
||||
use Illuminate\Mail\Mailables\Content;
|
||||
use Illuminate\Mail\Mailables\Envelope;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class pengajuanSidangAkhirMail extends Mailable
|
||||
{
|
||||
use Queueable, SerializesModels;
|
||||
|
||||
public $mailData;
|
||||
/**
|
||||
* Create a new message instance.
|
||||
*/
|
||||
public function __construct($mailData)
|
||||
{
|
||||
$this->mailData = $mailData;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the message envelope.
|
||||
*/
|
||||
public function envelope(): Envelope
|
||||
{
|
||||
return new Envelope(
|
||||
subject: $this->mailData['subject'],
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the message content definition.
|
||||
*/
|
||||
public function content(): Content
|
||||
{
|
||||
return new Content(
|
||||
view: 'mail.sidangakhir',
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the attachments for the message.
|
||||
*
|
||||
* @return array<int, \Illuminate\Mail\Mailables\Attachment>
|
||||
*/
|
||||
public function attachments(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
}
|
54
app/Mail/pengajuanWisudaMail.php
Normal file
54
app/Mail/pengajuanWisudaMail.php
Normal file
|
@ -0,0 +1,54 @@
|
|||
<?php
|
||||
|
||||
namespace App\Mail;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Mail\Mailable;
|
||||
use Illuminate\Mail\Mailables\Content;
|
||||
use Illuminate\Mail\Mailables\Envelope;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class pengajuanWisudaMail extends Mailable
|
||||
{
|
||||
use Queueable, SerializesModels;
|
||||
|
||||
public $mailData;
|
||||
/**
|
||||
* Create a new message instance.
|
||||
*/
|
||||
public function __construct($mailData)
|
||||
{
|
||||
$this->mailData = $mailData;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the message envelope.
|
||||
*/
|
||||
public function envelope(): Envelope
|
||||
{
|
||||
return new Envelope(
|
||||
subject: $this->mailData['subject'],
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the message content definition.
|
||||
*/
|
||||
public function content(): Content
|
||||
{
|
||||
return new Content(
|
||||
view: 'mail.wisuda',
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the attachments for the message.
|
||||
*
|
||||
* @return array<int, \Illuminate\Mail\Mailables\Attachment>
|
||||
*/
|
||||
public function attachments(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
}
|
15
app/Models/PengajuanRevisiPublikasi.php
Normal file
15
app/Models/PengajuanRevisiPublikasi.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PengajuanRevisiPublikasi extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'mahasiswas_id',
|
||||
];
|
||||
}
|
22
app/Models/PengajuanSidangAkhir.php
Normal file
22
app/Models/PengajuanSidangAkhir.php
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PengajuanSidangAkhir extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'mahasiswas_id',
|
||||
'nilai_plagiasi',
|
||||
'bukti_transkrip',
|
||||
'bukti_turnitin',
|
||||
'bukti_sister',
|
||||
'bukti_lembar_monitoring',
|
||||
'bukti_naskah_dosen_pembimbing',
|
||||
'bukti_naskah_dosen_penguji',
|
||||
];
|
||||
}
|
19
app/Models/PengajuanWisuda.php
Normal file
19
app/Models/PengajuanWisuda.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PengajuanWisuda extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'mahasiswas_id',
|
||||
'bukti_skripsi',
|
||||
'bukti_spp',
|
||||
'bukti_sertifikat_kkn',
|
||||
'bukti_toefl',
|
||||
];
|
||||
}
|
32
database/migrations/2024_03_18_220555_create_jobs_table.php
Normal file
32
database/migrations/2024_03_18_220555_create_jobs_table.php
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('jobs', function (Blueprint $table) {
|
||||
$table->bigIncrements('id');
|
||||
$table->string('queue')->index();
|
||||
$table->longText('payload');
|
||||
$table->unsignedTinyInteger('attempts');
|
||||
$table->unsignedInteger('reserved_at')->nullable();
|
||||
$table->unsignedInteger('available_at');
|
||||
$table->unsignedInteger('created_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('jobs');
|
||||
}
|
||||
};
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('pengajuan_sidang_akhirs', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('caseid')->default('-');
|
||||
$table->foreignId('mahasiswas_id')->constrained();
|
||||
$table->string('ttd_operator')->default('-');
|
||||
$table->string('ttd_dpu')->default('-');
|
||||
$table->integer('nilai_plagiasi');
|
||||
$table->string('bukti_lembar_monitoring');
|
||||
$table->string('bukti_transkrip');
|
||||
$table->string('bukti_turnitin');
|
||||
$table->string('bukti_sister');
|
||||
$table->string('bukti_naskah_dosen_pembimbing');
|
||||
$table->string('bukti_naskah_dosen_penguji');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('pengajuan_sidang_akhirs');
|
||||
}
|
||||
};
|
|
@ -0,0 +1,33 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('pengajuan_revisi_publikasis', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('caseid')->default('-');
|
||||
$table->foreignId('mahasiswas_id')->constrained();
|
||||
$table->string('ttd_operator')->default('-');
|
||||
$table->string('ttd_dpu')->default('-');
|
||||
$table->string('ttd_penguji1')->default('-');
|
||||
$table->string('ttd_penguji2')->default('-');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('pengajuan_revisi_publikasis');
|
||||
}
|
||||
};
|
|
@ -0,0 +1,49 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('pengajuan_wisudas', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('caseid')->default('-');
|
||||
$table->foreignId('mahasiswas_id')->constrained();
|
||||
$table->string('ttd_operator')->default('-');
|
||||
$table->string('ttd_dpu')->default('-');
|
||||
$table->string('ttd_dpa')->default('-');
|
||||
$table->string('ttd_penguji1')->default('-');
|
||||
$table->string('ttd_penguji2')->default('-');
|
||||
$table->string('ttd_kalab_farmasi_klinik_dan_komunitas')->default('-');
|
||||
$table->string('ttd_kalab_farmakologi_dan_hewan_coba')->default('-');
|
||||
$table->string('ttd_kalab_farmakognosi_dan_fitokimia')->default('-');
|
||||
$table->string('ttd_kalab_mikrobiologi_dan_bioteknologi_farmasi')->default('-');
|
||||
$table->string('ttd_kalab_farmasetika')->default('-');
|
||||
$table->string('ttd_kalab_teknologi_farmasi')->default('-');
|
||||
$table->string('ttd_kalab_kimia_analisis')->default('-');
|
||||
$table->string('ttd_kalab_kimia_medisinal')->default('-');
|
||||
$table->string('ttd_ruang_baca')->default('-');
|
||||
$table->string('ttd_skpi')->default('-');
|
||||
$table->string('ttd_wakil_dekan_1')->default('-');
|
||||
$table->string('bukti_spp')->default('-');
|
||||
$table->string('bukti_kkn')->default('-');
|
||||
$table->string('bukti_skripsi')->default('-');
|
||||
$table->string('bukti_toefl')->default('-');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('pengajuan_wisudas');
|
||||
}
|
||||
};
|
11316
public/dist/css/index.css
vendored
Normal file
11316
public/dist/css/index.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
public/dist/img/homepage.jpg
vendored
Normal file
BIN
public/dist/img/homepage.jpg
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 725 KiB |
BIN
public/dist/img/pintu.webp
vendored
Normal file
BIN
public/dist/img/pintu.webp
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
54
public/dist/js/index.js
vendored
Normal file
54
public/dist/js/index.js
vendored
Normal file
|
@ -0,0 +1,54 @@
|
|||
/*!
|
||||
* Start Bootstrap - Agency v7.0.12 (https://startbootstrap.com/theme/agency)
|
||||
* Copyright 2013-2023 Start Bootstrap
|
||||
* Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-agency/blob/master/LICENSE)
|
||||
*/
|
||||
//
|
||||
// Scripts
|
||||
//
|
||||
|
||||
window.addEventListener('DOMContentLoaded', event => {
|
||||
|
||||
// Navbar shrink function
|
||||
var navbarShrink = function () {
|
||||
const navbarCollapsible = document.body.querySelector('#mainNav');
|
||||
if (!navbarCollapsible) {
|
||||
return;
|
||||
}
|
||||
if (window.scrollY === 0) {
|
||||
navbarCollapsible.classList.remove('navbar-shrink')
|
||||
} else {
|
||||
navbarCollapsible.classList.add('navbar-shrink')
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
// Shrink the navbar
|
||||
navbarShrink();
|
||||
|
||||
// Shrink the navbar when page is scrolled
|
||||
document.addEventListener('scroll', navbarShrink);
|
||||
|
||||
// Activate Bootstrap scrollspy on the main nav element
|
||||
const mainNav = document.body.querySelector('#mainNav');
|
||||
if (mainNav) {
|
||||
new bootstrap.ScrollSpy(document.body, {
|
||||
target: '#mainNav',
|
||||
rootMargin: '0px 0px -40%',
|
||||
});
|
||||
};
|
||||
|
||||
// Collapse responsive navbar when toggler is visible
|
||||
const navbarToggler = document.body.querySelector('.navbar-toggler');
|
||||
const responsiveNavItems = [].slice.call(
|
||||
document.querySelectorAll('#navbarResponsive .nav-link')
|
||||
);
|
||||
responsiveNavItems.map(function (responsiveNavItem) {
|
||||
responsiveNavItem.addEventListener('click', () => {
|
||||
if (window.getComputedStyle(navbarToggler).display !== 'none') {
|
||||
navbarToggler.click();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
});
|
|
@ -32,7 +32,9 @@
|
|||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-6">
|
||||
|
||||
<!-- /.block Kotak -->
|
||||
<div class="col">
|
||||
<!-- small box -->
|
||||
<div class="small-box bg-info">
|
||||
<div class="inner">
|
||||
|
@ -46,6 +48,72 @@
|
|||
<a href="{{route('layanan-dpudpa.index')}}" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /.block Kotak -->
|
||||
<div class="col">
|
||||
<!-- small box -->
|
||||
<div class="small-box bg-info">
|
||||
<div class="inner">
|
||||
<h3>{{ $layanan_sempro }}</h3>
|
||||
|
||||
<p>Total Pengajuan Seminar Proposal</p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="ion ion-bag"></i>
|
||||
</div>
|
||||
<a href="{{route('layanan-sempro.index')}}" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- /.block Kotak -->
|
||||
<div class="col">
|
||||
<!-- small box -->
|
||||
<div class="small-box bg-info">
|
||||
<div class="inner">
|
||||
<h3>{{ $layanan_sidangakhir }}</h3>
|
||||
|
||||
<p>Total Pengajuan Sidang Akhir</p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="ion ion-bag"></i>
|
||||
</div>
|
||||
<a href="{{route('layanan-sidangakhir.index')}}" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /.block Kotak -->
|
||||
<div class="col">
|
||||
<!-- small box -->
|
||||
<div class="small-box bg-info">
|
||||
<div class="inner">
|
||||
<h3>{{ $layanan_revisipublikasi }}</h3>
|
||||
|
||||
<p>Total Pengajuan Publikasi / Revisi</p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="ion ion-bag"></i>
|
||||
</div>
|
||||
<a href="{{route('layanan-revisipublikasi.index')}}" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /.block Kotak -->
|
||||
<div class="col">
|
||||
<!-- small box -->
|
||||
<div class="small-box bg-info">
|
||||
<div class="inner">
|
||||
<h3>{{ $layanan_wisuda }}</h3>
|
||||
|
||||
<p>Total Pengajuan Syarat Wisuda</p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="ion ion-bag"></i>
|
||||
</div>
|
||||
<a href="{{route('layanan-wisuda.index')}}" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
|
|
24
resources/views/errors/404.blade.php
Normal file
24
resources/views/errors/404.blade.php
Normal file
|
@ -0,0 +1,24 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Under Maintenance</title>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="robots" content="noindex"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<style>
|
||||
body { text-align: center; padding: 20px; font: 20px Helvetica, sans-serif; color: #efe8e8; }
|
||||
@media (min-width: 768px){
|
||||
body{ padding-top: 150px; }
|
||||
}
|
||||
h1 { font-size: 42px; }
|
||||
article { display: block; text-align: left; max-width: 900px; margin: 0 auto; }
|
||||
a { color: #dc8100; text-decoration: none; }
|
||||
a:hover { color: #efe8e8; text-decoration: none; }
|
||||
</style>
|
||||
</head>
|
||||
<body bgcolor="2e2929">
|
||||
<article>
|
||||
<h1>Ups. Laman yang anda cari tidak ditemukan, silahkan Kembali ke Laman Utama dengan <a href="{{route('laman-awal')}}">Klik Disini</a></h1>
|
||||
</article>
|
||||
</body>
|
||||
</html>
|
54
resources/views/errors/503.blade.php
Normal file
54
resources/views/errors/503.blade.php
Normal file
|
@ -0,0 +1,54 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Under Maintenance</title>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="robots" content="noindex"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<style>
|
||||
body { text-align: center; padding: 20px; font: 20px Helvetica, sans-serif; color: #efe8e8; }
|
||||
@media (min-width: 768px){
|
||||
body{ padding-top: 150px; }
|
||||
}
|
||||
h1 { font-size: 50px; }
|
||||
article { display: block; text-align: left; max-width: 650px; margin: 0 auto; }
|
||||
a { color: #dc8100; text-decoration: none; }
|
||||
a:hover { color: #efe8e8; text-decoration: none; }
|
||||
</style>
|
||||
</head>
|
||||
<body bgcolor="2e2929">
|
||||
<article>
|
||||
<h1>Layanan Sedang Dalam Perbaikan</h1>
|
||||
<div>
|
||||
<p>Kami sedang melakukan beberapa perbaikan pada layanan PINTU, untuk meningkatkan kinerja dan pengalaman pengguna. Jika Anda memiliki pertanyaan lebih lanjut, silakan hubungi <a href="https://t.me/ef_be">Kami</a></p>
|
||||
<p>— TIM IT FFUNEJ</p>
|
||||
</div>
|
||||
<div style="margin:3em;">
|
||||
<p class="day"></p>
|
||||
<p class="hour"></p>
|
||||
<p class="minute"></p>
|
||||
<p class="second"></p>
|
||||
</div>
|
||||
</article>
|
||||
<script>
|
||||
const countDown = () => {
|
||||
const countDay = new Date('March 31, 2024 21:00:00');
|
||||
const now = new Date();
|
||||
const counter = countDay - now;
|
||||
const second = 1000;
|
||||
const minute = second * 60;
|
||||
const hour = minute * 60;
|
||||
const day = hour * 24;
|
||||
const textDay = Math.floor(counter / day);
|
||||
const textHour = Math.floor((counter % day) / hour);
|
||||
const textMinute = Math.floor((counter % hour) / minute);
|
||||
const textSecond = Math.floor((counter % minute) / second)
|
||||
document.querySelector(".day").innerText = textDay + ' Days';
|
||||
document.querySelector(".hour").innerText = textHour + ' Hours';
|
||||
document.querySelector(".minute").innerText = textMinute + ' Minutes';
|
||||
document.querySelector(".second").innerText = textSecond + ' Seconds';
|
||||
}
|
||||
setInterval(countDown, 1000);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,4 +1,4 @@
|
|||
@if($errors->any())
|
||||
{{-- @if($errors->any())
|
||||
<div class="alert alert-danger">
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error )
|
||||
|
@ -20,11 +20,370 @@
|
|||
<li>{{ session('error') }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
@endif --}}
|
||||
@if(session('error'))
|
||||
<script type="text/javascript">
|
||||
window.location = "{{ url('404') }}";//here double curly bracket
|
||||
</script>
|
||||
@endif
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="author" content="" />
|
||||
<title>PINTU Fakultas Farmasi Universitas Jember</title>
|
||||
<!-- Favicon-->
|
||||
<link rel="icon" type="image/x-icon" href="{{ asset('/') }}dist/img/pintu.webp" />
|
||||
<!-- Font Awesome icons (free version)-->
|
||||
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
|
||||
<!-- Google fonts-->
|
||||
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css" />
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700" rel="stylesheet" type="text/css" />
|
||||
<!-- Core theme CSS (includes Bootstrap)-->
|
||||
<link href="{{ asset('/') }}dist/css/index.css" rel="stylesheet" />
|
||||
</head>
|
||||
<body id="page-top">
|
||||
<!-- Navigation-->
|
||||
<nav class="navbar navbar-expand-lg navbar-dark fixed-top" id="mainNav">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="#page-top"><img src="{{ asset('/') }}dist/img/pintu.webp" alt="..." /></a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
||||
Menu
|
||||
<i class="fas fa-bars ms-1"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarResponsive">
|
||||
<ul class="navbar-nav text-uppercase ms-auto py-4 py-lg-0">
|
||||
<li class="nav-item"><a class="nav-link" href="#tentang">Tentang PINTU</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="#layanan">Layanan</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="#about">FAQ</a></li>
|
||||
<li class="nav-item"><a class="nav-link btn btn-success btn-sm" href="{{ route('login')}}">LOGIN</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<!-- Masthead-->
|
||||
<header class="masthead">
|
||||
<div class="container">
|
||||
<div class="masthead-subheading">Selamat Datang di</div>
|
||||
<div class="masthead-heading text-uppercase">PINTU Farmasi!</div>
|
||||
<a class="btn btn-primary btn-xl text-uppercase" href="#tentang">Ketahui Lebih Lanjut Tentang Pintu</a>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<!-- about Grid-->
|
||||
<section class="page-section bg-light" id="tentang">
|
||||
<div class="container">
|
||||
<div class="text-center">
|
||||
<h2 class="section-heading text-uppercase">Tentang PINTU Farmasi</h2>
|
||||
<h3 class="section-subheading text-muted">PINTU (Pusat Informasi dan Layanan Satu Pintu) FARMASI, merupakan layanan online untuk informasi dan layanan satu pintu Fakultas Farmasi. Pengguna dapat memanfaatkan PINTU FARMASI untuk layanan akademik dan kemahasiswaan, umum dan perlengkapan, keuangan dan kepegawaian. Prioritas layanan akan diselesaikan via online terlebih dahulu. Jika layanan online tidak dapat menyelesaikan, maka akan diteruskan melalui layanan offline.</h3>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<h1>PROGRES</h1>
|
||||
<!-- layanan-->
|
||||
<section class="page-section" id="layanan">
|
||||
<div class="container">
|
||||
<div class="text-center">
|
||||
<h2 class="section-heading text-uppercase">Layanan</h2>
|
||||
<h3 class="section-subheading text-muted">Layanan Yang Tersedia Pada PINTU Farmasi.</h3>
|
||||
</div>
|
||||
<div class="row text-center">
|
||||
<div class="col-md-4">
|
||||
<a href="{{route('layanan-dpudpa.tambah')}}" class="text-decoration-none" target="_blank">
|
||||
<span class="fa-stack fa-4x">
|
||||
<i class="fas fa-circle fa-stack-2x text-primary"></i>
|
||||
<i class="fas fa-book fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
<h4 class="my-3">Pengajuan DPA / DPU</h4>
|
||||
<p class="text-muted">Pengajuan Kesediaan Menjadi Dosen Pembimbing Utama & Dosen Pembimbing Anggota</p>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<a href="{{route('layanan-sempro.tambah')}}" class="text-decoration-none" target="_blank">
|
||||
<span class="fa-stack fa-4x">
|
||||
<i class="fas fa-circle fa-stack-2x text-primary"></i>
|
||||
<i class="fas fa-book fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
<h4 class="my-3">Pengajuan Seminar Proposal</h4>
|
||||
<p class="text-muted">Pengajuan Seminar Proposal</p>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<a href="{{route('layanan-sidangakhir.tambah')}}" class="text-decoration-none" target="_blank">
|
||||
<span class="fa-stack fa-4x">
|
||||
<i class="fas fa-circle fa-stack-2x text-primary"></i>
|
||||
<i class="fas fa-book fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
<h4 class="my-3">Pengajuan Sidang Akhir</h4>
|
||||
<p class="text-muted">Pengajuan Sidang Akhir</p>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<a href="{{route('layanan-revisipublikasi.tambah')}}" class="text-decoration-none" target="_blank">
|
||||
<span class="fa-stack fa-4x">
|
||||
<i class="fas fa-circle fa-stack-2x text-primary"></i>
|
||||
<i class="fas fa-book fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
<h4 class="my-3">Pengajuan Publikasi & Revisi</h4>
|
||||
<p class="text-muted">Pengajuan Publikasi & Revisi</p>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<a href="{{route('layanan-wisuda.tambah')}}" class="text-decoration-none" target="_blank">
|
||||
<span class="fa-stack fa-4x">
|
||||
<i class="fas fa-circle fa-stack-2x text-primary"></i>
|
||||
<i class="fas fa-book fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
<h4 class="my-3">Pengajuan Syarat Mengikuti Wisuda</h4>
|
||||
<p class="text-muted">Pengajuan Syarat Mengikuti Wisuda</p>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<span class="fa-stack fa-4x">
|
||||
<i class="fas fa-circle fa-stack-2x text-primary"></i>
|
||||
<i class="fas fa-soon fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
<h4 class="my-3">Segera</h4>
|
||||
<p class="text-muted">Segera</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Footer-->
|
||||
<footer class="footer py-4">
|
||||
<div class="container">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-4 text-lg-start">Copyright © PINTU FARMASI 2024</div>
|
||||
<div class="col-lg-4 my-3 my-lg-0">
|
||||
<a class="btn btn-dark btn-social mx-2" href="#!" aria-label="Twitter"><i class="fab fa-twitter"></i></a>
|
||||
<a class="btn btn-dark btn-social mx-2" href="#!" aria-label="Facebook"><i class="fab fa-facebook-f"></i></a>
|
||||
<a class="btn btn-dark btn-social mx-2" href="#!" aria-label="LinkedIn"><i class="fab fa-linkedin-in"></i></a>
|
||||
</div>
|
||||
<div class="col-lg-4 text-lg-end">
|
||||
<a class="link-dark text-decoration-none me-3" href="#!">Privacy Policy</a>
|
||||
<a class="link-dark text-decoration-none" href="#!">Terms of Use</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<!-- Portfolio Modals-->
|
||||
<!-- Portfolio item 1 modal popup-->
|
||||
<div class="portfolio-modal modal fade" id="portfolioModal1" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="close-modal" data-bs-dismiss="modal"><img src="assets/img/close-icon.svg" alt="Close modal" /></div>
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-8">
|
||||
<div class="modal-body">
|
||||
<!-- Project details-->
|
||||
<h2 class="text-uppercase">Project Name</h2>
|
||||
<p class="item-intro text-muted">Lorem ipsum dolor sit amet consectetur.</p>
|
||||
<img class="img-fluid d-block mx-auto" src="assets/img/portfolio/1.jpg" alt="..." />
|
||||
<p>Use this area to describe your project. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Est blanditiis dolorem culpa incidunt minus dignissimos deserunt repellat aperiam quasi sunt officia expedita beatae cupiditate, maiores repudiandae, nostrum, reiciendis facere nemo!</p>
|
||||
<ul class="list-inline">
|
||||
<li>
|
||||
<strong>Client:</strong>
|
||||
Threads
|
||||
</li>
|
||||
<li>
|
||||
<strong>Category:</strong>
|
||||
Illustration
|
||||
</li>
|
||||
</ul>
|
||||
<button class="btn btn-primary btn-xl text-uppercase" data-bs-dismiss="modal" type="button">
|
||||
<i class="fas fa-xmark me-1"></i>
|
||||
Close Project
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Portfolio item 2 modal popup-->
|
||||
<div class="portfolio-modal modal fade" id="portfolioModal2" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="close-modal" data-bs-dismiss="modal"><img src="assets/img/close-icon.svg" alt="Close modal" /></div>
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-8">
|
||||
<div class="modal-body">
|
||||
<!-- Project details-->
|
||||
<h2 class="text-uppercase">Project Name</h2>
|
||||
<p class="item-intro text-muted">Lorem ipsum dolor sit amet consectetur.</p>
|
||||
<img class="img-fluid d-block mx-auto" src="assets/img/portfolio/2.jpg" alt="..." />
|
||||
<p>Use this area to describe your project. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Est blanditiis dolorem culpa incidunt minus dignissimos deserunt repellat aperiam quasi sunt officia expedita beatae cupiditate, maiores repudiandae, nostrum, reiciendis facere nemo!</p>
|
||||
<ul class="list-inline">
|
||||
<li>
|
||||
<strong>Client:</strong>
|
||||
Explore
|
||||
</li>
|
||||
<li>
|
||||
<strong>Category:</strong>
|
||||
Graphic Design
|
||||
</li>
|
||||
</ul>
|
||||
<button class="btn btn-primary btn-xl text-uppercase" data-bs-dismiss="modal" type="button">
|
||||
<i class="fas fa-xmark me-1"></i>
|
||||
Close Project
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Portfolio item 3 modal popup-->
|
||||
<div class="portfolio-modal modal fade" id="portfolioModal3" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="close-modal" data-bs-dismiss="modal"><img src="assets/img/close-icon.svg" alt="Close modal" /></div>
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-8">
|
||||
<div class="modal-body">
|
||||
<!-- Project details-->
|
||||
<h2 class="text-uppercase">Project Name</h2>
|
||||
<p class="item-intro text-muted">Lorem ipsum dolor sit amet consectetur.</p>
|
||||
<img class="img-fluid d-block mx-auto" src="assets/img/portfolio/3.jpg" alt="..." />
|
||||
<p>Use this area to describe your project. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Est blanditiis dolorem culpa incidunt minus dignissimos deserunt repellat aperiam quasi sunt officia expedita beatae cupiditate, maiores repudiandae, nostrum, reiciendis facere nemo!</p>
|
||||
<ul class="list-inline">
|
||||
<li>
|
||||
<strong>Client:</strong>
|
||||
Finish
|
||||
</li>
|
||||
<li>
|
||||
<strong>Category:</strong>
|
||||
Identity
|
||||
</li>
|
||||
</ul>
|
||||
<button class="btn btn-primary btn-xl text-uppercase" data-bs-dismiss="modal" type="button">
|
||||
<i class="fas fa-xmark me-1"></i>
|
||||
Close Project
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Portfolio item 4 modal popup-->
|
||||
<div class="portfolio-modal modal fade" id="portfolioModal4" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="close-modal" data-bs-dismiss="modal"><img src="assets/img/close-icon.svg" alt="Close modal" /></div>
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-8">
|
||||
<div class="modal-body">
|
||||
<!-- Project details-->
|
||||
<h2 class="text-uppercase">Project Name</h2>
|
||||
<p class="item-intro text-muted">Lorem ipsum dolor sit amet consectetur.</p>
|
||||
<img class="img-fluid d-block mx-auto" src="assets/img/portfolio/4.jpg" alt="..." />
|
||||
<p>Use this area to describe your project. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Est blanditiis dolorem culpa incidunt minus dignissimos deserunt repellat aperiam quasi sunt officia expedita beatae cupiditate, maiores repudiandae, nostrum, reiciendis facere nemo!</p>
|
||||
<ul class="list-inline">
|
||||
<li>
|
||||
<strong>Client:</strong>
|
||||
Lines
|
||||
</li>
|
||||
<li>
|
||||
<strong>Category:</strong>
|
||||
Branding
|
||||
</li>
|
||||
</ul>
|
||||
<button class="btn btn-primary btn-xl text-uppercase" data-bs-dismiss="modal" type="button">
|
||||
<i class="fas fa-xmark me-1"></i>
|
||||
Close Project
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Portfolio item 5 modal popup-->
|
||||
<div class="portfolio-modal modal fade" id="portfolioModal5" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="close-modal" data-bs-dismiss="modal"><img src="assets/img/close-icon.svg" alt="Close modal" /></div>
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-8">
|
||||
<div class="modal-body">
|
||||
<!-- Project details-->
|
||||
<h2 class="text-uppercase">Project Name</h2>
|
||||
<p class="item-intro text-muted">Lorem ipsum dolor sit amet consectetur.</p>
|
||||
<img class="img-fluid d-block mx-auto" src="assets/img/portfolio/5.jpg" alt="..." />
|
||||
<p>Use this area to describe your project. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Est blanditiis dolorem culpa incidunt minus dignissimos deserunt repellat aperiam quasi sunt officia expedita beatae cupiditate, maiores repudiandae, nostrum, reiciendis facere nemo!</p>
|
||||
<ul class="list-inline">
|
||||
<li>
|
||||
<strong>Client:</strong>
|
||||
Southwest
|
||||
</li>
|
||||
<li>
|
||||
<strong>Category:</strong>
|
||||
Website Design
|
||||
</li>
|
||||
</ul>
|
||||
<button class="btn btn-primary btn-xl text-uppercase" data-bs-dismiss="modal" type="button">
|
||||
<i class="fas fa-xmark me-1"></i>
|
||||
Close Project
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Portfolio item 6 modal popup-->
|
||||
<div class="portfolio-modal modal fade" id="portfolioModal6" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="close-modal" data-bs-dismiss="modal"><img src="assets/img/close-icon.svg" alt="Close modal" /></div>
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-8">
|
||||
<div class="modal-body">
|
||||
<!-- Project details-->
|
||||
<h2 class="text-uppercase">Project Name</h2>
|
||||
<p class="item-intro text-muted">Lorem ipsum dolor sit amet consectetur.</p>
|
||||
<img class="img-fluid d-block mx-auto" src="assets/img/portfolio/6.jpg" alt="..." />
|
||||
<p>Use this area to describe your project. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Est blanditiis dolorem culpa incidunt minus dignissimos deserunt repellat aperiam quasi sunt officia expedita beatae cupiditate, maiores repudiandae, nostrum, reiciendis facere nemo!</p>
|
||||
<ul class="list-inline">
|
||||
<li>
|
||||
<strong>Client:</strong>
|
||||
Window
|
||||
</li>
|
||||
<li>
|
||||
<strong>Category:</strong>
|
||||
Photography
|
||||
</li>
|
||||
</ul>
|
||||
<button class="btn btn-primary btn-xl text-uppercase" data-bs-dismiss="modal" type="button">
|
||||
<i class="fas fa-xmark me-1"></i>
|
||||
Close Project
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Bootstrap core JS-->
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<!-- Core theme JS-->
|
||||
<script src="{{ asset('/') }}dist/js/index.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -123,6 +123,36 @@
|
|||
<a href="{{ route('layanan-dpudpa.cetak',['caseid'=>$datas->caseid]) }}" target="_blank" class="btn btn-success">Klik Disini</a>
|
||||
</div>
|
||||
</div>
|
||||
@if($datas->ttd_operator != '-')
|
||||
<div class="row mt-3">
|
||||
<div class="col">
|
||||
<label for="resend">Kirim Ulang Email :</label>
|
||||
<form action="{{ route('layanan-dpudpa.resend',['caseid'=>$datas->caseid]) }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="jenis" value="dpu">
|
||||
<button type="submit" id="resend" class="btn btn-default btn-block">Kirim Ulang Ke DPU</button>
|
||||
</form>
|
||||
<div class="mt-1"></div>
|
||||
<form action="{{ route('layanan-dpudpa.resend',['caseid'=>$datas->caseid]) }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="jenis" value="dpa">
|
||||
<button type="submit" id="resend" class="btn btn-default btn-block">Kirim Ulang Ke DPA</button>
|
||||
</form>
|
||||
<div class="mt-1"></div>
|
||||
<form action="{{ route('layanan-dpudpa.resend',['caseid'=>$datas->caseid]) }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="jenis" value="kombi">
|
||||
<button type="submit" id="resend" class="btn btn-default btn-block">Kirim Ulang Ke Kombi</button>
|
||||
</form>
|
||||
<div class="mt-1"></div>
|
||||
<form action="{{ route('layanan-dpudpa.resend',['caseid'=>$datas->caseid]) }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="jenis" value="mahasiswa">
|
||||
<button type="submit" id="resend" class="btn btn-default btn-block">Kirim Ulang Ke Mahasiswa</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
|
@ -185,6 +215,7 @@
|
|||
<tr>
|
||||
<th>CaseID</th>
|
||||
<th>NIM</th>
|
||||
<th>Nama Mahasiswa</th>
|
||||
<th>DPU</th>
|
||||
<th>DPA</th>
|
||||
<th>Action</th>
|
||||
|
|
67
resources/views/layanan-revisipublikasi/cari.blade.php
Normal file
67
resources/views/layanan-revisipublikasi/cari.blade.php
Normal file
|
@ -0,0 +1,67 @@
|
|||
<!-- Extend Layout -->
|
||||
@extends('layout.app_guest',['title' => 'Pengajuan Publikasi / Revisi'])
|
||||
@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 Publikasi / Revisi</h3>
|
||||
</div>
|
||||
@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
|
||||
<div class="card-body">
|
||||
@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-revisipublikasi.search') }}" method="post">
|
||||
@csrf
|
||||
<label for="nim">NIM Mahasiswa :</label>
|
||||
<input type="text" name="nim" id="nim" class="form-control" placeholder="Masukkan NIM Anda">
|
||||
<div class="float-right mt-4">
|
||||
<button type="submit" class="btn btn-success">Cari</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.card -->
|
||||
</div>
|
||||
<!-- /.container-fluid -->
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
|
||||
@endsection
|
200
resources/views/layanan-revisipublikasi/cetak.blade.php
Normal file
200
resources/views/layanan-revisipublikasi/cetak.blade.php
Normal file
|
@ -0,0 +1,200 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="id" lang="id">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>{{ $title }}</title>
|
||||
<meta name="author" content="PINTU FARMASI"/>
|
||||
<style type="text/css">
|
||||
@page {
|
||||
margin-top: 180px;
|
||||
margin-left: 75px;
|
||||
margin-right: 60px;
|
||||
}
|
||||
*{
|
||||
font-size: 12pt;
|
||||
}
|
||||
#table-header{
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
/* right: px; */
|
||||
top: -150px;
|
||||
border-bottom: 3px solid #000;
|
||||
}
|
||||
#table-header td{
|
||||
text-align: center;
|
||||
font-family: 'Times New Roman', Times, Arial;
|
||||
font-size: 14pt;
|
||||
}
|
||||
#table-header td p{
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.table-judul{
|
||||
border:1.5px solid;
|
||||
vertical-align:inherit;
|
||||
text-align:center;
|
||||
}
|
||||
.table-konten{
|
||||
border:1.5px solid;
|
||||
padding:0.5em;
|
||||
vertical-align:inherit;
|
||||
text-align:left;
|
||||
}
|
||||
.kolom-ttd{
|
||||
border:1.5px solid;
|
||||
padding:0;
|
||||
vertical-align:inherit;
|
||||
text-align:center;
|
||||
}
|
||||
/* p {
|
||||
color: black; font-family:"Times New Roman", serif; font-style: normal; font-weight: normal; text-decoration: none; font-size: 12pt; margin:0pt;
|
||||
}
|
||||
h1 {
|
||||
color: black; font-family:"Times New Roman",
|
||||
serif;
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
font-size: 12pt;
|
||||
}
|
||||
.s1 { color: black; font-family:"Times New Roman", serif; font-style: normal; font-weight: bold; text-decoration: none; font-size: 12pt; }
|
||||
.s2 { color: black; font-family:"Times New Roman", serif; font-style: normal; font-weight: normal; text-decoration: none; font-size: 12pt; }
|
||||
table, tbody {vertical-align: top; overflow: visible; } */
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table border="0" id="table-header">
|
||||
<tr>
|
||||
<td><img src="{{ asset('dist/img/logo-unej.png') }}" alt="LOGOUNEJ" width="125px"></td>
|
||||
<td>
|
||||
<p>KEMENTRIAN PENDIDIKAN, KEBUDAYAAN,<br/>
|
||||
RISET, DAN TEKNOLOGI</p>
|
||||
<p style="font-size:16pt; font-weight:bold;">UNIVERSITAS JEMBER</p>
|
||||
<p style="font-weight:bold;">FAKULTAS FARMASI</p>
|
||||
<p style="font-size:10pt;">Jalan Kalimantan I Nomor 2 Kampus Tegal Boto Kotak Pos 159 Jember 68121<br/>
|
||||
Telepon/Faximile (0331) 324736 <br/>
|
||||
Email: farmasi@unej.ac.id</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h4 style="text-align: center;">SURAT PERNYATAAN PUBLIKASI</h4>
|
||||
<p style="margin-bottom: 0; text-align:justify;">Saya yang bertanda tangan di bawah ini: :</p>
|
||||
<table border="0" style="margin-top:5px; padding-left:1em;">
|
||||
<tr>
|
||||
<td style="width: 6em;"> Nama</td>
|
||||
<td style="max-width: 0.5em;">:</td>
|
||||
<td style=" text-align:left; margin:0; padding:0;"> {{$dosen_dpu_nama_gelar}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> NIP</td>
|
||||
<td>:</td>
|
||||
<td style="text-align:left; margin:0; padding:0;"> {{$dosen_dpu_nip}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p style="margin-top: 10px; text-align:justify;">Menyatakan dengan sesungguhnya bahwa karya tulis ilmiah berikut ini merupakan hasil penelitian bersama dengan mahasiswa dan akan dipublikasikan di jurnal selain e-jurnal Pustaka Kesehatan Universitas Jember,</p>
|
||||
<table border="0" style="margin-top:5px; padding-left:1em;">
|
||||
<tr>
|
||||
<td style="width: 9em; vertical-align: text-top;"> Judul Artikel Ilmiah</td>
|
||||
<td style="max-width: 0.5em; vertical-align: text-top;">:</td>
|
||||
<td style=" text-align:left; margin:0; padding:0; vertical-align: text-top;"> {{$judul_artikel}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align: text-top;"> Nama Mahasiswa</td>
|
||||
<td style="vertical-align: text-top;">:</td>
|
||||
<td style="text-align:left; margin:0; padding:0;"> {{$nama_mahasiswa}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> NIM</td>
|
||||
<td>:</td>
|
||||
<td style="text-align:left; margin:0; padding:0;"> {{$nim}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align: text-top;"> Nama Jurnal</td>
|
||||
<td style="vertical-align: text-top;">:</td>
|
||||
<td style="text-align:left; margin:0; padding:0; vertical-align: text-top;"> {{$judul_jurnal}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p style="margin-top: 10px; text-align:justify;">Demikian pernyataan ini saya buat dengan sebenarnya, tanpa mendapatkan tekanan dan paksaan dari pihak manapun, serta bersedia mendapatkan sanksi akademik jika ternyata di kemudian hari pernyataan ini tidak benar.</p>
|
||||
<table border="0" style="padding-top:10em;" cellspacing="0">
|
||||
<tr>
|
||||
<td width="340px"></td>
|
||||
<td>Jember, {{ $date }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"></td>
|
||||
<td style="text-align: left">Dosen Pembimbing Utama,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="height:100px; text-align: left; vertical-align:bottom;">
|
||||
|
||||
</td>
|
||||
<td style="height:100px; text-align: left; vertical-align:bottom;">
|
||||
<img src="data:image/png;base64, {!! $dosen_dpu_qrcode !!}" alt="">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left;"></td>
|
||||
<td style="text-align: left;">{{ $dosen_dpu_nama_gelar }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"></td>
|
||||
<td style="text-align: left">NIP. {{ $dosen_dpu_nip }}<td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p style="page-break-after: always;"></p>
|
||||
<h4 style="text-align: center;">SURAT PERSETUJUAN SKRIPSI</h4>
|
||||
<p style="margin-bottom: 0; text-align:justify;">Kami selaku Dosen Penguji Tugas Akhir/Skripsi mahasiswa sebagai tersebut di bawah ini :</p>
|
||||
<table border="0" style="margin-top:5px; padding-left:1em;">
|
||||
<tr>
|
||||
<td style="width: 6em;"> Nama</td>
|
||||
<td style="max-width: 0.5em;">:</td>
|
||||
<td style="text-align:left; margin:0; padding:0;"> {{$nama_mahasiswa}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> NIM</td>
|
||||
<td>:</td>
|
||||
<td style="text-align:left; margin:0; padding:0;"> {{$nim}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> Bagian</td>
|
||||
<td>:</td>
|
||||
<td style="text-align:left; margin:0; padding:0;"> {{$bagian}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align: text-top;">Judul Skripsi</td>
|
||||
<td style="vertical-align: text-top;">:</td>
|
||||
<td style="text-align:left; margin:0; padding:0; vertical-align: text-top;"> {{$judul_skripsi_id}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p style="margin-top: 10px; text-align:justify;">Menerangkan dengan sebenarnya bahwa mahasiswa yang bersangkutan telah melakukan konsultasi dan merevisi naskah skripsi sesuai saran dan masukan penguji.</p>
|
||||
<p style="margin-top: 10px; text-align:justify;">Demikian untuk diketahui dan dipergunakan sebagaimana mestinya.</p>
|
||||
<table border="0" style="padding-top:10em;" cellspacing="0">
|
||||
<tr>
|
||||
<td width="350px"></td>
|
||||
<td>Jember, {{ $date }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left">Dosen Penguji Utama, </td>
|
||||
<td style="text-align: left">Dosen Penguji Anggota, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="height:100px; text-align: left; vertical-align:bottom;">
|
||||
<img src="data:image/png;base64, {!! $dosen_penguji1_qrcode !!}" alt="">
|
||||
</td>
|
||||
<td style="height:100px; text-align: left; vertical-align:bottom;">
|
||||
<img src="data:image/png;base64, {!! $dosen_penguji2_qrcode !!}" alt="">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left;">{{ $dosen_penguji1_nama_gelar }}</td>
|
||||
<td style="text-align: left;">{{ $dosen_penguji2_nama_gelar }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left">NIP. {{ $dosen_penguji1_nip }}</td>
|
||||
<td style="text-align: left">NIP. {{ $dosen_penguji2_nip }}<td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
111
resources/views/layanan-revisipublikasi/ettd.blade.php
Normal file
111
resources/views/layanan-revisipublikasi/ettd.blade.php
Normal file
|
@ -0,0 +1,111 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ $title }} {{$jenis}}</title>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
|
||||
<link rel="stylesheet" href="{{asset('/')}}plugins/fontawesome-free/css/all.min.css">
|
||||
<link rel="stylesheet" href="{{asset('/')}}dist/css/adminlte.min.css?v=3.2.0">
|
||||
<body class="hold-transition layout-top-nav">
|
||||
|
||||
<div class="content-wrapper">
|
||||
<div class="content-header">
|
||||
<div class="container">
|
||||
<div class="text-center">
|
||||
<h1 class="m-0"> {{ $title }} {{$jenis}}</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="container">
|
||||
<div class="card card-widget widget-user">
|
||||
<div class="widget-user-header text-white" style="background: url('{{asset('/')}}dist/img/photo1.png') center center;">
|
||||
<h3 class="widget-user-username text-right">{{$data->caseid}}</h3>
|
||||
<h5 class="widget-user-desc text-right">{{$jenis}}</h5>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<div class="row">
|
||||
<div class="col-sm-4 border-right">
|
||||
<div class="description-block" style="margin-top: 0px; overflow: hidden;">
|
||||
<h5 class="description-header">CaseID</h5>
|
||||
<span class="description-text">{{$data->caseid}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-4 border-right">
|
||||
<div class="description-block" style="margin-top: 0px; overflow: hidden;">
|
||||
<h5 class="description-header">Nama Mahasiswa</h5>
|
||||
<span class="description-text">{{ $data->nama}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<div class="description-block" style="margin-top: 0px; overflow: hidden;">
|
||||
<h5 class="description-header">Tanda Tangan Oleh</h5>
|
||||
<span class="description-text">
|
||||
@if(request('url')=="dpu") {{ $data->dosen_dpu_nama_gelar }}
|
||||
@elseif(request('url')=="penguji1") {{ $data->dosen_penguji1_nama_gelar }}
|
||||
@elseif(request('url')=="penguji2") {{ $data->dosen_penguji2_nama_gelar }}
|
||||
@endif
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
@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-revisipublikasi.submitettd',[ 'url'=> request('url'), 'caseid'=>$data->caseid]) }}" method="post">
|
||||
@csrf
|
||||
<label for="caseid">CASEID :</label>
|
||||
<input type="text" name="caseid" id="caseid" class="form-control" readonly value="{{ $data->caseid}}">
|
||||
<label for="nama">Nama Mahasiswa :</label>
|
||||
<input type="text" name="nama" id="nama" class="form-control" readonly value="{{ $data->nama}}">
|
||||
<label for="nim">NIM Mahasiswa :</label>
|
||||
<input type="text" name="nim" id="nim" class="form-control" readonly value="{{ $data->nim}}">
|
||||
<label for="judul_skripsi_id">Judul Skripsi Bahasa Indonesia:</label>
|
||||
<input type="text" name="judul_skripsi_id" id="judul_skripsi_id" class="form-control" readonly value="{{ $data->judul_skripsi_id}}">
|
||||
<label for="judul_jurnal">Judul Jurnal:</label>
|
||||
<input type="text" name="judul_jurnal" id="judul_jurnal" class="form-control" readonly value="{{ $data->judul_jurnal}}">
|
||||
<label for="judul_artikel">Judul Artikel:</label>
|
||||
<input type="text" name="judul_artikel" id="judul_artikel" class="form-control" readonly value="{{ $data->judul_artikel}}">
|
||||
<label for="ettd">Masukkan E-TTD {{ $jenis }} :
|
||||
</label><input type="text" name="ettd" id="ettd" class="form-control" placeholder="Masukkan ETTD Anda Disini...">
|
||||
|
||||
<div class="float-right mt-4">
|
||||
<button type="submit" class="btn btn-success">Submit</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@include('layout.navbars.footer')
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script src="{{asset('/')}}plugins/jquery/jquery.min.js"></script>
|
||||
|
||||
<script src="{{asset('/')}}plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
<script src="{{asset('/')}}dist/js/adminlte.min.js?v=3.2.0"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
273
resources/views/layanan-revisipublikasi/index.blade.php
Normal file
273
resources/views/layanan-revisipublikasi/index.blade.php
Normal file
|
@ -0,0 +1,273 @@
|
|||
<!-- Extend Layout -->
|
||||
@extends('layout.app')
|
||||
<!-- Add Custom CSS -->
|
||||
@push('css')
|
||||
<link rel="stylesheet" href="{{asset('/')}}plugins/datatables-bs4/css/dataTables.bootstrap4.min.css">
|
||||
<link rel="stylesheet" href="{{asset('/')}}plugins/datatables-responsive/css/responsive.bootstrap4.min.css">
|
||||
<link rel="stylesheet" href="{{asset('/')}}plugins/datatables-buttons/css/buttons.bootstrap4.min.css">
|
||||
|
||||
@endpush
|
||||
<!-- Add Content Here -->
|
||||
@section('content')
|
||||
<!-- Include Sidebar -->
|
||||
@include('layout.navbars.sidebar')
|
||||
<div class="content-wrapper">
|
||||
<!-- Main content -->
|
||||
<section class="content-header">
|
||||
<div class="container-fluid">
|
||||
<div class="row mb-2">
|
||||
<div class="col-sm-6">
|
||||
<h1>Pengajuan Publikasi / Revisi</h1>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<ol class="breadcrumb float-sm-right">
|
||||
<li class="breadcrumb-item"><a href="{{ route('admin.dashboard') }}">Admin</a></li>
|
||||
<li class="breadcrumb-item active">Pengajuan Publikasi / Revisi</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.container-fluid -->
|
||||
</section>
|
||||
|
||||
<section class="content">
|
||||
<div class="card">
|
||||
<!-- /.card-header -->
|
||||
<div class="card-body">
|
||||
<div class="alert alert-info alert-dismissible">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<h5><i class="icon fas fa-info"></i> Perhatian!</h5>
|
||||
<span >CaseID Akan muncul ketika pengajuan telah diterima untuk menghindari data duplikat untuk mahasiswa yang sama.</span>
|
||||
</div>
|
||||
@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
|
||||
<table id="example1" class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>CaseID</th>
|
||||
<th>NIM</th>
|
||||
<th>Nama</th>
|
||||
<th>DPU</th>
|
||||
<th>Dosen Penguji Utama</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($data as $datas)
|
||||
<tr>
|
||||
<td>{{ $datas->caseid }}</td>
|
||||
<td>{{ $datas->nim }} </td>
|
||||
<td>{{ $datas->nama }} </td>
|
||||
<td>{{ $datas->dpu_nama_gelar }}</td>
|
||||
<td>{{ $datas->penguji1_nama_gelar }}</td>
|
||||
<td class="text-center">
|
||||
<button class="btn btn-primary" data-toggle="modal" data-target="#MD{{ $datas->id }}" >Details</button> |
|
||||
@if($datas->ttd_operator=="-")
|
||||
<button class="btn btn-success" data-toggle="modal" data-target="#MD{{ $datas->id }}" >Terima</button> |
|
||||
<button class="btn btn-danger" data-toggle="modal" data-target="#MDDelete{{ $datas->id }}" >Tolak</button>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Modal Detail dan Terima -->
|
||||
<div class="modal fade" id="MD{{$datas->id}}">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">Details Data <b>{{ $datas->caseid }}</b></h4>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="nim">NIM:</label>
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->nim }}">
|
||||
<label for="nama">Nama Mahasiswa:</label>
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->nama }}">
|
||||
<label for="dosen_dpu">Dosen DPU: {{ $datas->ttd_dpu === '-' ? 'Belum Tanda Tangan' : 'Telah TTD Pada '.$datas->ttd_dpu }}</label>
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->dpu_nama_gelar }}">
|
||||
<label for="dosen_penguji1">Dosen Penguji1: {{ $datas->ttd_penguji1 === '-' ? 'Belum Tanda Tangan' : 'Telah TTD Pada '.$datas->ttd_penguji1 }}</label>
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->penguji1_nama_gelar }}">
|
||||
<label for="dosen_penguji2">Dosen Penguji1: {{ $datas->ttd_penguji2 === '-' ? 'Belum Tanda Tangan' : 'Telah TTD Pada '.$datas->ttd_penguji2 }}</label>
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->penguji2_nama_gelar }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="judul_skripsi_id">Judul Skripsi :</label><br>
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->judul_skripsi_id }}">
|
||||
<label for="judul_jurnal">Judul Jurnal :</label><br>
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->judul_jurnal }}">
|
||||
<label for="judul_artikel">Judul Artikel :</label><br>
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->judul_artikel }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="file_transkrip">Cetak Surat Pernyataan<br>
|
||||
<a href="{{ route('layanan-revisipublikasi.cetak',['caseid'=>$datas->caseid]) }}" target="_blank" class="btn btn-success">Klik Disini</a>
|
||||
</div>
|
||||
</div>
|
||||
@if($datas->ttd_operator != '-')
|
||||
<div class="row mt-3">
|
||||
<div class="col">
|
||||
<label for="resend">Kirim Ulang Email :</label>
|
||||
<form action="{{ route('layanan-revisipublikasi.resend',['caseid'=>$datas->caseid]) }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="jenis" value="dpu">
|
||||
<button type="submit" id="resend" class="btn btn-default btn-block">Kirim Ulang Ke DPU</button>
|
||||
</form>
|
||||
<div class="mt-1"></div>
|
||||
<form action="{{ route('layanan-revisipublikasi.resend',['caseid'=>$datas->caseid]) }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="jenis" value="penguji1">
|
||||
<button type="submit" id="resend" class="btn btn-default btn-block">Kirim Ulang Ke Penguji Utama</button>
|
||||
</form>
|
||||
<div class="mt-1"></div>
|
||||
<form action="{{ route('layanan-revisipublikasi.resend',['caseid'=>$datas->caseid]) }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="jenis" value="penguji2">
|
||||
<button type="submit" id="resend" class="btn btn-default btn-block">Kirim Ulang Ke Penguji Anggota</button>
|
||||
</form>
|
||||
<div class="mt-1"></div>
|
||||
<form action="{{ route('layanan-revisipublikasi.resend',['caseid'=>$datas->caseid]) }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="jenis" value="mahasiswa">
|
||||
<button type="submit" id="resend" class="btn btn-default btn-block">Kirim Ulang Ke Mahasiswa</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
<span>{{$datas->caseid}}</span>
|
||||
@if($datas->ttd_operator=="-")
|
||||
<form action="{{ route('layanan-revisipublikasi.terima')}}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="id" value="{{$datas->id}}">
|
||||
<button type="submit" class="btn btn-success">Terima</button>
|
||||
</form>
|
||||
@endif
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.modal-content -->
|
||||
</div>
|
||||
<!-- /.modal-dialog -->
|
||||
</div>
|
||||
<!-- /.modal-Delete -->
|
||||
<div class="modal fade" id="MDDelete{{$datas->id}}">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">Apa Anda Yakin Ingin Menghapus Data : <b>{{ $datas->caseid }}</b></h4>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="alert alert-info alert-dismissible">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<h5><i class="icon fas fa-info"></i> Perhatian!</h5>
|
||||
<span >Alasan yang Dimasukkan Disini, Akan dikirimkan melalui Email Kepada Mahasiswa Terkait.</span>
|
||||
</div>
|
||||
<form action="{{ route('layanan-revisipublikasi.destroy') }}" method="post">
|
||||
@csrf @method('DELETE')
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="alasan">Alasan:</label>
|
||||
<textarea name="alasan" class="form-control" id="alasan" cols="30" rows="10"
|
||||
placeholder="Masukkan Alasan Disini
|
||||
Masukkan Alasan Disini"></textarea>
|
||||
<input type="hidden" name="id" value="{{$datas->id}}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Batal</button>
|
||||
<button type="submit" class="btn btn-danger">Kirim</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.modal-content -->
|
||||
</div>
|
||||
<!-- /.modal-dialog -->
|
||||
</div>
|
||||
@endforeach
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>CaseID</th>
|
||||
<th>NIM</th>
|
||||
<th>Nama</th>
|
||||
<th>DPU</th>
|
||||
<th>Dosen Penguji Utama</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
<!-- /.card-body -->
|
||||
</div>
|
||||
<!-- /.card -->
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
<!-- Add Custom JS -->
|
||||
@push('js')
|
||||
<!-- DataTables & Plugins -->
|
||||
<script src="{{asset('/')}}plugins/datatables/jquery.dataTables.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-bs4/js/dataTables.bootstrap4.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-responsive/js/dataTables.responsive.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-responsive/js/responsive.bootstrap4.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-buttons/js/dataTables.buttons.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-buttons/js/buttons.bootstrap4.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/jszip/jszip.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/pdfmake/pdfmake.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/pdfmake/vfs_fonts.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-buttons/js/buttons.html5.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-buttons/js/buttons.print.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-buttons/js/buttons.colVis.min.js"></script>
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
$("#example1").DataTable({
|
||||
"responsive": true, "lengthChange": false, "autoWidth": false,
|
||||
"buttons": [{
|
||||
// New button configuration
|
||||
text: 'Tambah Data', // Replace with your desired button text
|
||||
action: function ( e, dt, node, config ) {
|
||||
// Perform your custom action here, e.g., open a new tab with the external link
|
||||
window.open("{{ route('layanan-revisipublikasi.tambah')}}", '_blank');
|
||||
}
|
||||
},"csv", "excel", "pdf", "print", "colvis"]
|
||||
}).buttons().container().appendTo('#example1_wrapper .col-md-6:eq(0)');
|
||||
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
203
resources/views/layanan-revisipublikasi/tambah.blade.php
Normal file
203
resources/views/layanan-revisipublikasi/tambah.blade.php
Normal file
|
@ -0,0 +1,203 @@
|
|||
<!-- Extend Layout -->
|
||||
@extends('layout.app_guest',['title' => 'Pengajuan Publikasi / Revisi'])
|
||||
@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 Publikasi / Revisi</h3>
|
||||
</div>
|
||||
<!-- /.card-header -->
|
||||
<div class="card-body">
|
||||
@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
|
||||
<div class="alert alert-info alert-dismissible">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<h5><i class="icon fas fa-info"></i> Perhatian!</h5>
|
||||
<span >Pernah Menggunakan Layanan PINTU Untuk Pengajuan ? Coba Gunakan Fitur Cari. </span><a href="{{ route('layanan-revisipublikasi.cari') }}" class="btn btn-success btn-sm">Klik Disini</a>
|
||||
</div>
|
||||
<form action="{{ route('layanan-revisipublikasi.store') }}" method="post" enctype="multipart/form-data">
|
||||
@csrf
|
||||
@if(isset($data_mahasiswa))
|
||||
<input type="hidden" name="status" value="ada">
|
||||
<!-- DATA MHS -->
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="nim">NIM Mahasiswa</label>
|
||||
<input type="text" name="nim" id="nim" class="form-control" placeholder="Masukkan NIM Mahasiswa" value="{{$data_mahasiswa->nim}}" required readonly>
|
||||
<label for="nama">Nama Mahasiswa</label>
|
||||
<input type="text" name="nama" id="nama" class="form-control" placeholder="Masukkan Nama Mahasiswa" value="{{$data_mahasiswa->nama}}" required readonly>
|
||||
<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="{{$data_mahasiswa->nomor_hp}}" required readonly>
|
||||
<label for="email">Email Mahasiswa</label>
|
||||
<input type="text" name="email" id="email" class="form-control" placeholder="Masukkan Email Mahasiswa" value="{{$data_mahasiswa->email}}" required readonly>
|
||||
<label for="bagian">Bagian Lab: </label>
|
||||
<select class="form-control select2" style="width: 100%;" id="bagian" name="bagian" readonly>
|
||||
<option>Pilih Laboratorium</option>
|
||||
@foreach($bagian as $item)
|
||||
<option value="{{$item->id}}" {{ $data_mahasiswa->bagian === strval($item->id) ? 'selected' : '' }}>{{$item->nama_bagian}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="form-group">
|
||||
<label for="dosen_dpu">Dosen Pembimbing Utama</label>
|
||||
<select class="form-control select2" style="width: 100%;" id="dosen_dpu" name="dosen_dpu" readonly>
|
||||
<option selected>Pilih Dosen Pembimbing Utama</option>
|
||||
@foreach ($dosen as $item)
|
||||
<option value="{{$item->id}}" {{ $data_mahasiswa->dosen_dpu_id === $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" readonly>
|
||||
<option>Pilih Dosen Pembimbing Anggota</option>
|
||||
@foreach ($dosen as $item)
|
||||
<option value="{{$item->id}}" {{ $data_mahasiswa->dosen_dpa_id === $item->id ? 'selected' : '' }}>{{ $item->nama_gelar }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<!-- /.form-group -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
@else
|
||||
<!-- DATA MHS -->
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="nim">NIM Mahasiswa</label>
|
||||
<input type="text" name="nim" id="nim" class="form-control" placeholder="Masukkan NIM Mahasiswa" value="{{old('nim')}}" required>
|
||||
<label for="nama">Nama Mahasiswa</label>
|
||||
<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>
|
||||
@foreach($bagian as $item)
|
||||
<option value="{{$item->id}}">{{$item->nama_bagian}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="form-group">
|
||||
<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
|
||||
</select>
|
||||
</div>
|
||||
<!-- /.form-group -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
@endif
|
||||
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="form-group">
|
||||
<label for="dosen_penguji1">Dosen Penguji Utama</label>
|
||||
<select class="form-control select2" style="width: 100%;" id="dosen_penguji1" name="dosen_penguji1">
|
||||
<option selected>Pilih Dosen Penguji Utama</option>
|
||||
@foreach ($dosen as $item)
|
||||
<option value="{{$item->id}}" {{ old('dosen_penguji1') === $item->id ? 'selected' : '' }}>{{ $item->nama_gelar }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<!-- /.form-group -->
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="form-group">
|
||||
<label for="dosen_penguji2">Dosen Penguji Anggota</label>
|
||||
<select class="form-control select2" style="width: 100%;" id="dosen_penguji2" name="dosen_penguji2">
|
||||
<option>Pilih Dosen Penguji Anggota</option>
|
||||
@foreach ($dosen as $item)
|
||||
<option value="{{$item->id}}" {{ old('dosen_penguji2') === $item->id ? 'selected' : '' }}>{{ $item->nama_gelar }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<!-- /.form-group -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="judul_skripsi_id">Judul Skripsi / Tugas Akhir Dalam Bahasa Indonesia</label>
|
||||
<input type="text" name="judul_skripsi_id" id="judul_skripsi_id" class="form-control" placeholder="Masukkan Judul Skripsi / Tugas Akhir Dalam Bahasa Indonesia" required>
|
||||
<label for="judul_artikel">Judul Artikel</label>
|
||||
<input type="text" name="judul_artikel" id="judul_artikel" class="form-control" placeholder="Masukkan Judul Artikel" required>
|
||||
<label for="judul_jurnal">Judul Jurnal</label>
|
||||
<input type="text" name="judul_jurnal" id="judul_jurnal" class="form-control" placeholder="Masukkan Judul Jurnal" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col py-3">
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.card -->
|
||||
</div>
|
||||
<!-- /.container-fluid -->
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
|
||||
@endsection
|
|
@ -104,7 +104,7 @@
|
|||
<label for="nama">Nama Mahasiswa:</label>
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->nama }}">
|
||||
<label for="dosen_dpu">Dosen DPU: {{ $datas->ttd_dpu === '-' ? 'Belum Tanda Tangan' : 'Telah TTD Pada '.$datas->ttd_dpu }}</label>
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->dpa_nama_gelar }}">
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->dpu_nama_gelar }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
@ -143,6 +143,24 @@
|
|||
<a href="{{ route('layanan-sempro.cetak',['caseid'=>$datas->caseid]) }}" target="_blank" class="btn btn-success">Klik Disini</a>
|
||||
</div>
|
||||
</div>
|
||||
@if($datas->ttd_operator != '-')
|
||||
<div class="row mt-3">
|
||||
<div class="col">
|
||||
<label for="resend">Kirim Ulang Email :</label>
|
||||
<form action="{{ route('layanan-sempro.resend',['caseid'=>$datas->caseid]) }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="jenis" value="dpu">
|
||||
<button type="submit" id="resend" class="btn btn-default btn-block">Kirim Ulang Ke DPU</button>
|
||||
</form>
|
||||
<div class="mt-1"></div>
|
||||
<form action="{{ route('layanan-sempro.resend',['caseid'=>$datas->caseid]) }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="jenis" value="mahasiswa">
|
||||
<button type="submit" id="resend" class="btn btn-default btn-block">Kirim Ulang Ke Mahasiswa</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
|
|
67
resources/views/layanan-sidangakhir/cari.blade.php
Normal file
67
resources/views/layanan-sidangakhir/cari.blade.php
Normal file
|
@ -0,0 +1,67 @@
|
|||
<!-- Extend Layout -->
|
||||
@extends('layout.app_guest',['title' => 'Pengajuan Sidang Akhir'])
|
||||
@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 Sidang Akhir</h3>
|
||||
</div>
|
||||
@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
|
||||
<div class="card-body">
|
||||
@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-sidangakhir.search') }}" method="post">
|
||||
@csrf
|
||||
<label for="nim">NIM Mahasiswa :</label>
|
||||
<input type="text" name="nim" id="nim" class="form-control" placeholder="Masukkan NIM Anda">
|
||||
<div class="float-right mt-4">
|
||||
<button type="submit" class="btn btn-success">Cari</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.card -->
|
||||
</div>
|
||||
<!-- /.container-fluid -->
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
|
||||
@endsection
|
192
resources/views/layanan-sidangakhir/cetak.blade.php
Normal file
192
resources/views/layanan-sidangakhir/cetak.blade.php
Normal file
|
@ -0,0 +1,192 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="id" lang="id">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>{{ $title }}</title>
|
||||
<meta name="author" content="PINTU FARMASI"/>
|
||||
<style type="text/css">
|
||||
@page {
|
||||
margin-top: 180px;
|
||||
margin-left: 75px;
|
||||
margin-right: 60px;
|
||||
}
|
||||
*{
|
||||
font-size: 12pt;
|
||||
}
|
||||
#table-header{
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
/* right: px; */
|
||||
top: -150px;
|
||||
border-bottom: 3px solid #000;
|
||||
}
|
||||
#table-header td{
|
||||
text-align: center;
|
||||
font-family: 'Times New Roman', Times, Arial;
|
||||
font-size: 14pt;
|
||||
}
|
||||
#table-header td p{
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.table-judul{
|
||||
border:1.5px solid;
|
||||
vertical-align:inherit;
|
||||
text-align:center;
|
||||
}
|
||||
.table-konten{
|
||||
border:1.5px solid;
|
||||
padding:0.5em;
|
||||
vertical-align:inherit;
|
||||
text-align:left;
|
||||
}
|
||||
.kolom-ttd{
|
||||
border:1.5px solid;
|
||||
padding:0;
|
||||
vertical-align:inherit;
|
||||
text-align:center;
|
||||
}
|
||||
/* p {
|
||||
color: black; font-family:"Times New Roman", serif; font-style: normal; font-weight: normal; text-decoration: none; font-size: 12pt; margin:0pt;
|
||||
}
|
||||
h1 {
|
||||
color: black; font-family:"Times New Roman",
|
||||
serif;
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
font-size: 12pt;
|
||||
}
|
||||
.s1 { color: black; font-family:"Times New Roman", serif; font-style: normal; font-weight: bold; text-decoration: none; font-size: 12pt; }
|
||||
.s2 { color: black; font-family:"Times New Roman", serif; font-style: normal; font-weight: normal; text-decoration: none; font-size: 12pt; }
|
||||
table, tbody {vertical-align: top; overflow: visible; } */
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table border="0" id="table-header">
|
||||
<tr>
|
||||
<td><img src="{{ asset('dist/img/logo-unej.png') }}" alt="LOGOUNEJ" width="125px"></td>
|
||||
<td>
|
||||
<p>KEMENTRIAN PENDIDIKAN, KEBUDAYAAN,<br/>
|
||||
RISET, DAN TEKNOLOGI</p>
|
||||
<p style="font-size:16pt; font-weight:bold;">UNIVERSITAS JEMBER</p>
|
||||
<p style="font-weight:bold;">FAKULTAS FARMASI</p>
|
||||
<p style="font-size:10pt;">Jalan Kalimantan I Nomor 2 Kampus Tegal Boto Kotak Pos 159 Jember 68121<br/>
|
||||
Telepon/Faximile (0331) 324736 <br/>
|
||||
Email: farmasi@unej.ac.id</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h4 style="text-align: center;">SURAT PERNYATAAN BEBAS PLAGIASI SKRIPSI</h4>
|
||||
<p style="margin-bottom: 0;">Saya Selaku Dosen Pembimbing Utama mahasiswa sebagai tersebut di bawah ini :</p>
|
||||
<table border="0" style="margin-top:5px; padding-left:1em;">
|
||||
<tr>
|
||||
<td style="width: 6em;"> Nama</td>
|
||||
<td style="max-width: 0.5em;">:</td>
|
||||
<td style=" text-align:left; margin:0; padding:0;"> {{$nama_mahasiswa}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> NIM</td>
|
||||
<td>:</td>
|
||||
<td style="text-align:left; margin:0; padding:0;"> {{$nim}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align: text-top;"> Judul Skripsi</td>
|
||||
<td style="vertical-align: text-top;">:</td>
|
||||
<td style="text-align:left; margin:0; padding:0; vertical-align: text-top;">{{$judul_skripsi_id}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> Similarity</td>
|
||||
<td>:</td>
|
||||
<td style="text-align:left; margin:0; padding:0;"> {{$nilai_plagiasi}} %</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p style="margin-top: 10px;">Menyatakan bahwa proposal skripsi/skripsi* dengan judul tersebut diatas bebas plagiasi berdasarkan penelurusan menggunakan program Turnitin dengan tingkat similarity <span style="font-family: DejaVu Sans, sans-serif; font-size 12pt;">≤ </span>25% untuk satu referensi dan maksimal 30%.</p>
|
||||
<p style="margin-top: 10px; text-align:justify;">Demikian untuk diketahui dan dipergunakan sebagaimana mestinya.</p>
|
||||
<table border="0" style="padding-top:10em;" cellspacing="0">
|
||||
<tr>
|
||||
<td width="400px"></td>
|
||||
<td>Jember, {{ $date }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"></td>
|
||||
<td style="text-align: left">Pembuat Pernyataan</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="height:100px; text-align: left; vertical-align:bottom;">
|
||||
|
||||
</td>
|
||||
<td style="height:100px; text-align: left; vertical-align:bottom;">
|
||||
<img src="data:image/png;base64, {!! $dosen_dpu_qrcode !!}" alt="">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left;"></td>
|
||||
<td style="text-align: left;">{{ $dosen_dpu_nama_gelar }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"></td>
|
||||
<td style="text-align: left">NIP. {{ $dosen_dpu_nip }}<td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p style="page-break-after: always;"></p>
|
||||
|
||||
<h4 style="text-align: center;">FORMULIR PERSETUJUAN JUDUL SKRIPSI</h4>
|
||||
<p style="margin-bottom: 0;">Saya Selaku Dosen Pembimbing Utama mahasiswa sebagai tersebut di bawah ini :</p>
|
||||
<table border="0" style="margin-top:5px; padding-left:1em;">
|
||||
<tr>
|
||||
<td style="width: 6em;"> Nama</td>
|
||||
<td style="max-width: 0.5em;">:</td>
|
||||
<td style=" text-align:left; margin:0; padding:0;"> {{$nama_mahasiswa}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> NIM</td>
|
||||
<td>:</td>
|
||||
<td style="text-align:left; margin:0; padding:0;"> {{$nim}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p style="margin-top: 10px;">Menyetujui judul tugas akhir mahasiswa tersebut yang akan dicantumkan dalam transkrip adalah sebagai berikut:</p>
|
||||
<table border="0" style="margin-top:5px; padding-left:1em;">
|
||||
<tr>
|
||||
<td style="vertical-align: text-top; width:33%;"> Judul Skripsi Bahasa Indonesia</td>
|
||||
<td style="vertical-align: text-top;">:</td>
|
||||
<td style="text-align:left; margin:0; padding:0; vertical-align: text-top; width:67%;">{{$judul_skripsi_id}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align: text-top;"> Judul Skripsi Bahasa Inggris</td>
|
||||
<td style="vertical-align: text-top;">:</td>
|
||||
<td style="text-align:left; margin:0; padding:0; vertical-align: text-top;">{{$judul_skripsi_en}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p style="margin-top: 10px; text-align:justify;">Demikian untuk diketahui dan dipergunakan sebagaimana mestinya.</p>
|
||||
<table border="0" style="padding-top:10em;" cellspacing="0">
|
||||
<tr>
|
||||
<td width="400px"></td>
|
||||
<td>Jember, {{ $date }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"></td>
|
||||
<td style="text-align: left">Pembuat Pernyataan</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="height:100px; text-align: left; vertical-align:bottom;">
|
||||
|
||||
</td>
|
||||
<td style="height:100px; text-align: left; vertical-align:bottom;">
|
||||
<img src="data:image/png;base64, {!! $dosen_dpu_qrcode !!}" alt="">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left;"></td>
|
||||
<td style="text-align: left;">{{ $dosen_dpu_nama_gelar }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"></td>
|
||||
<td style="text-align: left">NIP. {{ $dosen_dpu_nip }}<td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
106
resources/views/layanan-sidangakhir/ettd.blade.php
Normal file
106
resources/views/layanan-sidangakhir/ettd.blade.php
Normal file
|
@ -0,0 +1,106 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ $title }} {{$jenis}}</title>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
|
||||
<link rel="stylesheet" href="{{asset('/')}}plugins/fontawesome-free/css/all.min.css">
|
||||
<link rel="stylesheet" href="{{asset('/')}}dist/css/adminlte.min.css?v=3.2.0">
|
||||
<body class="hold-transition layout-top-nav">
|
||||
|
||||
<div class="content-wrapper">
|
||||
<div class="content-header">
|
||||
<div class="container">
|
||||
<div class="text-center">
|
||||
<h1 class="m-0"> {{ $title }} {{$jenis}}</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="container">
|
||||
<div class="card card-widget widget-user">
|
||||
<div class="widget-user-header text-white" style="background: url('{{asset('/')}}dist/img/photo1.png') center center;">
|
||||
<h3 class="widget-user-username text-right">{{$data->caseid}}</h3>
|
||||
<h5 class="widget-user-desc text-right">{{$jenis}}</h5>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<div class="row">
|
||||
<div class="col-sm-4 border-right">
|
||||
<div class="description-block" style="margin-top: 0px; overflow: hidden;">
|
||||
<h5 class="description-header">CaseID</h5>
|
||||
<span class="description-text">{{$data->caseid}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-4 border-right">
|
||||
<div class="description-block" style="margin-top: 0px; overflow: hidden;">
|
||||
<h5 class="description-header">Nama Mahasiswa</h5>
|
||||
<span class="description-text">{{ $data->nama}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<div class="description-block" style="margin-top: 0px; overflow: hidden;">
|
||||
<h5 class="description-header">Tanda Tangan Oleh</h5>
|
||||
<span class="description-text">{{ $data->dosen_dpu_nama_gelar }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
@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-sidangakhir.submitettd',[ 'caseid'=>$data->caseid]) }}" method="post">
|
||||
@csrf
|
||||
<label for="caseid">CASEID :</label>
|
||||
<input type="text" name="caseid" id="caseid" class="form-control" readonly value="{{ $data->caseid}}">
|
||||
<label for="nama">Nama Mahasiswa :</label>
|
||||
<input type="text" name="nama" id="nama" class="form-control" readonly value="{{ $data->nama}}">
|
||||
<label for="nim">NIM Mahasiswa :</label>
|
||||
<input type="text" name="nim" id="nim" class="form-control" readonly value="{{ $data->nim}}">
|
||||
<label for="judul_skripsi_id">Judul Skripsi Bahasa Indonesia:</label>
|
||||
<input type="text" name="judul_skripsi_id" id="judul_skripsi_id" class="form-control" readonly value="{{ $data->judul_skripsi_id}}">
|
||||
<label for="judul_skripsi_en">Judul Skripsi Bahasa Inggris:</label>
|
||||
<input type="text" name="judul_skripsi_en" id="judul_skripsi_en" class="form-control" readonly value="{{ $data->judul_skripsi_en}}">
|
||||
<label for="nilai_plagiasi">Nilai Plagiasi (%):</label>
|
||||
<input type="text" name="nilai_plagiasi" id="nilai_plagiasi" class="form-control" readonly value="{{ $data->nilai_plagiasi}}">
|
||||
<label for="ettd">Masukkan E-TTD {{ $jenis }} :
|
||||
</label><input type="text" name="ettd" id="ettd" class="form-control" placeholder="Masukkan ETTD Anda Disini...">
|
||||
|
||||
<div class="float-right mt-4">
|
||||
<button type="submit" class="btn btn-success">Submit</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@include('layout.navbars.footer')
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script src="{{asset('/')}}plugins/jquery/jquery.min.js"></script>
|
||||
|
||||
<script src="{{asset('/')}}plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
<script src="{{asset('/')}}dist/js/adminlte.min.js?v=3.2.0"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
274
resources/views/layanan-sidangakhir/index.blade.php
Normal file
274
resources/views/layanan-sidangakhir/index.blade.php
Normal file
|
@ -0,0 +1,274 @@
|
|||
<!-- Extend Layout -->
|
||||
@extends('layout.app')
|
||||
<!-- Add Custom CSS -->
|
||||
@push('css')
|
||||
<link rel="stylesheet" href="{{asset('/')}}plugins/datatables-bs4/css/dataTables.bootstrap4.min.css">
|
||||
<link rel="stylesheet" href="{{asset('/')}}plugins/datatables-responsive/css/responsive.bootstrap4.min.css">
|
||||
<link rel="stylesheet" href="{{asset('/')}}plugins/datatables-buttons/css/buttons.bootstrap4.min.css">
|
||||
|
||||
@endpush
|
||||
<!-- Add Content Here -->
|
||||
@section('content')
|
||||
<!-- Include Sidebar -->
|
||||
@include('layout.navbars.sidebar')
|
||||
<div class="content-wrapper">
|
||||
<!-- Main content -->
|
||||
<section class="content-header">
|
||||
<div class="container-fluid">
|
||||
<div class="row mb-2">
|
||||
<div class="col-sm-6">
|
||||
<h1>Pengajuan Sidang Akhir</h1>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<ol class="breadcrumb float-sm-right">
|
||||
<li class="breadcrumb-item"><a href="{{ route('admin.dashboard') }}">Admin</a></li>
|
||||
<li class="breadcrumb-item active">Pengajuan Sidang Akhir</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.container-fluid -->
|
||||
</section>
|
||||
|
||||
<section class="content">
|
||||
<div class="card">
|
||||
<!-- /.card-header -->
|
||||
<div class="card-body">
|
||||
<div class="alert alert-info alert-dismissible">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<h5><i class="icon fas fa-info"></i> Perhatian!</h5>
|
||||
<span >CaseID Akan muncul ketika pengajuan telah diterima untuk menghindari data duplikat untuk mahasiswa yang sama.</span>
|
||||
</div>
|
||||
@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
|
||||
<table id="example1" class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>CaseID</th>
|
||||
<th>NIM</th>
|
||||
<th>Nama</th>
|
||||
<th>DPU</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($data as $datas)
|
||||
<tr>
|
||||
<td>{{ $datas->caseid }}</td>
|
||||
<td>{{ $datas->nim }} </td>
|
||||
<td>{{ $datas->nama }} </td>
|
||||
<td>{{ $datas->dpu_nama_gelar }}</td>
|
||||
<td class="text-center">
|
||||
<button class="btn btn-primary" data-toggle="modal" data-target="#MD{{ $datas->id }}" >Details</button> |
|
||||
@if($datas->ttd_operator=="-")
|
||||
<button class="btn btn-success" data-toggle="modal" data-target="#MD{{ $datas->id }}" >Terima</button> |
|
||||
<button class="btn btn-danger" data-toggle="modal" data-target="#MDDelete{{ $datas->id }}" >Tolak</button>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Modal Detail dan Terima -->
|
||||
<div class="modal fade" id="MD{{$datas->id}}">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">Details Data <b>{{ $datas->caseid }}</b></h4>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="nim">NIM:</label>
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->nim }}">
|
||||
<label for="nama">Nama Mahasiswa:</label>
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->nama }}">
|
||||
<label for="dosen_dpu">Dosen DPU: {{ $datas->ttd_dpu === '-' ? 'Belum Tanda Tangan' : 'Telah TTD Pada '.$datas->ttd_dpu }}</label>
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->dpu_nama_gelar }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="file_transkrip">Lihat Bukti Screenshot Kehadiran Seminar Proposal :</label><br>
|
||||
<a href="{{asset('storage')}}/{{ $datas->nim }}/{{ $datas->bukti_hadir_sempro }}" target="_blank" class="btn btn-info">Klik Disini</a>
|
||||
</div>
|
||||
<div class="col">
|
||||
<label for="file_transkrip">Lihat Bukti Cek TurnitIn :</label><br>
|
||||
<a href="{{asset('storage')}}/{{ $datas->nim }}/{{ $datas->bukti_turnitin }}" target="_blank" class="btn btn-info">Klik Disini</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="file_transkrip">Lihat Bukti Screenshot Sister :</label><br>
|
||||
<a href="{{asset('storage')}}/{{ $datas->nim }}/{{ $datas->bukti_sister }}" target="_blank" class="btn btn-info">Klik Disini</a>
|
||||
</div>
|
||||
<div class="col">
|
||||
<label for="file_transkrip">Lihat Bukti Lembar Monitoring :</label><br>
|
||||
<a href="{{asset('storage')}}/{{ $datas->nim }}/{{ $datas->bukti_lembar_monitoring }}" target="_blank" class="btn btn-info">Klik Disini</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="file_transkrip">Lihat Bukti Pengiriman Naskah Ke Dosen Pembimbing :</label><br>
|
||||
<a href="{{asset('storage')}}/{{ $datas->nim }}/{{ $datas->bukti_naskah_dosen_pembimbing }}" target="_blank" class="btn btn-info">Klik Disini</a>
|
||||
</div>
|
||||
<div class="col">
|
||||
<label for="file_transkrip">Lihat Bukti Pengiriman Naskah Ke Dosen Penguji :</label><br>
|
||||
<a href="{{asset('storage')}}/{{ $datas->nim }}/{{ $datas->bukti_naskah_dosen_penguji }}" target="_blank" class="btn btn-info">Klik Disini</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="file_transkrip">Cetak Surat Pernyataan<br>
|
||||
<a href="{{ route('layanan-sidangakhir.cetak',['caseid'=>$datas->caseid]) }}" target="_blank" class="btn btn-success">Klik Disini</a>
|
||||
</div>
|
||||
</div>
|
||||
@if($datas->ttd_operator != '-')
|
||||
<div class="row mt-3">
|
||||
<div class="col">
|
||||
<label for="resend">Kirim Ulang Email :</label>
|
||||
<form action="{{ route('layanan-sidangakhir.resend',['caseid'=>$datas->caseid]) }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="jenis" value="dpu">
|
||||
<button type="submit" id="resend" class="btn btn-default btn-block">Kirim Ulang Ke DPU</button>
|
||||
</form>
|
||||
<div class="mt-1"></div>
|
||||
<form action="{{ route('layanan-sidangakhir.resend',['caseid'=>$datas->caseid]) }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="jenis" value="mahasiswa">
|
||||
<button type="submit" id="resend" class="btn btn-default btn-block">Kirim Ulang Ke Mahasiswa</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
<span>{{$datas->caseid}}</span>
|
||||
@if($datas->ttd_operator=="-")
|
||||
<form action="{{ route('layanan-sidangakhir.terima')}}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="id" value="{{$datas->id}}">
|
||||
<button type="submit" class="btn btn-success">Terima</button>
|
||||
</form>
|
||||
@endif
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.modal-content -->
|
||||
</div>
|
||||
<!-- /.modal-dialog -->
|
||||
</div>
|
||||
<!-- /.modal-Delete -->
|
||||
<div class="modal fade" id="MDDelete{{$datas->id}}">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">Apa Anda Yakin Ingin Menghapus Data : <b>{{ $datas->caseid }}</b></h4>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="alert alert-info alert-dismissible">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<h5><i class="icon fas fa-info"></i> Perhatian!</h5>
|
||||
<span >Alasan yang Dimasukkan Disini, Akan dikirimkan melalui Email Kepada Mahasiswa Terkait.</span>
|
||||
</div>
|
||||
<form action="{{ route('layanan-sidangakhir.destroy') }}" method="post">
|
||||
@csrf @method('DELETE')
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="alasan">Alasan:</label>
|
||||
<textarea name="alasan" class="form-control" id="alasan" cols="30" rows="10"
|
||||
placeholder="Masukkan Alasan Disini
|
||||
Masukkan Alasan Disini"></textarea>
|
||||
<input type="hidden" name="id" value="{{$datas->id}}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Batal</button>
|
||||
<button type="submit" class="btn btn-danger">Kirim</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.modal-content -->
|
||||
</div>
|
||||
<!-- /.modal-dialog -->
|
||||
</div>
|
||||
@endforeach
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>CaseID</th>
|
||||
<th>NIM</th>
|
||||
<th>DPU</th>
|
||||
<th>DPA</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
<!-- /.card-body -->
|
||||
</div>
|
||||
<!-- /.card -->
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
<!-- Add Custom JS -->
|
||||
@push('js')
|
||||
<!-- DataTables & Plugins -->
|
||||
<script src="{{asset('/')}}plugins/datatables/jquery.dataTables.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-bs4/js/dataTables.bootstrap4.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-responsive/js/dataTables.responsive.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-responsive/js/responsive.bootstrap4.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-buttons/js/dataTables.buttons.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-buttons/js/buttons.bootstrap4.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/jszip/jszip.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/pdfmake/pdfmake.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/pdfmake/vfs_fonts.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-buttons/js/buttons.html5.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-buttons/js/buttons.print.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-buttons/js/buttons.colVis.min.js"></script>
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
$("#example1").DataTable({
|
||||
"responsive": true, "lengthChange": false, "autoWidth": false,
|
||||
"buttons": [{
|
||||
// New button configuration
|
||||
text: 'Tambah Data', // Replace with your desired button text
|
||||
action: function ( e, dt, node, config ) {
|
||||
// Perform your custom action here, e.g., open a new tab with the external link
|
||||
window.open("{{ route('layanan-sidangakhir.tambah')}}", '_blank');
|
||||
}
|
||||
},"csv", "excel", "pdf", "print", "colvis"]
|
||||
}).buttons().container().appendTo('#example1_wrapper .col-md-6:eq(0)');
|
||||
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
219
resources/views/layanan-sidangakhir/tambah.blade.php
Normal file
219
resources/views/layanan-sidangakhir/tambah.blade.php
Normal file
|
@ -0,0 +1,219 @@
|
|||
<!-- Extend Layout -->
|
||||
@extends('layout.app_guest',['title' => 'Pengajuan Sidang Akhir'])
|
||||
@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 Sidang Akhir</h3>
|
||||
</div>
|
||||
<!-- /.card-header -->
|
||||
<div class="card-body">
|
||||
@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
|
||||
<div class="alert alert-info alert-dismissible">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<h5><i class="icon fas fa-info"></i> Perhatian!</h5>
|
||||
<span >Pernah Menggunakan Layanan PINTU Untuk Pengajuan ? Coba Gunakan Fitur Cari. </span><a href="{{ route('layanan-sidangakhir.cari') }}" class="btn btn-success btn-sm">Klik Disini</a>
|
||||
</div>
|
||||
<form action="{{ route('layanan-sidangakhir.store') }}" method="post" enctype="multipart/form-data">
|
||||
@csrf
|
||||
@if(isset($data_mahasiswa))
|
||||
<input type="hidden" name="status" value="ada">
|
||||
<!-- DATA MHS -->
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="nim">NIM Mahasiswa</label>
|
||||
<input type="text" name="nim" id="nim" class="form-control" placeholder="Masukkan NIM Mahasiswa" value="{{$data_mahasiswa->nim}}" required readonly>
|
||||
<label for="nama">Nama Mahasiswa</label>
|
||||
<input type="text" name="nama" id="nama" class="form-control" placeholder="Masukkan Nama Mahasiswa" value="{{$data_mahasiswa->nama}}" required readonly>
|
||||
<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="{{$data_mahasiswa->nomor_hp}}" required readonly>
|
||||
<label for="email">Email Mahasiswa</label>
|
||||
<input type="text" name="email" id="email" class="form-control" placeholder="Masukkan Email Mahasiswa" value="{{$data_mahasiswa->email}}" required readonly>
|
||||
<label for="bagian">Bagian Lab: </label>
|
||||
<select class="form-control select2" style="width: 100%;" id="bagian" name="bagian" readonly>
|
||||
<option>Pilih Laboratorium</option>
|
||||
@foreach($bagian as $item)
|
||||
<option value="{{$item->id}}" {{ $data_mahasiswa->bagian === strval($item->id) ? 'selected' : '' }}>{{$item->nama_bagian}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="form-group">
|
||||
<label for="dosen_dpu">Dosen Pembimbing Utama</label>
|
||||
<select class="form-control select2" style="width: 100%;" id="dosen_dpu" name="dosen_dpu" readonly>
|
||||
<option>Pilih Dosen Pembimbing Utama</option>
|
||||
@foreach ($dosen as $item)
|
||||
<option value="{{$item->id}}" {{ $data_mahasiswa->dosen_dpu_id === $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" readonly>
|
||||
<option>Pilih Dosen Pembimbing Anggota</option>
|
||||
@foreach ($dosen as $item)
|
||||
<option value="{{$item->id}}" {{ $data_mahasiswa->dosen_dpa_id === $item->id ? 'selected' : '' }}>{{ $item->nama_gelar }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<!-- /.form-group -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
@else
|
||||
<!-- DATA MHS -->
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="nim">NIM Mahasiswa</label>
|
||||
<input type="text" name="nim" id="nim" class="form-control" placeholder="Masukkan NIM Mahasiswa" value="{{old('nim')}}" required>
|
||||
<label for="nama">Nama Mahasiswa</label>
|
||||
<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>
|
||||
@foreach($bagian as $item)
|
||||
<option value="{{$item->id}}">{{$item->nama_bagian}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="form-group">
|
||||
<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
|
||||
</select>
|
||||
</div>
|
||||
<!-- /.form-group -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
@endif
|
||||
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="form-group">
|
||||
<label for="dosen_penguji1">Dosen Penguji Utama</label>
|
||||
<select class="form-control select2" style="width: 100%;" id="dosen_penguji1" name="dosen_penguji1">
|
||||
<option selected>Pilih Dosen Penguji Utama</option>
|
||||
@foreach ($dosen as $item)
|
||||
<option value="{{$item->id}}" {{ old('dosen_penguji1') === $item->id ? 'selected' : '' }}>{{ $item->nama_gelar }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<!-- /.form-group -->
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="form-group">
|
||||
<label for="dosen_penguji2">Dosen Penguji Anggota</label>
|
||||
<select class="form-control select2" style="width: 100%;" id="dosen_penguji2" name="dosen_penguji2">
|
||||
<option>Pilih Dosen Penguji Anggota</option>
|
||||
@foreach ($dosen as $item)
|
||||
<option value="{{$item->id}}" {{ old('dosen_penguji2') === $item->id ? 'selected' : '' }}>{{ $item->nama_gelar }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<!-- /.form-group -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="judul_skripsi_id">Judul Skripsi / Tugas Akhir Dalam Bahasa Indonesia</label>
|
||||
<input type="text" name="judul_skripsi_id" id="judul_skripsi_id" class="form-control" placeholder="Masukkan Judul Skripsi / Tugas Akhir Dalam Bahasa Indonesia" required>
|
||||
<label for="judul_skripsi_en">Judul Skripsi / Tugas Akhir Dalam Bahasa Inggris</label>
|
||||
<input type="text" name="judul_skripsi_en" id="judul_skripsi_en" class="form-control" placeholder="Masukkan Judul Skripsi / Tugas Akhir Dalam Bahasa Inggris" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="nilai_plagiasi">Nilai Plagiasi / Similarity Skripsi</label>
|
||||
<input type="number" class="form-control" name="nilai_plagiasi" placeholder="Masukkan Nilai Plagiasi / Similarity Sempro" required>
|
||||
<label for="bukti_lembar_monitoring">Bukti Lembar Monitoring (*File Bertentuk PDF, Dan Ukuran Maksimal file :4Mb)</label>
|
||||
<input type="file" name="bukti_lembar_monitoring" id="bukti_lembar_monitoring" class="form-control" required>
|
||||
<label for="bukti_transkrip">Bukti Transkrip (*File Bertentuk PDF, Dan Ukuran Maksimal file :4Mb)</label>
|
||||
<input type="file" name="bukti_transkrip" id="bukti_transkrip" class="form-control" required>
|
||||
<label for="bukti_turnitin">Bukti Cek TurnitIn (*File Bertentuk PDF, Dan Ukuran Maksimal file :4Mb)</label>
|
||||
<input type="file" name="bukti_turnitin" id="bukti_turnitin" class="form-control" required>
|
||||
<label for="bukti_sister">Bukti Screenshot Sister (*File Bertentuk PDF, Dan Ukuran Maksimal file :4Mb)</label>
|
||||
<input type="file" name="bukti_sister" id="bukti_sister" class="form-control" required>
|
||||
<label for="bukti_naskah_dosen_pembimbing">Bukti Pengiriman Naskah Ke Dosen Pembimbing (*File Bertentuk PDF, Dan Ukuran Maksimal file :4Mb)</label>
|
||||
<input type="file" name="bukti_naskah_dosen_pembimbing" id="bukti_naskah_dosen_pembimbing" class="form-control" required>
|
||||
<label for="bukti_naskah_dosen_penguji">Bukti Pengiriman Naskah Ke Dosen Penguji (*File Bertentuk PDF, Dan Ukuran Maksimal file :4Mb)</label>
|
||||
<input type="file" name="bukti_naskah_dosen_penguji" id="bukti_naskah_dosen_penguji" 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>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.card -->
|
||||
</div>
|
||||
<!-- /.container-fluid -->
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
|
||||
@endsection
|
67
resources/views/layanan-wisuda/cari.blade.php
Normal file
67
resources/views/layanan-wisuda/cari.blade.php
Normal file
|
@ -0,0 +1,67 @@
|
|||
<!-- Extend Layout -->
|
||||
@extends('layout.app_guest',['title' => 'Pengajuan Wisuda'])
|
||||
@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 Wisuda</h3>
|
||||
</div>
|
||||
@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
|
||||
<div class="card-body">
|
||||
@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-wisuda.search') }}" method="post">
|
||||
@csrf
|
||||
<label for="nim">NIM Mahasiswa :</label>
|
||||
<input type="text" name="nim" id="nim" class="form-control" placeholder="Masukkan NIM Anda">
|
||||
<div class="float-right mt-4">
|
||||
<button type="submit" class="btn btn-success">Cari</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.card -->
|
||||
</div>
|
||||
<!-- /.container-fluid -->
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
|
||||
@endsection
|
476
resources/views/layanan-wisuda/cetak.blade.php
Normal file
476
resources/views/layanan-wisuda/cetak.blade.php
Normal file
|
@ -0,0 +1,476 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>{{ $title }}</title>
|
||||
<meta name="author" content="PINTU FARMASI"/>
|
||||
<style type="text/css">
|
||||
@page {
|
||||
margin-top: 180px;
|
||||
margin-left: 75px;
|
||||
margin-right: 60px;
|
||||
}
|
||||
*{
|
||||
font-size: 12pt;
|
||||
}
|
||||
#table-header{
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
/* right: px; */
|
||||
top: -150px;
|
||||
border-bottom: 3px solid #000;
|
||||
}
|
||||
#table-header td{
|
||||
text-align: center;
|
||||
font-family: 'Times New Roman', Times, Arial;
|
||||
font-size: 14pt;
|
||||
}
|
||||
#table-header td p{
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.table-judul{
|
||||
border:1.5px solid;
|
||||
vertical-align:inherit;
|
||||
text-align:center;
|
||||
}
|
||||
.table-konten{
|
||||
border:1.5px solid;
|
||||
padding:0.5em;
|
||||
vertical-align:inherit;
|
||||
text-align:left;
|
||||
}
|
||||
.kolom-ttd{
|
||||
border:1.5px solid;
|
||||
padding:0;
|
||||
vertical-align:inherit;
|
||||
text-align:center;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table border="0" id="table-header">
|
||||
<tr>
|
||||
<td><img src="{{ asset('dist/img/logo-unej.png') }}" alt="LOGOUNEJ" width="125px"></td>
|
||||
<td>
|
||||
<p>KEMENTRIAN PENDIDIKAN, KEBUDAYAAN,<br/>
|
||||
RISET, DAN TEKNOLOGI</p>
|
||||
<p style="font-size:16pt; font-weight:bold;">UNIVERSITAS JEMBER</p>
|
||||
<p style="font-weight:bold;">FAKULTAS FARMASI</p>
|
||||
<p style="font-size:10pt;">Jalan Kalimantan I Nomor 2 Kampus Tegal Boto Kotak Pos 159 Jember 68121<br/>
|
||||
Telepon/Faximile (0331) 324736 <br/>
|
||||
Email: farmasi@unej.ac.id</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h4 style="text-align: center;">FORM PENYERAHAN PERSYARATAN KELULUSAN RUANG BACA
|
||||
</br>
|
||||
MAHASISWA FAKULTAS FARMASI UNIVERSITAS JEMBER
|
||||
</h4>
|
||||
<table border="0" style="margin-top: 5px;">
|
||||
<tr>
|
||||
<td style="width: 6em;"> Nama</td>
|
||||
<td style="max-width: 0.5em;">:</td>
|
||||
<td style=" text-align:left; margin:0; padding:0;">{{ $nama_mahasiswa }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> NIM</td>
|
||||
<td>:</td>
|
||||
<td style="text-align:left; margin:0; padding:0;">{{ $nim }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p style="margin-bottom: 0;">Telah Menyerahkan Persyaratan Kelulusan Sebagai Berikut :</p>
|
||||
<table border="0" style="margin-top:5px; padding-left:2em;">
|
||||
<tr>
|
||||
<td style="width: 100%;"> 1. Skripsi Soft Copy & Hard Copy *)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width: 100%;"> 2. E-Book: Skripsi Soft Copy & Hard Copy *)</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p style="margin-bottom: 0; margin-top:0;">Adapun Judul Skripsi / E-Book Sebagai Berikut :</p>
|
||||
<p style="margin-bottom: 0; margin-top:5px;">Skripsi :</p>
|
||||
<p style="margin-bottom: 0; margin-top:0;">{{ $judul_skripsi }}</p>
|
||||
<p style="margin-bottom: 0; margin-top:5px;">E-Book :</p>
|
||||
<p style="margin-bottom: 0; margin-top:0;">{{ $judul_skripsi }}</p>
|
||||
|
||||
<table border="0" style="padding-top:10em;" cellspacing="0">
|
||||
<tr>
|
||||
<td width="400px"></td>
|
||||
<td>Jember, {{ $date }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"></td>
|
||||
<td style="text-align: left">Koordinator Ruang Baca,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="height:100px; text-align: left; vertical-align:bottom;">
|
||||
|
||||
</td>
|
||||
<td style="height:100px; text-align: left; vertical-align:bottom;">
|
||||
<img src="data:image/png;base64, {!! $ruang_baca_qrcode !!}" alt="">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left;"></td>
|
||||
<td style="text-align: left;">{{ $ruang_baca_nama }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"></td>
|
||||
<td style="text-align: left">NIP. {{ $ruang_baca_nip }}<td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p style="page-break-after: always;"></p>
|
||||
<h1 style="text-align: center; font-size:18px">Keterangan Bebas Tanggungan Laboratorium
|
||||
</h1>
|
||||
<p style="margin-bottom: 0;">Yang tersebut di bawah ini :</p>
|
||||
<table border="0" style="margin-top: 0px;">
|
||||
<tr>
|
||||
<td style="width: 6em;"> Nama</td>
|
||||
<td style="max-width: 0.5em;">:</td>
|
||||
<td style=" text-align:left; margin:0; padding:0;">{{ $nama_mahasiswa }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> NIM</td>
|
||||
<td>:</td>
|
||||
<td style="text-align:left; margin:0; padding:0;">{{ $nim }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p style="margin-bottom: 0; margin-top: 0px;">Dinyatakan Sebagai Berikut: </p>
|
||||
<table style="width:100%;" cellspacing="0">
|
||||
<tr>
|
||||
<td class="table-judul" width="5%">No</td>
|
||||
<td class="table-judul" width="50%">Keterangan Bebas Tanggungan di Bagian/Laboratorium</td>
|
||||
<td class="table-judul" width="45%">Disetujui Oleh Kepala Bagian</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-judul">1</td>
|
||||
<td class="table-konten">
|
||||
Farmasi Klinik dan Komunitas<br>
|
||||
Bebas Tanggungan: Ya<br>
|
||||
Keterangan : -
|
||||
</td>
|
||||
<td class="table-konten">
|
||||
Tanggal : {{ $date }}<br>
|
||||
<img src="data:image/png;base64, {!! $kalab_farmasi_klinik_dan_komunikasi_qrcode !!}" alt=""><br>
|
||||
{{ $kalab_farmasi_klinik_dan_komunikasi_nama }}<br>
|
||||
NIP. {{ $kalab_farmasi_klinik_dan_komunikasi_nip }}<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-judul">2</td>
|
||||
<td class="table-konten">
|
||||
Farmakologi dan Hewan Coba<br>
|
||||
Bebas Tanggungan: Ya<br>
|
||||
Keterangan : -
|
||||
</td>
|
||||
<td class="table-konten">
|
||||
Tanggal : {{ $date }}<br>
|
||||
<img src="data:image/png;base64, {!! $kalab_farmakologi_dan_hewan_coba_qrcode !!}" alt=""><br>
|
||||
{{ $kalab_farmakologi_dan_hewan_coba_nama }}<br>
|
||||
NIP. {{ $kalab_farmakologi_dan_hewan_coba_nip }}<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-judul">3</td>
|
||||
<td class="table-konten">
|
||||
Farmakognosi dan Fitokimia<br>
|
||||
Bebas Tanggungan: Ya<br>
|
||||
Keterangan : -
|
||||
</td>
|
||||
<td class="table-konten">
|
||||
Tanggal : {{ $date }}<br>
|
||||
<img src="data:image/png;base64, {!! $kalab_farmakognosi_dan_fitokimia_qrcode !!}" alt=""><br>
|
||||
{{ $kalab_farmakognosi_dan_fitokimia_nama }}<br>
|
||||
NIP. {{ $kalab_farmakognosi_dan_fitokimia_nip }}<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-judul">4</td>
|
||||
<td class="table-konten">
|
||||
Mikrobiologi dan Bioteknologi Farmasi<br>
|
||||
Bebas Tanggungan: Ya<br>
|
||||
Keterangan : -
|
||||
</td>
|
||||
<td class="table-konten">
|
||||
Tanggal : {{ $date }}<br>
|
||||
<img src="data:image/png;base64, {!! $kalab_mikrobiologi_dan_bioteknologi_farmasi_qrcode !!}" alt=""><br>
|
||||
{{ $kalab_mikrobiologi_dan_bioteknologi_farmasi_nama }}<br>
|
||||
NIP. {{ $kalab_mikrobiologi_dan_bioteknologi_farmasi_nip }}<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-judul">5</td>
|
||||
<td class="table-konten">
|
||||
Farmasetika<br>
|
||||
Bebas Tanggungan: Ya<br>
|
||||
Keterangan : -
|
||||
</td>
|
||||
<td class="table-konten">
|
||||
Tanggal : {{ $date }}<br>
|
||||
<img src="data:image/png;base64, {!! $kalab_farmasetika_qrcode !!}" alt=""><br>
|
||||
{{ $kalab_farmasetika_nama }}<br>
|
||||
NIP. {{ $kalab_farmasetika_nip }}<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-judul">6</td>
|
||||
<td class="table-konten">
|
||||
Teknologi Farmasi<br>
|
||||
Bebas Tanggungan: Ya<br>
|
||||
Keterangan : -
|
||||
</td>
|
||||
<td class="table-konten">
|
||||
Tanggal : {{ $date }}<br>
|
||||
<img src="data:image/png;base64, {!! $kalab_teknologi_farmasi_qrcode !!}" alt=""><br>
|
||||
{{ $kalab_teknologi_farmasi_nama }}<br>
|
||||
NIP. {{ $kalab_teknologi_farmasi_nip }}<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-judul">7</td>
|
||||
<td class="table-konten">
|
||||
Kimia Analisis<br>
|
||||
Bebas Tanggungan: Ya<br>
|
||||
Keterangan : -
|
||||
</td>
|
||||
<td class="table-konten">
|
||||
Tanggal : {{ $date }}<br>
|
||||
<img src="data:image/png;base64, {!! $kalab_kimia_analisis_qrcode !!}" alt=""><br>
|
||||
{{ $kalab_kimia_analisis_nama }}<br>
|
||||
NIP. {{ $kalab_kimia_analisis_nip }}<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-judul">8</td>
|
||||
<td class="table-konten">
|
||||
Kimia Medisinal<br>
|
||||
Bebas Tanggungan: Ya<br>
|
||||
Keterangan : -
|
||||
</td>
|
||||
<td class="table-konten">
|
||||
Tanggal : {{ $date }}<br>
|
||||
<img src="data:image/png;base64, {!! $kalab_kimia_medisinal_qrcode !!}" alt=""><br>
|
||||
{{ $kalab_kimia_medisinal_nama }}<br>
|
||||
NIP. {{ $kalab_kimia_medisinal_nip }}<br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p style="margin-bottom: 0; margin-top: 5px;">Demikian untuk menjadikan periksa dan dipergunakan sebagaimana mestinya </p>
|
||||
<p style="page-break-after: always;"></p>
|
||||
<h1 style="text-align: center; font-size:18px">SURAT KETERANGAN BEBAS TANGGUNGAN</h1>
|
||||
<table border="0" style="margin-top: 0px;">
|
||||
<tr>
|
||||
<td style="width: 6em;"> Nama</td>
|
||||
<td style="max-width: 0.5em;">:</td>
|
||||
<td style=" text-align:left; margin:0; padding:0;">{{ $nama_mahasiswa }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> NIM</td>
|
||||
<td>:</td>
|
||||
<td style="text-align:left; margin:0; padding:0;">{{ $nim }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p style="margin-bottom: 0; margin-top: 0px;">Dengan ini menerangkan rincian tanggungan sebagai berikut: </p>
|
||||
<table style="width:100%;" cellspacing="0">
|
||||
<tr>
|
||||
<td class="table-judul" width="5%">No</td>
|
||||
<td class="table-judul" width="10%">Uraian</td>
|
||||
<td class="table-judul">Keterangan</td>
|
||||
<td class="table-judul" colspan="2">Tanda Tangan Penanggung Jawab</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">1</td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">Menyerahkan skripsi dan buku</td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">Terpenuhi</td>
|
||||
<td class="table-konten">
|
||||
Penguji Utama<br>
|
||||
<img src="data:image/png;base64, {!! $dosen_penguji1_qrcode !!}" alt=""><br>
|
||||
{{ $dosen_penguji1_nama }}<br>
|
||||
NIP. {{ $dosen_penguji1_nip }}<br>
|
||||
</td>
|
||||
<td class="table-konten">
|
||||
Penguji Anggota<br>
|
||||
<img src="data:image/png;base64, {!! $dosen_penguji2_qrcode !!}" alt=""><br>
|
||||
{{ $dosen_penguji2_nama }}<br>
|
||||
NIP. {{ $dosen_penguji2_nip }}<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;"></td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;"></td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;"></td>
|
||||
<td class="table-konten">
|
||||
Dosen Pembimbing Utama<br>
|
||||
<img src="data:image/png;base64, {!! $dosen_dpu_qrcode !!}" alt=""><br>
|
||||
{{ $dosen_dpu_nama }}<br>
|
||||
NIP. {{ $dosen_dpu_nip }}<br>
|
||||
</td>
|
||||
<td class="table-konten">
|
||||
Dosen Pembimbing Anggota<br>
|
||||
<img src="data:image/png;base64, {!! $dosen_dpa_qrcode !!}" alt=""><br>
|
||||
{{ $dosen_dpa_nama }}<br>
|
||||
NIP. {{ $dosen_dpa_nip }}<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">2</td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">Laboratorium</td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">Bebas</td>
|
||||
<td class="table-konten">
|
||||
Kalab. Farmasi Klinik dan Komunitas :<br>
|
||||
<img src="data:image/png;base64, {!! $kalab_farmasi_klinik_dan_komunikasi_qrcode !!}" alt=""><br>
|
||||
{{ $kalab_farmasi_klinik_dan_komunikasi_nama }}<br>
|
||||
NIP. {{ $kalab_farmasi_klinik_dan_komunikasi_nip }}<br>
|
||||
</td>
|
||||
<td class="table-konten">
|
||||
Kalab. Farmakologi dan Hewan Coba :<br>
|
||||
<img src="data:image/png;base64, {!! $kalab_farmakologi_dan_hewan_coba_qrcode !!}" alt=""><br>
|
||||
{{ $kalab_farmakologi_dan_hewan_coba_nama }}<br>
|
||||
NIP. {{ $kalab_farmakologi_dan_hewan_coba_nip }}<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;"></td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;"></td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;"></td>
|
||||
<td class="table-konten">
|
||||
Kalab. Farmakognosi dan Fitokimia :<br>
|
||||
<img src="data:image/png;base64, {!! $kalab_farmakognosi_dan_fitokimia_qrcode !!}" alt=""><br>
|
||||
{{ $kalab_farmakognosi_dan_fitokimia_nama }}<br>
|
||||
NIP. {{ $kalab_farmakognosi_dan_fitokimia_nip }}<br>
|
||||
</td>
|
||||
<td class="table-konten">
|
||||
Kalab. Mikrobiologi dan Bioteknologi Farmasi :<br>
|
||||
<img src="data:image/png;base64, {!! $kalab_mikrobiologi_dan_bioteknologi_farmasi_qrcode !!}" alt=""><br>
|
||||
{{ $kalab_mikrobiologi_dan_bioteknologi_farmasi_nama }}<br>
|
||||
NIP. {{ $kalab_mikrobiologi_dan_bioteknologi_farmasi_nip }}<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;"></td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;"></td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;"></td>
|
||||
<td class="table-konten">
|
||||
Kalab. Farmasetika :<br>
|
||||
<img src="data:image/png;base64, {!! $kalab_farmasetika_qrcode !!}" alt=""><br>
|
||||
{{ $kalab_farmasetika_nama }}<br>
|
||||
NIP. {{ $kalab_farmasetika_nip }}<br>
|
||||
</td>
|
||||
<td class="table-konten">
|
||||
Kalab. Teknologi Farmasi :<br>
|
||||
<img src="data:image/png;base64, {!! $kalab_teknologi_farmasi_qrcode !!}" alt=""><br>
|
||||
{{ $kalab_teknologi_farmasi_nama }}<br>
|
||||
NIP. {{ $kalab_teknologi_farmasi_nip }}<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;"></td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;"></td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;"></td>
|
||||
<td class="table-konten">
|
||||
Kalab. Kimia Analisis :<br>
|
||||
<img src="data:image/png;base64, {!! $kalab_kimia_analisis_qrcode !!}" alt=""><br>
|
||||
{{ $kalab_kimia_analisis_nama }}<br>
|
||||
NIP. {{ $kalab_kimia_analisis_nip }}<br>
|
||||
</td>
|
||||
<td class="table-konten">
|
||||
Kalab. Kimia Medisinal :<br>
|
||||
<img src="data:image/png;base64, {!! $kalab_kimia_medisinal_qrcode !!}" alt=""><br>
|
||||
{{ $kalab_kimia_medisinal_nama }}<br>
|
||||
NIP. {{ $kalab_kimia_medisinal_nip }}<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">3</td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">Menyelesaikan SKPI</td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">Terpenuhi</td>
|
||||
<td class="table-konten" colspan="2">
|
||||
<img src="data:image/png;base64, {!! $skpi_qrcode !!}" alt=""><br>
|
||||
{{ $skpi_nama }}<br>
|
||||
NIP. {{ $skpi_nip }}<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">4</td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">Ruang Baca</td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">Bebas</td>
|
||||
<td class="table-konten" colspan="2">
|
||||
<img src="data:image/png;base64, {!! $ruang_baca_qrcode !!}" alt=""><br>
|
||||
{{ $ruang_baca_nama }}<br>
|
||||
NIP. {{ $ruang_baca_nip }}<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">5</td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">SPP</td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">Lunas</td>
|
||||
<td class="table-konten" colspan="2">
|
||||
<img src="data:image/png;base64, {!! $operator_qrcode !!}" alt=""><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">6</td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">Kemahasiswaan</td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">Bebas</td>
|
||||
<td class="table-konten" colspan="2">
|
||||
<img src="data:image/png;base64, {!! $operator_qrcode !!}" alt=""><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">7</td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">
|
||||
Menyerahkan daftar nilai sementara tanpa nilai DE & E. IPK <span style="font-family: DejaVu Sans, sans-serif; font-size 12pt;">≤ </span>2,00,
|
||||
PP<span style="font-family: DejaVu Sans, sans-serif; font-size 12pt;">≤ </span>90%</td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">Terpenuhi</td>
|
||||
<td class="table-konten" colspan="2">
|
||||
<img src="data:image/png;base64, {!! $operator_qrcode !!}" alt=""><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">8</td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">Menyerahkan foto Copy Sertifikat KKN</td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">Terpenuhi</td>
|
||||
<td class="table-konten" colspan="2">
|
||||
<img src="data:image/png;base64, {!! $operator_qrcode !!}" alt=""><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">9</td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">Menyerahkan foto Copy Sertifikat CBEPT Dengan Skor
|
||||
<span style="font-family: DejaVu Sans, sans-serif; font-size 12pt;">≤ </span>450</td>
|
||||
<td class="table-konten" style="text-align:left; vertical-align:top;">Terpenuhi</td>
|
||||
<td class="table-konten" colspan="2">
|
||||
<img src="data:image/png;base64, {!! $operator_qrcode !!}" alt=""><br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p style="margin-bottom: 0; margin-top: 5px;">Demikian untuk menjadikan periksa dan dipergunakan sebagaimana mestinya </p>
|
||||
<table border="0" style="padding-top:5em;" cellspacing="0">
|
||||
<tr>
|
||||
<td width="400px"></td>
|
||||
<td>Jember, {{ $date }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"></td>
|
||||
<td style="text-align: left">Wakil Dekan I,</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="height:100px; text-align: left; vertical-align:bottom;">
|
||||
|
||||
</td>
|
||||
<td style="height:100px; text-align: left; vertical-align:bottom;">
|
||||
<img src="data:image/png;base64, {!! $wakil_dekan_1_qrcode !!}" alt="">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left;"></td>
|
||||
<td style="text-align: left;">{{ $wakil_dekan_1_nama }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"></td>
|
||||
<td style="text-align: left">NIP. {{ $wakil_dekan_1_nip }}<td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
149
resources/views/layanan-wisuda/ettd.blade.php
Normal file
149
resources/views/layanan-wisuda/ettd.blade.php
Normal file
|
@ -0,0 +1,149 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ $title }} {{$jenis}}</title>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
|
||||
<link rel="stylesheet" href="{{asset('/')}}plugins/fontawesome-free/css/all.min.css">
|
||||
<link rel="stylesheet" href="{{asset('/')}}dist/css/adminlte.min.css?v=3.2.0">
|
||||
<body class="hold-transition layout-top-nav">
|
||||
|
||||
<div class="content-wrapper">
|
||||
<div class="content-header">
|
||||
<div class="container">
|
||||
<div class="text-center">
|
||||
<h1 class="m-0">Pengajuan Layanan Wisuda</h1>
|
||||
<h1 class="m-0">{{ $title }} {{$jenis}}</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="container">
|
||||
<div class="card card-widget widget-user">
|
||||
<div class="widget-user-header text-white" style="background: url('{{asset('/')}}dist/img/photo1.png') center center;">
|
||||
<h3 class="widget-user-username text-right">{{$data->caseid}}</h3>
|
||||
<h5 class="widget-user-desc text-right">{{$jenis}}</h5>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<div class="row">
|
||||
<div class="col-sm-4 border-right">
|
||||
<div class="description-block" style="margin-top: 0px; overflow: hidden;">
|
||||
<h5 class="description-header">CaseID</h5>
|
||||
<span class="description-text">{{$data->caseid}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-4 border-right">
|
||||
<div class="description-block" style="margin-top: 0px; overflow: hidden;">
|
||||
<h5 class="description-header">Nama Mahasiswa</h5>
|
||||
<span class="description-text">{{ $data->nama}}</span>
|
||||
</div>
|
||||
</div>
|
||||
@if(request('url')=="kalab" OR request('url')=="skpi")
|
||||
<div class="col-sm-4">
|
||||
<div class="description-block" style="margin-top: 0px; overflow: hidden;">
|
||||
<h5 class="description-header">NIM</h5>
|
||||
<span class="description-text">{{ $data->nim}}</span>
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
<div class="col-sm-4">
|
||||
<div class="description-block" style="margin-top: 0px; overflow: hidden;">
|
||||
<h5 class="description-header">Tanda Tangan Oleh</h5>
|
||||
<span class="description-text">
|
||||
@if(request('url')=="dpu") {{ $data->dosen_dpu_nama_gelar }}
|
||||
@elseif(request('url')=="dpa") {{ $data->dosen_dpa_nama_gelar }}
|
||||
@elseif(request('url')=="penguji1") {{ $data->dosen_penguji1_nama_gelar }}
|
||||
@elseif(request('url')=="penguji2") {{ $data->dosen_penguji2_nama_gelar }}
|
||||
@elseif(request('url')=="ruangbaca") {{ $nama_ettd->nama_gelar }}
|
||||
@elseif(request('url')=="wakildekan1") {{ $nama_ettd->nama_gelar }}
|
||||
@endif
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
@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-wisuda.submitettd',[ 'url'=> request('url'), 'caseid'=>$data->caseid]) }}" method="post">
|
||||
@csrf
|
||||
<label for="caseid">CASEID :</label>
|
||||
<input type="text" name="caseid" id="caseid" class="form-control" readonly value="{{ $data->caseid}}">
|
||||
<label for="nama">Nama Mahasiswa :</label>
|
||||
<input type="text" name="nama" id="nama" class="form-control" readonly value="{{ $data->nama}}">
|
||||
<label for="nim">NIM Mahasiswa :</label>
|
||||
<input type="text" name="nim" id="nim" class="form-control" readonly value="{{ $data->nim}}">
|
||||
<label for="judul_skripsi_id">Judul Skripsi Bahasa Indonesia:</label>
|
||||
<input type="text" name="judul_skripsi_id" id="judul_skripsi_id" class="form-control" readonly value="{{ $data->judul_skripsi_id}}">
|
||||
|
||||
@if(request('url')=="dpu" OR request('url')=="dpa" OR request('url')=="penguji1" OR request('url')=="penguji2")
|
||||
<label for="judul_jurnal">File Skripsi:</label>
|
||||
<a href="{{asset('storage')}}/{{ $data->nim }}/{{ $data->bukti_skripsi }}" target="_blank">
|
||||
<input type="text" name="judul_jurnal" id="judul_jurnal" class="form-control btn btn-info" value="Lihat File {{ $data->bukti_skripsi}}">
|
||||
</a>
|
||||
@endif
|
||||
|
||||
@if(request('url')=="skpi")
|
||||
<label for="user_ettd">Pilih Pengguna Yang Akan Melakukan ETTD:</label>
|
||||
<select class="form-control select2" style="width: 100%;" id="user_ettd" name="user_ettd">
|
||||
<option selected>Pilih Disini</option>
|
||||
@foreach($nama_ettd as $item)
|
||||
<option value="{{$item->id}}">{{$item->nip}} - {{$item->nama_gelar}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
@elseif(request('url')=="kalab")
|
||||
<label for="user_ettd">Pilih Jenis Tanda Tangan:</label>
|
||||
<select class="form-control select2" style="width: 100%;" id="user_ettd" name="user_ettd">
|
||||
<option selected>Pilih Disini</option>
|
||||
<option value="Kalab. Farmasi Klinik dan Komunitas">Kalab. Farmasi Klinik dan Komunitas</option>
|
||||
<option value="Kalab. Farmakologi dan Hewan Coba">Kalab. Farmakologi dan Hewan Coba</option>
|
||||
<option value="Kalab. Farmakognosi dan Fitokimia">Kalab. Farmakognosi dan Fitokimia</option>
|
||||
<option value="Kalab. Mikrobiologi dan Bioteknologi Farmasi">Kalab. Mikrobiologi dan Bioteknologi Farmasi</option>
|
||||
<option value="Kalab. Farmasetika">Kalab. Farmasetika</option>
|
||||
<option value="Kalab. Teknologi Farmasi">Kalab. Teknologi Farmasi</option>
|
||||
<option value="Kalab. Kimia Analisis">Kalab. Kimia Analisis</option>
|
||||
<option value="Kalab. Kimia Medisinal">Kalab. Kimia Medisinal</option>
|
||||
</select>
|
||||
@endif
|
||||
<label for="ettd">Masukkan E-TTD {{ $jenis }} :
|
||||
</label><input type="text" name="ettd" id="ettd" class="form-control" placeholder="Masukkan ETTD Anda Disini...">
|
||||
<div class="float-right mt-4">
|
||||
<button type="submit" class="btn btn-success">Submit</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@include('layout.navbars.footer')
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script src="{{asset('/')}}plugins/jquery/jquery.min.js"></script>
|
||||
|
||||
<script src="{{asset('/')}}plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
<script src="{{asset('/')}}dist/js/adminlte.min.js?v=3.2.0"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
271
resources/views/layanan-wisuda/index.blade.php
Normal file
271
resources/views/layanan-wisuda/index.blade.php
Normal file
|
@ -0,0 +1,271 @@
|
|||
<!-- Extend Layout -->
|
||||
@extends('layout.app')
|
||||
<!-- Add Custom CSS -->
|
||||
@push('css')
|
||||
<link rel="stylesheet" href="{{asset('/')}}plugins/datatables-bs4/css/dataTables.bootstrap4.min.css">
|
||||
<link rel="stylesheet" href="{{asset('/')}}plugins/datatables-responsive/css/responsive.bootstrap4.min.css">
|
||||
<link rel="stylesheet" href="{{asset('/')}}plugins/datatables-buttons/css/buttons.bootstrap4.min.css">
|
||||
|
||||
@endpush
|
||||
<!-- Add Content Here -->
|
||||
@section('content')
|
||||
<!-- Include Sidebar -->
|
||||
@include('layout.navbars.sidebar')
|
||||
<div class="content-wrapper">
|
||||
<!-- Main content -->
|
||||
<section class="content-header">
|
||||
<div class="container-fluid">
|
||||
<div class="row mb-2">
|
||||
<div class="col-sm-6">
|
||||
<h1>Pengajuan Syarat Wisuda</h1>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<ol class="breadcrumb float-sm-right">
|
||||
<li class="breadcrumb-item"><a href="{{ route('admin.dashboard') }}">Admin</a></li>
|
||||
<li class="breadcrumb-item active">Pengajuan Syarat Wisuda</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.container-fluid -->
|
||||
</section>
|
||||
|
||||
<section class="content">
|
||||
<div class="card">
|
||||
<!-- /.card-header -->
|
||||
<div class="card-body">
|
||||
<div class="alert alert-info alert-dismissible">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<h5><i class="icon fas fa-info"></i> Perhatian!</h5>
|
||||
<span >CaseID Akan muncul ketika pengajuan telah diterima untuk menghindari data duplikat untuk mahasiswa yang sama.</span>
|
||||
</div>
|
||||
@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
|
||||
<table id="example1" class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>CaseID</th>
|
||||
<th>NIM</th>
|
||||
<th>Nama</th>
|
||||
<th>DPU</th>
|
||||
<th>Dosen Penguji Utama</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($data as $datas)
|
||||
<tr>
|
||||
<td>{{ $datas->caseid }}</td>
|
||||
<td>{{ $datas->nim }} </td>
|
||||
<td>{{ $datas->nama }} </td>
|
||||
<td>{{ $datas->dpu_nama_gelar }}</td>
|
||||
<td>{{ $datas->penguji1_nama_gelar }}</td>
|
||||
<td class="text-center">
|
||||
<button class="btn btn-primary" data-toggle="modal" data-target="#MD{{ $datas->id }}" >Details</button> |
|
||||
@if($datas->ttd_operator=="-")
|
||||
<button class="btn btn-success" data-toggle="modal" data-target="#MD{{ $datas->id }}" >Terima</button> |
|
||||
<button class="btn btn-danger" data-toggle="modal" data-target="#MDDelete{{ $datas->id }}" >Tolak</button>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Modal Detail dan Terima -->
|
||||
<div class="modal fade" id="MD{{$datas->id}}">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">Details Data <b>{{ $datas->caseid }}</b></h4>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="nim">NIM:</label>
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->nim }}">
|
||||
<label for="nama">Nama Mahasiswa:</label>
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->nama }}">
|
||||
<label for="dosen_dpu">Dosen DPU: {{ $datas->ttd_dpu === '-' ? 'Belum Tanda Tangan' : 'Telah TTD Pada '.$datas->ttd_dpu }}</label>
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->dpa_nama_gelar }}">
|
||||
<label for="dosen_dpu">Dosen DPA: {{ $datas->ttd_dpa === '-' ? 'Belum Tanda Tangan' : 'Telah TTD Pada '.$datas->ttd_dpa }}</label>
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->dpu_nama_gelar }}">
|
||||
<label for="dosen_penguji1">Dosen Penguji1: {{ $datas->ttd_penguji1 === '-' ? 'Belum Tanda Tangan' : 'Telah TTD Pada '.$datas->ttd_penguji1 }}</label>
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->penguji1_nama_gelar }}">
|
||||
<label for="dosen_penguji2">Dosen Penguji1: {{ $datas->ttd_penguji2 === '-' ? 'Belum Tanda Tangan' : 'Telah TTD Pada '.$datas->ttd_penguji2 }}</label>
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->penguji2_nama_gelar }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="judul_skripsi_id">Judul Skripsi :</label><br>
|
||||
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->judul_skripsi_id }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="file_transkrip">Bukti Skripsi<br>
|
||||
<a href="{{asset('storage')}}/{{ $datas->nim }}/{{ $datas->bukti_skripsi }}" target="_blank" class="btn btn-info">Klik Disini</a>
|
||||
</div>
|
||||
<div class="col">
|
||||
<label for="file_transkrip">Bukti Sertifikat KKN<br>
|
||||
<a href="{{asset('storage')}}/{{ $datas->nim }}/{{ $datas->bukti_kkn }}" target="_blank" class="btn btn-info">Klik Disini</a>
|
||||
</div>
|
||||
<div class="col">
|
||||
<label for="file_transkrip">Bukti SPP<br>
|
||||
<a href="{{asset('storage')}}/{{ $datas->nim }}/{{ $datas->bukti_spp }}" target="_blank" class="btn btn-info">Klik Disini</a>
|
||||
</div>
|
||||
<div class="col">
|
||||
<label for="file_transkrip">Bukti Sertifikat TOEFL<br>
|
||||
<a href="{{asset('storage')}}/{{ $datas->nim }}/{{ $datas->bukti_toefl }}" target="_blank" class="btn btn-info">Klik Disini</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="file_transkrip">Detail TTD<br>
|
||||
<a href="{{ route('monitoring.caseid',['caseid'=>$datas->caseid]) }}" target="_blank" class="btn btn-success">Klik Disini</a>
|
||||
</div>
|
||||
<div class="col">
|
||||
<label for="file_transkrip">Cetak Surat Pernyataan<br>
|
||||
<a href="{{ route('layanan-wisuda.cetak',['caseid'=>$datas->caseid]) }}" target="_blank" class="btn btn-success">Klik Disini</a>
|
||||
</div>
|
||||
</div>
|
||||
@if($datas->ttd_operator != '-')
|
||||
<div class="row mt-3">
|
||||
<div class="col">
|
||||
<label for="resend">Kirim Ulang Email :</label>
|
||||
<a href="{{ route('layanan-wisuda.resend') }}" class="btn btn-default btn-block">Kirim Ulang Email</a>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
<span>{{$datas->caseid}}</span>
|
||||
@if($datas->ttd_operator=="-")
|
||||
<form action="{{ route('layanan-wisuda.terima')}}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="id" value="{{$datas->id}}">
|
||||
<button type="submit" class="btn btn-success">Terima</button>
|
||||
</form>
|
||||
@endif
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.modal-content -->
|
||||
</div>
|
||||
<!-- /.modal-dialog -->
|
||||
</div>
|
||||
<!-- /.modal-Delete -->
|
||||
<div class="modal fade" id="MDDelete{{$datas->id}}">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">Apa Anda Yakin Ingin Menghapus Data : <b>{{ $datas->caseid }}</b></h4>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="alert alert-info alert-dismissible">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<h5><i class="icon fas fa-info"></i> Perhatian!</h5>
|
||||
<span >Alasan yang Dimasukkan Disini, Akan dikirimkan melalui Email Kepada Mahasiswa Terkait.</span>
|
||||
</div>
|
||||
<form action="{{ route('layanan-wisuda.destroy') }}" method="post">
|
||||
@csrf @method('DELETE')
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="alasan">Alasan:</label>
|
||||
<textarea name="alasan" class="form-control" id="alasan" cols="30" rows="10"
|
||||
placeholder="Masukkan Alasan Disini
|
||||
Masukkan Alasan Disini"></textarea>
|
||||
<input type="hidden" name="id" value="{{$datas->id}}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Batal</button>
|
||||
<button type="submit" class="btn btn-danger">Kirim</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.modal-content -->
|
||||
</div>
|
||||
<!-- /.modal-dialog -->
|
||||
</div>
|
||||
@endforeach
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>CaseID</th>
|
||||
<th>NIM</th>
|
||||
<th>Nama</th>
|
||||
<th>DPU</th>
|
||||
<th>Dosen Penguji Utama</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
<!-- /.card-body -->
|
||||
</div>
|
||||
<!-- /.card -->
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
<!-- Add Custom JS -->
|
||||
@push('js')
|
||||
<!-- DataTables & Plugins -->
|
||||
<script src="{{asset('/')}}plugins/datatables/jquery.dataTables.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-bs4/js/dataTables.bootstrap4.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-responsive/js/dataTables.responsive.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-responsive/js/responsive.bootstrap4.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-buttons/js/dataTables.buttons.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-buttons/js/buttons.bootstrap4.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/jszip/jszip.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/pdfmake/pdfmake.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/pdfmake/vfs_fonts.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-buttons/js/buttons.html5.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-buttons/js/buttons.print.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-buttons/js/buttons.colVis.min.js"></script>
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
$("#example1").DataTable({
|
||||
"responsive": true, "lengthChange": false, "autoWidth": false,
|
||||
"buttons": [{
|
||||
// New button configuration
|
||||
text: 'Tambah Data', // Replace with your desired button text
|
||||
action: function ( e, dt, node, config ) {
|
||||
// Perform your custom action here, e.g., open a new tab with the external link
|
||||
window.open("{{ route('layanan-wisuda.tambah')}}", '_blank');
|
||||
}
|
||||
},"csv", "excel", "pdf", "print", "colvis"]
|
||||
}).buttons().container().appendTo('#example1_wrapper .col-md-6:eq(0)');
|
||||
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
449
resources/views/layanan-wisuda/resend.blade.php
Normal file
449
resources/views/layanan-wisuda/resend.blade.php
Normal file
|
@ -0,0 +1,449 @@
|
|||
<!-- Extend Layout -->
|
||||
@extends('layout.app')
|
||||
<!-- Add Custom CSS -->
|
||||
@push('css')
|
||||
<link rel="stylesheet" href="{{asset('/')}}plugins/datatables-bs4/css/dataTables.bootstrap4.min.css">
|
||||
<link rel="stylesheet" href="{{asset('/')}}plugins/datatables-responsive/css/responsive.bootstrap4.min.css">
|
||||
<link rel="stylesheet" href="{{asset('/')}}plugins/datatables-buttons/css/buttons.bootstrap4.min.css">
|
||||
|
||||
@endpush
|
||||
<!-- Add Content Here -->
|
||||
@section('content')
|
||||
<!-- Include Sidebar -->
|
||||
@include('layout.navbars.sidebar')
|
||||
<div class="content-wrapper">
|
||||
<!-- Main content -->
|
||||
<section class="content-header">
|
||||
<div class="container-fluid">
|
||||
<div class="row mb-2">
|
||||
<div class="col-sm-6">
|
||||
<h1>Kirim Ulang Email Pengajuan Syarat Wisuda</h1>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<ol class="breadcrumb float-sm-right">
|
||||
<li class="breadcrumb-item"><a href="{{ route('admin.dashboard') }}">Admin</a></li>
|
||||
<li class="breadcrumb-item active">Kirim Ulang Email Pengajuan Syarat Wisuda</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.container-fluid -->
|
||||
</section>
|
||||
|
||||
<section class="content">
|
||||
<div class="card">
|
||||
<!-- /.card-header -->
|
||||
<div class="card-body">
|
||||
@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
|
||||
<table class="table table-hover text-nowrap">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>No.</th>
|
||||
<th>Jenis URL</th>
|
||||
<th>URL</th>
|
||||
<th>Aksi</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>1</td>
|
||||
<td>Dosen Pembimbing Utama</td>
|
||||
<td>{{ route('layanan-wisuda.ettd',['url'=>'dpu','caseid'=>'LYXXXX']) }}</td>
|
||||
<td><button class="btn btn-info" data-toggle="modal" data-target="#dpu">Detail</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2</td>
|
||||
<td>Dosen Pembimbing Anggota</td>
|
||||
<td>{{ route('layanan-wisuda.ettd',['url'=>'dpa','caseid'=>'LYXXXX']) }}</td>
|
||||
<td><button class="btn btn-info" data-toggle="modal" data-target="#dpa">Detail</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>3</td>
|
||||
<td>Dosen Penguji Utama</td>
|
||||
<td>{{ route('layanan-wisuda.ettd',['url'=>'penguji1','caseid'=>'LYXXXX']) }}</td>
|
||||
<td><button class="btn btn-info" data-toggle="modal" data-target="#penguji1">Detail</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>4</td>
|
||||
<td>Dosen Penguji Anggota</td>
|
||||
<td>{{ route('layanan-wisuda.ettd',['url'=>'penguji2','caseid'=>'LYXXXX']) }}</td>
|
||||
<td><button class="btn btn-info" data-toggle="modal" data-target="#penguji2">Detail</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>5</td>
|
||||
<td>Semua Kalab</td>
|
||||
<td>{{ route('layanan-wisuda.ettd',['url'=>'kalab','caseid'=>'LYXXXX']) }}</td>
|
||||
<td><button class="btn btn-info" data-toggle="modal" data-target="#kalab">Detail</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>6</td>
|
||||
<td>Pj. SKPI</td>
|
||||
<td>{{ route('layanan-wisuda.ettd',['url'=>'skpi','caseid'=>'LYXXXX']) }}</td>
|
||||
<td><button class="btn btn-info" data-toggle="modal" data-target="#skpi">Detail</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>7</td>
|
||||
<td>Pj. Ruang Baca</td>
|
||||
<td>{{ route('layanan-wisuda.ettd',['url'=>'ruangbaca','caseid'=>'LYXXXX']) }}</td>
|
||||
<td><button class="btn btn-info" data-toggle="modal" data-target="#ruangbaca">Detail</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>8</td>
|
||||
<td>Wakil Dekan 1</td>
|
||||
<td>{{ route('layanan-wisuda.ettd',['url'=>'wakildekan1','caseid'=>'LYXXXX']) }}</td>
|
||||
<td><button class="btn btn-info" data-toggle="modal" data-target="#wakildekan1">Detail</button></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- MODAL DPU-->
|
||||
<div class="modal fade" id="dpu">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">Kirim Ulang Email Ke Dosen Pembimbing Utama</b></h4>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form action="{{ route('layanan-wisuda.resendsubmit') }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="jenis" value="dpu">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="caseid">Pilih CaseID : </label>
|
||||
<select name="caseid" id="caseid" class="form-control select2">
|
||||
<option>Pilih CaseID Disini</option>
|
||||
@foreach($data as $item)
|
||||
<option value="{{$item->id}}">{{$item->caseid}} - {{$item->nama}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Batal</button>
|
||||
<button type="submit" class="btn btn-danger">Kirim</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.modal-content -->
|
||||
</div>
|
||||
<!-- /.modal-dialog -->
|
||||
</div>
|
||||
<!-- MODAL DPA-->
|
||||
<div class="modal fade" id="dpa">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">Kirim Ulang Email Ke Dosen Pembimbing Anggota</b></h4>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form action="{{ route('layanan-wisuda.resendsubmit') }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="jenis" value="dpa">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="caseid">Pilih CaseID : </label>
|
||||
<select name="caseid" id="caseid" class="form-control select2">
|
||||
<option>Pilih CaseID Disini</option>
|
||||
@foreach($data as $item)
|
||||
<option value="{{$item->id}}">{{$item->caseid}} - {{$item->nama}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Batal</button>
|
||||
<button type="submit" class="btn btn-danger">Kirim</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.modal-content -->
|
||||
</div>
|
||||
<!-- /.modal-dialog -->
|
||||
</div>
|
||||
<!-- MODAL penguji1-->
|
||||
<div class="modal fade" id="penguji1">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">Kirim Ulang Email Ke Dosen Penguji Utama</b></h4>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form action="{{ route('layanan-wisuda.resendsubmit') }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="jenis" value="penguji1">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="caseid">Pilih CaseID : </label>
|
||||
<select name="caseid" id="caseid" class="form-control select2">
|
||||
<option>Pilih CaseID Disini</option>
|
||||
@foreach($data as $item)
|
||||
<option value="{{$item->id}}">{{$item->caseid}} - {{$item->nama}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Batal</button>
|
||||
<button type="submit" class="btn btn-danger">Kirim</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.modal-content -->
|
||||
</div>
|
||||
<!-- /.modal-dialog -->
|
||||
</div>
|
||||
<!-- MODAL penguji2-->
|
||||
<div class="modal fade" id="penguji2">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">Kirim Ulang Email Ke Dosen Penguji Anggota</b></h4>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form action="{{ route('layanan-wisuda.resendsubmit') }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="jenis" value="penguji2">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="caseid">Pilih CaseID : </label>
|
||||
<select name="caseid" id="caseid" class="form-control select2">
|
||||
<option>Pilih CaseID Disini</option>
|
||||
@foreach($data as $item)
|
||||
<option value="{{$item->id}}">{{$item->caseid}} - {{$item->nama}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Batal</button>
|
||||
<button type="submit" class="btn btn-danger">Kirim</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.modal-content -->
|
||||
</div>
|
||||
<!-- /.modal-dialog -->
|
||||
</div>
|
||||
<!-- MODAL Kalab-->
|
||||
<div class="modal fade" id="kalab">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">Kirim Ulang Email Ke Kepala Laboratorium</b></h4>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form action="{{ route('layanan-wisuda.resendsubmit') }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="jenis" value="kalab">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="caseid">Pilih CaseID : </label>
|
||||
<select name="caseid" id="caseid" class="form-control select2">
|
||||
<option>Pilih CaseID Disini</option>
|
||||
@foreach($data as $item)
|
||||
<option value="{{$item->id}}">{{$item->caseid}} - {{$item->nama}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Batal</button>
|
||||
<button type="submit" class="btn btn-danger">Kirim</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.modal-content -->
|
||||
</div>
|
||||
<!-- /.modal-dialog -->
|
||||
</div>
|
||||
<!-- MODAL skpi-->
|
||||
<div class="modal fade" id="skpi">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">Kirim Ulang Email Ke Pj. SKPI</b></h4>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form action="{{ route('layanan-wisuda.resendsubmit') }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="jenis" value="skpi">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="caseid">Pilih CaseID : </label>
|
||||
<select name="caseid" id="caseid" class="form-control select2">
|
||||
<option>Pilih CaseID Disini</option>
|
||||
@foreach($data as $item)
|
||||
<option value="{{$item->id}}">{{$item->caseid}} - {{$item->nama}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Batal</button>
|
||||
<button type="submit" class="btn btn-danger">Kirim</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.modal-content -->
|
||||
</div>
|
||||
<!-- /.modal-dialog -->
|
||||
</div>
|
||||
<!-- MODAL Ruang Baca-->
|
||||
<div class="modal fade" id="ruangbaca">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">Kirim Ulang Email Ke Pj. Ruang Baca / Pj. Perpustakaan</b></h4>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form action="{{ route('layanan-wisuda.resendsubmit') }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="jenis" value="perpustakaan">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="caseid">Pilih CaseID : </label>
|
||||
<select name="caseid" id="caseid" class="form-control select2">
|
||||
<option>Pilih CaseID Disini</option>
|
||||
@foreach($data as $item)
|
||||
<option value="{{$item->id}}">{{$item->caseid}} - {{$item->nama}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Batal</button>
|
||||
<button type="submit" class="btn btn-danger">Kirim</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.modal-content -->
|
||||
</div>
|
||||
<!-- /.modal-dialog -->
|
||||
</div>
|
||||
<!-- MODAL Wakil Dekan 1-->
|
||||
<div class="modal fade" id="wakildekan1">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">Kirim Ulang Email Ke Wakil Dekan 1</b></h4>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form action="{{ route('layanan-wisuda.resendsubmit') }}" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="jenis" value="wakildekan1">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="caseid">Pilih CaseID : </label>
|
||||
<select name="caseid" id="caseid" class="form-control select2">
|
||||
<option>Pilih CaseID Disini</option>
|
||||
@foreach($data as $item)
|
||||
<option value="{{$item->id}}">{{$item->caseid}} - {{$item->nama}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer justify-content-between">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Batal</button>
|
||||
<button type="submit" class="btn btn-danger">Kirim</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.modal-content -->
|
||||
</div>
|
||||
<!-- /.modal-dialog -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.card-body -->
|
||||
</div>
|
||||
<!-- /.card -->
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
<!-- Add Custom JS -->
|
||||
@push('js')
|
||||
<!-- DataTables & Plugins -->
|
||||
<script src="{{asset('/')}}plugins/datatables/jquery.dataTables.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-bs4/js/dataTables.bootstrap4.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-responsive/js/dataTables.responsive.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-responsive/js/responsive.bootstrap4.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-buttons/js/dataTables.buttons.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-buttons/js/buttons.bootstrap4.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/jszip/jszip.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/pdfmake/pdfmake.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/pdfmake/vfs_fonts.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-buttons/js/buttons.html5.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-buttons/js/buttons.print.min.js"></script>
|
||||
<script src="{{asset('/')}}plugins/datatables-buttons/js/buttons.colVis.min.js"></script>
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
$("#example1").DataTable({
|
||||
"responsive": true, "lengthChange": false, "autoWidth": false,
|
||||
"buttons": [{
|
||||
// New button configuration
|
||||
text: 'Tambah Data', // Replace with your desired button text
|
||||
action: function ( e, dt, node, config ) {
|
||||
// Perform your custom action here, e.g., open a new tab with the external link
|
||||
window.open("{{ route('layanan-wisuda.tambah')}}", '_blank');
|
||||
}
|
||||
},"csv", "excel", "pdf", "print", "colvis"]
|
||||
}).buttons().container().appendTo('#example1_wrapper .col-md-6:eq(0)');
|
||||
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
207
resources/views/layanan-wisuda/tambah.blade.php
Normal file
207
resources/views/layanan-wisuda/tambah.blade.php
Normal file
|
@ -0,0 +1,207 @@
|
|||
<!-- Extend Layout -->
|
||||
@extends('layout.app_guest',['title' => 'Pengajuan Syarat Wisuda'])
|
||||
@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 Syarat Wisuda</h3>
|
||||
</div>
|
||||
<!-- /.card-header -->
|
||||
<div class="card-body">
|
||||
@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
|
||||
<div class="alert alert-info alert-dismissible">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<h5><i class="icon fas fa-info"></i> Perhatian!</h5>
|
||||
<span >Pernah Menggunakan Layanan PINTU Untuk Pengajuan ? Coba Gunakan Fitur Cari. </span><a href="{{ route('layanan-wisuda.cari') }}" class="btn btn-success btn-sm">Klik Disini</a>
|
||||
</div>
|
||||
<form action="{{ route('layanan-wisuda.store') }}" method="post" enctype="multipart/form-data">
|
||||
@csrf
|
||||
@if(isset($data_mahasiswa))
|
||||
<input type="hidden" name="status" value="ada">
|
||||
<!-- DATA MHS -->
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="nim">NIM Mahasiswa</label>
|
||||
<input type="text" name="nim" id="nim" class="form-control" placeholder="Masukkan NIM Mahasiswa" value="{{$data_mahasiswa->nim}}" required readonly>
|
||||
<label for="nama">Nama Mahasiswa</label>
|
||||
<input type="text" name="nama" id="nama" class="form-control" placeholder="Masukkan Nama Mahasiswa" value="{{$data_mahasiswa->nama}}" required readonly>
|
||||
<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="{{$data_mahasiswa->nomor_hp}}" required readonly>
|
||||
<label for="email">Email Mahasiswa</label>
|
||||
<input type="text" name="email" id="email" class="form-control" placeholder="Masukkan Email Mahasiswa" value="{{$data_mahasiswa->email}}" required readonly>
|
||||
<label for="bagian">Bagian Lab: </label>
|
||||
<select class="form-control select2" style="width: 100%;" id="bagian" name="bagian" readonly>
|
||||
<option>Pilih Laboratorium</option>
|
||||
@foreach($bagian as $item)
|
||||
<option value="{{$item->id}}" {{ $data_mahasiswa->bagian === strval($item->id) ? 'selected' : '' }}>{{$item->nama_bagian}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="form-group">
|
||||
<label for="dosen_dpu">Dosen Pembimbing Utama</label>
|
||||
<select class="form-control select2" style="width: 100%;" id="dosen_dpu" name="dosen_dpu" readonly>
|
||||
<option selected>Pilih Dosen Pembimbing Utama</option>
|
||||
@foreach ($dosen as $item)
|
||||
<option value="{{$item->id}}" {{ $data_mahasiswa->dosen_dpu_id === $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" readonly>
|
||||
<option>Pilih Dosen Pembimbing Anggota</option>
|
||||
@foreach ($dosen as $item)
|
||||
<option value="{{$item->id}}" {{ $data_mahasiswa->dosen_dpa_id === $item->id ? 'selected' : '' }}>{{ $item->nama_gelar }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<!-- /.form-group -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
@else
|
||||
<!-- DATA MHS -->
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="nim">NIM Mahasiswa</label>
|
||||
<input type="text" name="nim" id="nim" class="form-control" placeholder="Masukkan NIM Mahasiswa" value="{{old('nim')}}" required>
|
||||
<label for="nama">Nama Mahasiswa</label>
|
||||
<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>
|
||||
@foreach($bagian as $item)
|
||||
<option value="{{$item->id}}">{{$item->nama_bagian}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="form-group">
|
||||
<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
|
||||
</select>
|
||||
</div>
|
||||
<!-- /.form-group -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
@endif
|
||||
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="form-group">
|
||||
<label for="dosen_penguji1">Dosen Penguji Utama</label>
|
||||
<select class="form-control select2" style="width: 100%;" id="dosen_penguji1" name="dosen_penguji1">
|
||||
<option selected>Pilih Dosen Penguji Utama</option>
|
||||
@foreach ($dosen as $item)
|
||||
<option value="{{$item->id}}" {{ old('dosen_penguji1') === $item->id ? 'selected' : '' }}>{{ $item->nama_gelar }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<!-- /.form-group -->
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="form-group">
|
||||
<label for="dosen_penguji2">Dosen Penguji Anggota</label>
|
||||
<select class="form-control select2" style="width: 100%;" id="dosen_penguji2" name="dosen_penguji2">
|
||||
<option>Pilih Dosen Penguji Anggota</option>
|
||||
@foreach ($dosen as $item)
|
||||
<option value="{{$item->id}}" {{ old('dosen_penguji2') === $item->id ? 'selected' : '' }}>{{ $item->nama_gelar }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<!-- /.form-group -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="judul_skripsi_id">Judul Skripsi / Tugas Akhir Dalam Bahasa Indonesia :</label>
|
||||
<input type="text" name="judul_skripsi_id" id="judul_skripsi_id" class="form-control" placeholder="Masukkan Judul Skripsi / Tugas Akhir Dalam Bahasa Indonesia" required>
|
||||
<label for="bukti_skripsi">File Skripsi Yang Sudah ditandatangani (*File Bertentuk PDF, Dan Ukuran Maksimal file :4Mb)</label>
|
||||
<input type="file" name="bukti_skripsi" id="bukti_skripsi" class="form-control" required>
|
||||
<label for="bukti_kkn">File Sertifikat KKN (*File Bertentuk PDF, Dan Ukuran Maksimal file :4Mb)</label>
|
||||
<input type="file" name="bukti_kkn" id="bukti_kkn" class="form-control" required>
|
||||
<label for="bukti_spp">Bukti SPP Terakhir (*File Bertentuk PDF, Dan Ukuran Maksimal file :4Mb)</label>
|
||||
<input type="file" name="bukti_spp" id="bukti_spp" class="form-control" required>
|
||||
<label for="bukti_toefl">File Sertifikat TOEFL/CBEPT (*Opsional, File Bertentuk PDF, Dan Ukuran Maksimal file :4Mb)</label>
|
||||
<input type="file" name="bukti_toefl" id="bukti_toefl" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col py-3">
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.card -->
|
||||
</div>
|
||||
<!-- /.container-fluid -->
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
|
||||
@endsection
|
|
@ -30,7 +30,7 @@
|
|||
<!-- Main Sidebar Container -->
|
||||
<aside class="main-sidebar sidebar-dark-primary elevation-4">
|
||||
<!-- Brand Logo -->
|
||||
<a href="#" class="brand-link">
|
||||
<a href="{{route('laman-awal')}}" class="brand-link">
|
||||
<img src="{{asset('/')}}dist/img/AdminLTELogo.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3" style="opacity: .8">
|
||||
<span class="brand-text font-weight-light">PINTU</span>
|
||||
</a>
|
||||
|
@ -53,7 +53,7 @@
|
|||
<!-- Sidebar Menu -->
|
||||
<nav class="mt-2">
|
||||
<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
|
||||
<li class="nav-header">LAYANAN Akademik</li>
|
||||
<li class="nav-header">LAYANAN AKADEMIK</li>
|
||||
<li class="nav-item">
|
||||
<a href="{{ route('layanan-dpudpa.tambah') }}" class="nav-link {{ Request::is('layanan-dpudpa/tambah') ? 'active' : '' }}">
|
||||
<i class="nav-icon fas fa-book"></i>
|
||||
|
@ -70,12 +70,36 @@
|
|||
</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-header">-</li>
|
||||
<li class="nav-item">
|
||||
<a href="{{ route('layanan-sidangakhir.tambah') }}" class="nav-link {{ Request::is('layanan-sidangakhir/tambah') ? 'active' : '' }}">
|
||||
<i class="nav-icon fas fa-book"></i>
|
||||
<p>
|
||||
Pengajuan Sidang Akhir
|
||||
</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="{{ route('layanan-revisipublikasi.tambah') }}" class="nav-link {{ Request::is('layanan-revisipublikasi/tambah') ? 'active' : '' }}">
|
||||
<i class="nav-icon fas fa-book"></i>
|
||||
<p>
|
||||
Pengajuan Publikasi / Revisi
|
||||
</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="{{ route('layanan-wisuda.tambah') }}" class="nav-link {{ Request::is('layanan-wisuda/tambah') ? 'active' : '' }}">
|
||||
<i class="nav-icon fas fa-user-graduate"></i>
|
||||
<p>
|
||||
Pengajuan Syarat Wisuda
|
||||
</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-header">Monitoring</li>
|
||||
<li class="nav-item">
|
||||
<a href="{{ route('monitoring.index') }}" class="nav-link {{ Request::is('monitoring') ? 'active' : '' }}">
|
||||
<i class="nav-icon fas fa-search"></i>
|
||||
<p>
|
||||
Monitoring
|
||||
Monitoring CaseID
|
||||
</p>
|
||||
</a>
|
||||
</li>
|
||||
|
@ -108,12 +132,7 @@
|
|||
@yield('content')
|
||||
</div>
|
||||
<!-- /.content-wrapper -->
|
||||
<footer class="main-footer">
|
||||
<div class="float-right d-none d-sm-block">
|
||||
<b>Version</b> 3.2.0
|
||||
</div>
|
||||
<strong>Copyright © 2014-2021 <a href="https://adminlte.io">AdminLTE.io</a>.</strong> All rights reserved.
|
||||
</footer>
|
||||
@include('layout.navbars.footer')
|
||||
|
||||
<!-- Control Sidebar -->
|
||||
<aside class="control-sidebar control-sidebar-dark">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
<footer class="main-footer">
|
||||
<div class="float-right d-none d-sm-block">
|
||||
<b>Version</b> 3.2.0
|
||||
<b>Version</b> 2.0.0
|
||||
</div>
|
||||
<strong>Copyright © 2014-2021 <a href="https://adminlte.io">AdminLTE.io</a> | tes.</strong> All rights reserved.
|
||||
<strong>Made With ♥ By TIM IT FFUNEJ | <strong> Designed Using <a href="https://adminlte.io">AdminLTE</a> </
|
||||
</footer>
|
||||
|
|
|
@ -44,10 +44,10 @@
|
|||
</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-header">LAYANAN</li>
|
||||
<li class="nav-header text-bold">LAYANAN AKADEMIK</li>
|
||||
<li class="nav-item">
|
||||
<a href="{{ route('layanan-dpudpa.index') }}" class="nav-link {{ Request::is('admin/layanan-dpudpa') ? 'active' : '' }}">
|
||||
<i class="nav-icon fas fa-tachometer-alt"></i>
|
||||
<i class="nav-icon fas fa-book"></i>
|
||||
<p>
|
||||
Pengajuan DPU / DPA
|
||||
</p>
|
||||
|
@ -61,7 +61,40 @@
|
|||
</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-header">ADMINISTRASI</li>
|
||||
<li class="nav-item">
|
||||
<a href="{{ route('layanan-sidangakhir.index') }}" class="nav-link {{ Request::is('admin/layanan-sidangakhir') ? 'active' : '' }}">
|
||||
<i class="nav-icon fas fa-tachometer-alt"></i>
|
||||
<p>
|
||||
Pengajuan Sidang Akhir
|
||||
</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="{{ route('layanan-revisipublikasi.index') }}" class="nav-link {{ Request::is('admin/layanan-revisipublikasi') ? 'active' : '' }}">
|
||||
<i class="nav-icon fas fa-tachometer-alt"></i>
|
||||
<p>
|
||||
Pengajuan Publikasi / Revisi
|
||||
</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-header text-bold mt-2">LAYANAN WISUDA</li>
|
||||
<li class="nav-item">
|
||||
<a href="{{ route('layanan-wisuda.index') }}" class="nav-link {{ Request::is('admin/layanan-wisuda') ? 'active' : '' }}">
|
||||
<i class="nav-icon fas fa-user-graduate"></i>
|
||||
<p>
|
||||
Pengajuan Wisuda
|
||||
</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="{{ route('layanan-wisuda.resend') }}" class="nav-link {{ Request::is('admin/layanan-wisuda/resend') ? 'active' : '' }}">
|
||||
<i class="nav-icon fas fa-users"></i>
|
||||
<p>
|
||||
Kirim Ulang Email
|
||||
</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-header text-bold mt-2">ADMINISTRASI</li>
|
||||
@role('Super Administrator')
|
||||
<li class="nav-item">
|
||||
<a href="{{ route('users.index') }}" class="nav-link {{ Request::is('admin/users') ? 'active' : '' }}">
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
</ul>
|
||||
|
||||
<!-- Right navbar links -->
|
||||
<ul class="navbar-nav ml-auto">
|
||||
{{-- <ul class="navbar-nav ml-auto">
|
||||
<!-- Navbar Search -->
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" data-widget="navbar-search" href="#" role="button">
|
||||
|
@ -126,6 +126,6 @@
|
|||
<i class="fas fa-th-large"></i>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</ul> --}}
|
||||
</nav>
|
||||
<!-- /.navbar -->
|
||||
|
|
70
resources/views/mail/dpadpu.blade.php
Normal file
70
resources/views/mail/dpadpu.blade.php
Normal file
|
@ -0,0 +1,70 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>PENGAJUAN KESEDIAAN MENJADI DOSEN PEMBIMBING TUGAS AKHIR</h1>
|
||||
<h4>CaseID : {{ $mailData['caseid'] }}</h4>
|
||||
<h4>Nama Mahasiswa : {{ $mailData['nama_mahasiswa'] }}</h4>
|
||||
<h4>NIM Mahasiswa : {{ $mailData['nim_mahasiswa'] }}</h4>
|
||||
<h4>Judul Tugas Akhir : {{ $mailData['judul_seminar_proposal'] }}</h4>
|
||||
@if( $mailData['jenis']=='penolakan' )
|
||||
<p>Kepada Saudara/Saudari {{ $mailData['nama_mahasiswa'] }}, Pengajuan {{ $mailData['judul']}} Ditolak Dengan Alasan Sebagai Berikut:<br/>
|
||||
<strong>{!! nl2br($mailData['alasan']) !!}</strong><br/>
|
||||
</p>
|
||||
<p>Silahkan melakukan pengajuan ulang melalui aplikasi PINTU atau anda dapat menghubungi Operator Akademik Fakultas Farmasi Untuk Keterangan Lebih Lanjut</p>
|
||||
|
||||
@elseif( $mailData['jenis']=='mahasiswa' )
|
||||
<p>Kepada Saudara/i {{ $mailData['nama_mahasiswa'] }} <br/>
|
||||
Dapat Melihat Proses Pengajuan anda dengan menggunakan CaseID diatas, dan mengecek Pada Link Berikut : <a href="{{ $mailData['url'] }}">Klik Disini</a> <br/>
|
||||
</p>
|
||||
<p>Apabila Link diatas tidak bisa diklik, bisa menyalin tautan berikut untuk dibuka:
|
||||
<br/>
|
||||
<a href="{{ $mailData['url'] }}">{{ $mailData['url'] }}</a> <br/>
|
||||
|
||||
@elseif( $mailData['jenis']=='mahasiswa selesai' )
|
||||
<p>Kepada Saudara/Saudari {{ $mailData['nama_mahasiswa'] }} <br/>
|
||||
Pengajuan Anda Telah Selesai, anda dapat mengunduh berkas pada link berikut : <a href="{{ $mailData['url'] }}">Klik Disini</a>
|
||||
<br>lalu menyerahkan Pada <strong>Operator Akademik Fakultas Farmasi Universitas Jember</strong>
|
||||
</p>
|
||||
<p>Apabila Link diatas tidak bisa diklik, bisa menyalin tautan berikut untuk dibuka:
|
||||
<br/>
|
||||
<a href="{{ $mailData['url'] }}">{{ $mailData['url'] }}</a> <br/>
|
||||
</p>
|
||||
|
||||
@elseif( $mailData['jenis']=='dpu' )
|
||||
<p>Kepada Bapak/Ibu {{ $mailData['nama_dosen'] }} <br/>
|
||||
Dimohon Kesediaannya mengisi tanda tangan secara digital melalui link berikut: <br/>
|
||||
Kesediaan Menjadi Dosen Pembimbing Utama : <a href="{{ $mailData['url'] }}">Klik Disini</a> <br/>
|
||||
</p>
|
||||
<p>Apabila Link diatas tidak bisa diklik, bisa menyalin tautan berikut untuk dibuka:
|
||||
<br/>
|
||||
Kesediaan Menjadi Dosen Pembimbing Utama : <a href="{{ $mailData['url'] }}">{{ $mailData['url'] }}</a> <br/>
|
||||
|
||||
@elseif( $mailData['jenis']=='dpa' )
|
||||
<p>Kepada Bapak/Ibu {{ $mailData['nama_dosen'] }} <br/>
|
||||
Dimohon Kesediaannya mengisi tanda tangan secara digital melalui link berikut: <br/>
|
||||
Kesediaan Menjadi Dosen Pembimbing Akademik : <a href="{{ $mailData['url'] }}">Klik Disini</a> <br/>
|
||||
</p>
|
||||
<p>Apabila Link diatas tidak bisa diklik, bisa menyalin tautan berikut untuk dibuka:
|
||||
<br/>
|
||||
Kesediaan Menjadi Dosen Pembimbing Akademik : <a href="{{ $mailData['url'] }}">{{ $mailData['url'] }}</a> <br/>
|
||||
@else
|
||||
<p>Kepada Bapak/Ibu {{ $mailData['nama_dosen'] }} <br/>
|
||||
Dimohon Kesediaannya mengisi tanda tangan secara digital melalui link berikut: <br/>
|
||||
Persetujuan Ketua Komisi Bimbingan : <a href="{{ $mailData['url'] }}">Klik Disini</a> <br/>
|
||||
</p>
|
||||
<p>Apabila Link diatas tidak bisa diklik, bisa menyalin tautan berikut untuk dibuka:
|
||||
<br/>
|
||||
Persetujuan Ketua Komisi Bimbingan : <a href="{{ $mailData['url'] }}">{{ $mailData['url'] }}</a> <br/>
|
||||
@endif
|
||||
</p>
|
||||
<footer>
|
||||
Disclaimer: Aplikasi ini masih dalam tahap pengembangan, segala bentuk error atau gangguan bisa disampaikan ke email f@unej.ac.id atau Telegram <a href="https://t.me/ef_be" target="_blank" rel="noopener noreferrer">@ef_be</a>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
19
resources/views/mail/penolakanPengajuan.blade.php
Normal file
19
resources/views/mail/penolakanPengajuan.blade.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Penolakan Pengajuan {{ $mailData['caseid']}}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1></h1>
|
||||
<p>Kepada Saudara/Saudari {{ $mailData['nama_mahasiswa'] }}, Pengajuan {{ $mailData['judul']}} Ditolak Dengan Alasan Sebagai Berikut:<br/>
|
||||
<strong>{!! nl2br($mailData['alasan']) !!}</strong><br/>
|
||||
</p>
|
||||
<p>Silahkan melakukan pengajuan ulang melalui aplikasi PINTU atau anda dapat menghubungi Operator Akademik Fakultas Farmasi Untuk Keterangan Lebih Lanjut</p>
|
||||
<footer>
|
||||
Disclaimer: Aplikasi ini masih dalam tahap pengembangan, segala bentuk error atau gangguan bisa disampaikan ke email f@unej.ac.id atau Telegram <a href="https://t.me/ef_be" target="_blank" rel="noopener noreferrer">@ef_be</a>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
80
resources/views/mail/revisipublikasi.blade.php
Normal file
80
resources/views/mail/revisipublikasi.blade.php
Normal file
|
@ -0,0 +1,80 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>PENGAJUAN PERSETUJUAN SURAT PERNYATAAN PERSETUJUAN SKRIPSI & PERNYATAAN PUBLIKASI</h1>
|
||||
<h4>CaseID : {{ $mailData['caseid'] }}</h4>
|
||||
<h4>NAMA MAHASISWA : {{ $mailData['nama_mahasiswa'] }}</h4>
|
||||
<h4>NIM MAHASISWA : {{ $mailData['nim_mahasiswa'] }}</h4>
|
||||
<h4>JUDUL SKRIPSI Dalam Bahasa Indonesia: {{ $mailData['judul_skripsi_id'] }}</h4>
|
||||
<h4>JUDUL Artikel: {{ $mailData['judul_artikel'] }}</h4>
|
||||
<h4>JUDUL Jurnal: {{ $mailData['judul_jurnal'] }}</h4>
|
||||
|
||||
@if( $mailData['jenis']=='penolakan' )
|
||||
|
||||
<p>Kepada Saudara/Saudari {{ $mailData['nama_mahasiswa'] }}, Pengajuan {{ $mailData['judul']}} Ditolak Dengan Alasan Sebagai Berikut:<br/>
|
||||
<strong>{!! nl2br($mailData['alasan']) !!}</strong><br/>
|
||||
</p>
|
||||
<p>Silahkan melakukan pengajuan ulang melalui aplikasi PINTU atau anda dapat menghubungi Operator Akademik Fakultas Farmasi Untuk Keterangan Lebih Lanjut</p>
|
||||
|
||||
@elseif( $mailData['jenis']=='dpu' )
|
||||
|
||||
<p>Kepada Bapak/Ibu {{ $mailData['nama_dosen'] }} <br/>
|
||||
Dimohon Kesediaannya mengisi tanda tangan secara digital melalui link berikut: <br/>
|
||||
Surat Pernyataan Persetujuan Skripsi & Pernyataan Publikasi : <a href="{{ $mailData['url'] }}">Klik Disini</a> <br/>
|
||||
</p>
|
||||
<p>Apabila Link diatas tidak bisa diklik, bisa menyalin tautan berikut untuk dibuka:
|
||||
<br/>
|
||||
Surat Pernyataan Persetujuan Skripsi & Pernyataan Publikasi : <a href="{{ $mailData['url'] }}">{{ $mailData['url'] }}</a> <br/>
|
||||
|
||||
@elseif( $mailData['jenis']=='penguji1' )
|
||||
|
||||
<p>Kepada Bapak/Ibu {{ $mailData['nama_dosen'] }} <br/>
|
||||
Dimohon Kesediaannya mengisi tanda tangan secara digital melalui link berikut: <br/>
|
||||
Surat Pernyataan Persetujuan Skripsi & Pernyataan Publikasi : <a href="{{ $mailData['url'] }}">Klik Disini</a> <br/>
|
||||
</p>
|
||||
<p>Apabila Link diatas tidak bisa diklik, bisa menyalin tautan berikut untuk dibuka:
|
||||
<br/>
|
||||
Surat Pernyataan Persetujuan Skripsi & Pernyataan Publikasi : <a href="{{ $mailData['url'] }}">{{ $mailData['url'] }}</a> <br/>
|
||||
|
||||
@elseif( $mailData['jenis']=='penguji2' )
|
||||
|
||||
<p>Kepada Bapak/Ibu {{ $mailData['nama_dosen'] }} <br/>
|
||||
Dimohon Kesediaannya mengisi tanda tangan secara digital melalui link berikut: <br/>
|
||||
Surat Pernyataan Persetujuan Skripsi & Pernyataan Publikasi : <a href="{{ $mailData['url'] }}">Klik Disini</a> <br/>
|
||||
</p>
|
||||
<p>Apabila Link diatas tidak bisa diklik, bisa menyalin tautan berikut untuk dibuka:
|
||||
<br/>
|
||||
Surat Pernyataan Persetujuan Skripsi & Pernyataan Publikasi : <a href="{{ $mailData['url'] }}">{{ $mailData['url'] }}</a> <br/>
|
||||
|
||||
@elseif( $mailData['jenis']=='mahasiswa' )
|
||||
|
||||
<p>Kepada Saudara/i {{ $mailData['nama_mahasiswa'] }} <br/>
|
||||
Dapat Melihat Proses Pengajuan nya dengan menggunakan CaseID diatas, dan mengecek Pada Link Berikut : <a href="{{ $mailData['url'] }}">Klik Disini</a> <br/>
|
||||
</p>
|
||||
<p>Apabila Link diatas tidak bisa diklik, bisa menyalin tautan berikut untuk dibuka:
|
||||
<br/>
|
||||
<a href="{{ $mailData['url'] }}">{{ $mailData['url'] }}</a> <br/>
|
||||
|
||||
@elseif( $mailData['jenis']=='mahasiswa selesai' )
|
||||
|
||||
<p>Kepada Saudara/Saudari {{ $mailData['nama_mahasiswa'] }} <br/>
|
||||
Surat Pernyataan Persetujuan Skripsi & Pernyataan Publikasi Telah Selesai, anda dapat mengunduh berkas pada link berikut : <a href="{{ $mailData['url'] }}">Klik Disini</a>
|
||||
<br>lalu menyerahkan Pada <strong>Operator Akademik Fakultas Farmasi Universitas Jember</strong>
|
||||
</p>
|
||||
<p>Apabila Link diatas tidak bisa diklik, bisa menyalin tautan berikut untuk dibuka:
|
||||
<br/>
|
||||
<a href="{{ $mailData['url'] }}">{{ $mailData['url'] }}</a> <br/>
|
||||
</p>
|
||||
@endif
|
||||
|
||||
<footer>
|
||||
Disclaimer: Aplikasi ini masih dalam tahap pengembangan, segala bentuk error atau gangguan bisa disampaikan ke email f@unej.ac.id atau Telegram <a href="https://t.me/ef_be" target="_blank" rel="noopener noreferrer">@ef_be</a>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
56
resources/views/mail/sempro.blade.php
Normal file
56
resources/views/mail/sempro.blade.php
Normal file
|
@ -0,0 +1,56 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>PENGAJUAN PERSETUJUAN BEBAS PLAGIASI DOSEN PEMBIMBING</h1>
|
||||
<h4>CaseID : {{ $mailData['caseid'] }}</h4>
|
||||
<h4>NAMA MAHASISWA : {{ $mailData['nama_mahasiswa'] }}</h4>
|
||||
<h4>NIM MAHASISWA : {{ $mailData['nim_mahasiswa'] }}</h4>
|
||||
<h4>JUDUL SKRIPSI : {{ $mailData['judul_seminar_proposal'] }}</h4>
|
||||
|
||||
|
||||
@if( $mailData['jenis']=='penolakan' )
|
||||
<p>Kepada Saudara/Saudari {{ $mailData['nama_mahasiswa'] }}, Pengajuan {{ $mailData['judul']}} Ditolak Dengan Alasan Sebagai Berikut:<br/>
|
||||
<strong>{!! nl2br($mailData['alasan']) !!}</strong><br/>
|
||||
</p>
|
||||
<p>Silahkan melakukan pengajuan ulang melalui aplikasi PINTU atau anda dapat menghubungi Operator Akademik Fakultas Farmasi Untuk Keterangan Lebih Lanjut</p>
|
||||
|
||||
@elseif( $mailData['jenis']=='dpu' )
|
||||
|
||||
<p>Kepada Bapak/Ibu {{ $mailData['nama_dosen'] }} <br/>
|
||||
Dimohon Kesediaannya mengisi tanda tangan secara digital melalui link berikut: <br/>
|
||||
Surat Pernyataan Bebas Plagiasi Proposal : <a href="{{ $mailData['url'] }}">Klik Disini</a> <br/>
|
||||
</p>
|
||||
<p>Apabila Link diatas tidak bisa diklik, bisa menyalin tautan berikut untuk dibuka:
|
||||
<br/>
|
||||
Surat Pernyataan Bebas Plagiasi Proposal : <a href="{{ $mailData['url'] }}">{{ $mailData['url'] }}</a> <br/>
|
||||
|
||||
@elseif( $mailData['jenis']=='mahasiswa' )
|
||||
|
||||
<p>Kepada Saudara/i {{ $mailData['nama_mahasiswa'] }} <br/>
|
||||
Dapat Melihat Proses Pengajuan nya dengan menggunakan CaseID diatas, dan mengecek Pada Link Berikut : <a href="{{ $mailData['url'] }}">Klik Disini</a> <br/>
|
||||
</p>
|
||||
<p>Apabila Link diatas tidak bisa diklik, bisa menyalin tautan berikut untuk dibuka:
|
||||
<br/>
|
||||
<a href="{{ $mailData['url'] }}">{{ $mailData['url'] }}</a> <br/>
|
||||
@elseif( $mailData['jenis']=='mahasiswa selesai' )
|
||||
|
||||
<p>Kepada Saudara/Saudari {{ $mailData['nama_mahasiswa'] }} <br/>
|
||||
Pengajuan Bebas Plagiasi Telah Selesai, anda dapat mengunduh berkas pada link berikut : <a href="{{ $mailData['url'] }}">Klik Disini</a>
|
||||
<br>lalu menyerahkan Pada <strong>Operator Akademik Fakultas Farmasi Universitas Jember</strong>
|
||||
<p>Apabila Link diatas tidak bisa diklik, bisa menyalin tautan berikut untuk dibuka:
|
||||
<br/>
|
||||
<a href="{{ $mailData['url'] }}">{{ $mailData['url'] }}</a> <br/>
|
||||
</p>
|
||||
@endif
|
||||
</p>
|
||||
<footer>
|
||||
Disclaimer: Aplikasi ini masih dalam tahap pengembangan, segala bentuk error atau gangguan bisa disampaikan ke email f@unej.ac.id atau Telegram <a href="https://t.me/ef_be" target="_blank" rel="noopener noreferrer">@ef_be</a>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
56
resources/views/mail/sidangakhir.blade.php
Normal file
56
resources/views/mail/sidangakhir.blade.php
Normal file
|
@ -0,0 +1,56 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>PENGAJUAN PERSETUJUAN BEBAS PLAGIASI DOSEN PEMBIMBING</h1>
|
||||
<h4>CaseID : {{ $mailData['caseid'] }}</h4>
|
||||
<h4>NAMA MAHASISWA : {{ $mailData['nama_mahasiswa'] }}</h4>
|
||||
<h4>NIM MAHASISWA : {{ $mailData['nim_mahasiswa'] }}</h4>
|
||||
<h4>JUDUL SKRIPSI Dalam Bahasa Indonesia: {{ $mailData['judul_skripsi_id'] }}</h4>
|
||||
<h4>JUDUL SKRIPSI Dalam Bahasa Inggris: {{ $mailData['judul_skripsi_en'] }}</h4>
|
||||
|
||||
@if( $mailData['jenis']=='penolakan' )
|
||||
<p>Kepada Saudara/Saudari {{ $mailData['nama_mahasiswa'] }}, Pengajuan {{ $mailData['judul']}} Ditolak Dengan Alasan Sebagai Berikut:<br/>
|
||||
<strong>{!! nl2br($mailData['alasan']) !!}</strong><br/>
|
||||
</p>
|
||||
<p>Silahkan melakukan pengajuan ulang melalui aplikasi PINTU atau anda dapat menghubungi Operator Akademik Fakultas Farmasi Untuk Keterangan Lebih Lanjut</p>
|
||||
|
||||
@elseif( $mailData['jenis']=='dpu' )
|
||||
|
||||
<p>Kepada Bapak/Ibu {{ $mailData['nama_dosen'] }} <br/>
|
||||
Dimohon Kesediaannya mengisi tanda tangan secara digital melalui link berikut: <br/>
|
||||
Surat Pernyataan Bebas Plagiasi Skripsi & Persetujuan Judul Skripsi : <a href="{{ $mailData['url'] }}">Klik Disini</a> <br/>
|
||||
</p>
|
||||
<p>Apabila Link diatas tidak bisa diklik, bisa menyalin tautan berikut untuk dibuka:
|
||||
<br/>
|
||||
Surat Pernyataan Bebas Plagiasi Skripsi & Persetujuan Judul Skripsi : : <a href="{{ $mailData['url'] }}">{{ $mailData['url'] }}</a> <br/>
|
||||
|
||||
@elseif( $mailData['jenis']=='mahasiswa' )
|
||||
|
||||
<p>Kepada Saudara/i {{ $mailData['nama_mahasiswa'] }} <br/>
|
||||
Dapat Melihat Proses Pengajuan nya dengan menggunakan CaseID diatas, dan mengecek Pada Link Berikut : <a href="{{ $mailData['url'] }}">Klik Disini</a> <br/>
|
||||
</p>
|
||||
<p>Apabila Link diatas tidak bisa diklik, bisa menyalin tautan berikut untuk dibuka:
|
||||
<br/>
|
||||
<a href="{{ $mailData['url'] }}">{{ $mailData['url'] }}</a> <br/>
|
||||
@elseif( $mailData['jenis']=='mahasiswa selesai' )
|
||||
|
||||
<p>Kepada Saudara/Saudari {{ $mailData['nama_mahasiswa'] }} <br/>
|
||||
Surat Pernyataan Bebas Plagiasi Skripsi & Persetujuan Judul Skripsi Telah Selesai, anda dapat mengunduh berkas pada link berikut : <a href="{{ $mailData['url'] }}">Klik Disini</a>
|
||||
<br>lalu menyerahkan Pada <strong>Operator Akademik Fakultas Farmasi Universitas Jember</strong>
|
||||
<p>Apabila Link diatas tidak bisa diklik, bisa menyalin tautan berikut untuk dibuka:
|
||||
<br/>
|
||||
<a href="{{ $mailData['url'] }}">{{ $mailData['url'] }}</a> <br/>
|
||||
</p>
|
||||
@endif
|
||||
</p>
|
||||
<footer>
|
||||
Disclaimer: Aplikasi ini masih dalam tahap pengembangan, segala bentuk error atau gangguan bisa disampaikan ke email f@unej.ac.id atau Telegram <a href="https://t.me/ef_be" target="_blank" rel="noopener noreferrer">@ef_be</a>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
56
resources/views/mail/wisuda.blade.php
Normal file
56
resources/views/mail/wisuda.blade.php
Normal file
|
@ -0,0 +1,56 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>PENGAJUAN PERSETUJUAN SYARAT YUDISIUM</h1>
|
||||
<h4>CaseID : {{ $mailData['caseid'] }}</h4>
|
||||
<h4>NAMA MAHASISWA : {{ $mailData['nama_mahasiswa'] }}</h4>
|
||||
<h4>NIM MAHASISWA : {{ $mailData['nim_mahasiswa'] }}</h4>
|
||||
<h4>JUDUL SKRIPSI Dalam Bahasa Indonesia: {{ $mailData['judul_skripsi_id'] }}</h4>
|
||||
|
||||
@if( $mailData['jenis']=='penolakan')
|
||||
|
||||
<p>Kepada Saudara/Saudari {{ $mailData['nama_mahasiswa'] }}, Pengajuan {{ $mailData['judul']}} Ditolak Dengan Alasan Sebagai Berikut:<br/>
|
||||
<strong>{!! nl2br($mailData['alasan']) !!}</strong><br/>
|
||||
</p>
|
||||
<p>Silahkan melakukan pengajuan ulang melalui aplikasi PINTU atau anda dapat menghubungi Operator Akademik Fakultas Farmasi Untuk Keterangan Lebih Lanjut</p>
|
||||
|
||||
@elseif( $mailData['jenis']=='mahasiswa')
|
||||
|
||||
<p>Kepada Saudara/i {{ $mailData['nama_mahasiswa'] }} <br/>
|
||||
Dapat Melihat Proses Pengajuan nya dengan menggunakan CaseID diatas, dan mengecek Pada Link Berikut : <a href="{{ $mailData['url'] }}">Klik Disini</a> <br/>
|
||||
</p>
|
||||
<p>Apabila Link diatas tidak bisa diklik, bisa menyalin tautan berikut untuk dibuka:
|
||||
<br/>
|
||||
<a href="{{ $mailData['url'] }}">{{ $mailData['url'] }}</a> <br/>
|
||||
|
||||
@elseif( $mailData['jenis']=='mahasiswa Selesai' )
|
||||
|
||||
<p>Kepada Saudara/Saudari {{ $mailData['nama_mahasiswa'] }} <br/>
|
||||
Surat Pernyataan Persyaratan Yudisium Telah Selesai, anda dapat mengunduh berkas pada link berikut : <a href="{{ $mailData['url'] }}">Klik Disini</a>
|
||||
<br>lalu menyerahkan Pada <strong>Operator Akademik Fakultas Farmasi Universitas Jember</strong>
|
||||
<p>Apabila Link diatas tidak bisa diklik, bisa menyalin tautan berikut untuk dibuka:
|
||||
<br/>
|
||||
<a href="{{ $mailData['url'] }}">{{ $mailData['url'] }}</a> <br/>
|
||||
|
||||
@else
|
||||
<p>Kepada Bapak/Ibu {{ $mailData['nama_dosen'] }}<br/>
|
||||
Dimohon Kesediaannya mengisi tanda tangan secara digital melalui link berikut: <br/>
|
||||
Surat Pernyataan Persyaratan Yudisium : <a href="{{ $mailData['url'] }}">Klik Disini</a> <br/>
|
||||
</p>
|
||||
<p>Apabila Link diatas tidak bisa diklik, bisa menyalin tautan berikut untuk dibuka:
|
||||
<br/>
|
||||
Surat Pernyataan Persyaratan Yudisium : <a href="{{ $mailData['url'] }}">{{ $mailData['url'] }}</a> <br/>
|
||||
@endif
|
||||
|
||||
</p>
|
||||
<footer>
|
||||
Disclaimer: Aplikasi ini masih dalam tahap pengembangan, segala bentuk error atau gangguan bisa disampaikan ke email f@unej.ac.id atau Telegram <a href="https://t.me/ef_be" target="_blank" rel="noopener noreferrer">@ef_be</a>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
105
resources/views/monitoring/revisipublikasi.blade.php
Normal file
105
resources/views/monitoring/revisipublikasi.blade.php
Normal file
|
@ -0,0 +1,105 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ $title }}</title>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
|
||||
<link rel="stylesheet" href="{{asset('/')}}plugins/fontawesome-free/css/all.min.css">
|
||||
<link rel="stylesheet" href="{{asset('/')}}dist/css/adminlte.min.css?v=3.2.0">
|
||||
<body class="hold-transition layout-top-nav">
|
||||
|
||||
<div class="content-wrapper">
|
||||
<div class="content-header">
|
||||
<div class="container">
|
||||
<div class="text-center">
|
||||
<h1 class="m-0"> {{ $title }}</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="container">
|
||||
<div class="card card-widget widget-user">
|
||||
<div class="widget-user-header text-white" style="background: url('{{asset('/')}}dist/img/photo1.png') center center;">
|
||||
<h5 class="widget-user-desc text-right">Monitoring</h5>
|
||||
<h3 class="widget-user-username text-right">{{$data->caseid}}</h3>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<div class="row">
|
||||
<div class="col-sm-4 border-right">
|
||||
<div class="description-block" style="margin-top: 0px; overflow: hidden;">
|
||||
<h5 class="description-header">CaseID</h5>
|
||||
<span class="description-text">{{$data->caseid}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-4 border-right">
|
||||
<div class="description-block" style="margin-top: 0px; overflow: hidden;">
|
||||
<h5 class="description-header">Nama Mahasiswa</h5>
|
||||
<span class="description-text">{{ $data->nama}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<div class="description-block" style="margin-top: 0px; overflow: hidden;">
|
||||
<h5 class="description-header">NIM</h5>
|
||||
<span class="description-text">{{$data->nim}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
@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
|
||||
<label for="dosen_dpu">Status TTD Dosen Pembimbing Utama : {{$data->dosen_dpu_nama_gelar}} </label>
|
||||
<input type="text" name="dosen_dpu" id="dosen_dpu" class="form-control" readonly
|
||||
value="@if($data->ttd_dpu!="-")Telah TTD Pada {{ $data->ttd_dpu }} @else Belum TTD @endif">
|
||||
<label for="dosen_penguji1">Status TTD Dosen Penguji Utama : {{$data->dosen_penguji1_nama_gelar}} </label>
|
||||
<input type="text" name="dosen_penguji1" id="dosen_penguji1" class="form-control" readonly
|
||||
value="@if($data->ttd_penguji1!="-")Telah TTD Pada {{ $data->ttd_penguji1 }} @else Belum TTD @endif">
|
||||
<label for="dosen_penguji2">Status TTD Dosen Pembimbing Utama : {{$data->dosen_penguji2_nama_gelar}} </label>
|
||||
<input type="text" name="dosen_penguji2" id="dosen_penguji2" class="form-control" readonly
|
||||
value="@if($data->ttd_penguji2!="-")Telah TTD Pada {{ $data->ttd_penguji2 }} @else Belum TTD @endif">
|
||||
<label for="judul_skripsi_id">Judul Skripsi Bahasa Indonesia :</label>
|
||||
<input type="text" name="judul_skripsi_id" id="judul_skripsi_id" class="form-control" readonly value="{{ $data->judul_skripsi_id}}">
|
||||
<label for="judul_jurnal">Judul Jurnal :</label>
|
||||
<input type="text" name="judul_jurnal" id="judul_jurnal" class="form-control" readonly value="{{ $data->judul_jurnal}}">
|
||||
<label for="judul_artikel">Judul Artiekl :</label>
|
||||
<input type="text" name="judul_artikel" id="judul_artikel" class="form-control" readonly value="{{ $data->judul_artikel}}">
|
||||
<div class="mt-2">
|
||||
<label for="cetak">Cetak PDF Surat Pernyataan :</label>
|
||||
<a href="{{ route('layanan-revisipublikasi.cetak',['caseid'=>$data->caseid]) }}" class="btn btn-success" target="_blank">Klik Disini Untuk Cetak PDF</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@include('layout.navbars.footer')
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script src="{{asset('/')}}plugins/jquery/jquery.min.js"></script>
|
||||
|
||||
<script src="{{asset('/')}}plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
<script src="{{asset('/')}}dist/js/adminlte.min.js?v=3.2.0"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
99
resources/views/monitoring/sidangakhir.blade.php
Normal file
99
resources/views/monitoring/sidangakhir.blade.php
Normal file
|
@ -0,0 +1,99 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ $title }}</title>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
|
||||
<link rel="stylesheet" href="{{asset('/')}}plugins/fontawesome-free/css/all.min.css">
|
||||
<link rel="stylesheet" href="{{asset('/')}}dist/css/adminlte.min.css?v=3.2.0">
|
||||
<body class="hold-transition layout-top-nav">
|
||||
|
||||
<div class="content-wrapper">
|
||||
<div class="content-header">
|
||||
<div class="container">
|
||||
<div class="text-center">
|
||||
<h1 class="m-0"> {{ $title }}</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="container">
|
||||
<div class="card card-widget widget-user">
|
||||
<div class="widget-user-header text-white" style="background: url('{{asset('/')}}dist/img/photo1.png') center center;">
|
||||
<h5 class="widget-user-desc text-right">Monitoring</h5>
|
||||
<h3 class="widget-user-username text-right">{{$data->caseid}}</h3>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<div class="row">
|
||||
<div class="col-sm-4 border-right">
|
||||
<div class="description-block" style="margin-top: 0px; overflow: hidden;">
|
||||
<h5 class="description-header">CaseID</h5>
|
||||
<span class="description-text">{{$data->caseid}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-4 border-right">
|
||||
<div class="description-block" style="margin-top: 0px; overflow: hidden;">
|
||||
<h5 class="description-header">Nama Mahasiswa</h5>
|
||||
<span class="description-text">{{ $data->nama}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<div class="description-block" style="margin-top: 0px; overflow: hidden;">
|
||||
<h5 class="description-header">NIM</h5>
|
||||
<span class="description-text">{{$data->nim}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
@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
|
||||
<label for="dosen_dpu">Status TTD Dosen Pembimbing Utama : {{$data->dosen_dpu_nama_gelar}} </label>
|
||||
<input type="text" name="dosen_dpu" id="dosen_dpu" class="form-control" readonly
|
||||
value="@if($data->ttd_dpu!="-")Telah TTD Pada {{ $data->ttd_dpu }} @else Belum TTD @endif">
|
||||
<label for="judul_skripsi_id">Judul Skripsi Bahasa Indonesia :</label>
|
||||
<input type="text" name="judul_skripsi_id" id="judul_skripsi_id" class="form-control" readonly value="{{ $data->judul_skripsi_id}}">
|
||||
<label for="judul_skripsi_en">Judul Skripsi Bahasa Inggris :</label>
|
||||
<input type="text" name="judul_skripsi_en" id="judul_skripsi_en" class="form-control" readonly value="{{ $data->judul_skripsi_en}}">
|
||||
<label for="nilai_plagiasi">Nilai Plagiasi Turnitin (%):</label>
|
||||
<input type="text" name="nilai_plagiasi" id="nilai_plagiasi" class="form-control" readonly value="{{ $data->nilai_plagiasi}} %">
|
||||
<div class="mt-2">
|
||||
<label for="cetak">Cetak PDF Surat Pernyataan :</label>
|
||||
<a href="{{ route('layanan-sidangakhir.cetak',['caseid'=>$data->caseid]) }}" class="btn btn-success" target="_blank">Klik Disini Untuk Cetak PDF</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@include('layout.navbars.footer')
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script src="{{asset('/')}}plugins/jquery/jquery.min.js"></script>
|
||||
|
||||
<script src="{{asset('/')}}plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
<script src="{{asset('/')}}dist/js/adminlte.min.js?v=3.2.0"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
188
resources/views/monitoring/wisuda.blade.php
Normal file
188
resources/views/monitoring/wisuda.blade.php
Normal file
|
@ -0,0 +1,188 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ $title }}</title>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
|
||||
<link rel="stylesheet" href="{{asset('/')}}plugins/fontawesome-free/css/all.min.css">
|
||||
<link rel="stylesheet" href="{{asset('/')}}dist/css/adminlte.min.css?v=3.2.0">
|
||||
<body class="hold-transition layout-top-nav">
|
||||
|
||||
<div class="content-wrapper">
|
||||
<div class="content-header">
|
||||
<div class="container">
|
||||
<div class="text-center">
|
||||
<h1 class="m-0"> {{ $title }}</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="container">
|
||||
<div class="card card-widget widget-user">
|
||||
<div class="widget-user-header text-white" style="background: url('{{asset('/')}}dist/img/photo1.png') center center;">
|
||||
<h5 class="widget-user-desc text-right">Monitoring</h5>
|
||||
<h3 class="widget-user-username text-right">{{$data->caseid}}</h3>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<div class="row">
|
||||
<div class="col-sm-4 border-right">
|
||||
<div class="description-block" style="margin-top: 0px; overflow: hidden;">
|
||||
<h5 class="description-header">CaseID</h5>
|
||||
<span class="description-text">{{$data->caseid}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-4 border-right">
|
||||
<div class="description-block" style="margin-top: 0px; overflow: hidden;">
|
||||
<h5 class="description-header">Nama Mahasiswa</h5>
|
||||
<span class="description-text">{{ $data->nama}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<div class="description-block" style="margin-top: 0px; overflow: hidden;">
|
||||
<h5 class="description-header">NIM</h5>
|
||||
<span class="description-text">{{$data->nim}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
@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
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="judul_skripsi_id">Judul Skripsi :</label>
|
||||
<input type="text" name="judul_skripsi_id" id="judul_skripsi_id" class="form-control" readonly value="{{ $data->judul_skripsi_id}}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="dosen_dpu">Status TTD Dosen Pembimbing Utama : <br>{{$data->dosen_dpu_nama_gelar}} </label>
|
||||
<input type="text" name="dosen_dpu" id="dosen_dpu" class="form-control" readonly
|
||||
value="@if($data->ttd_dpu!="-")Telah TTD Pada {{ $data->ttd_dpu }} @else Belum TTD @endif">
|
||||
</div>
|
||||
<div class="col">
|
||||
<label for="dosen_dpa">Status TTD Dosen Pembimbing Akademik : <br>{{$data->dosen_dpa_nama_gelar}}</label>
|
||||
<input type="text" name="dosen_dpa" id="dosen_dpa" class="form-control" readonly
|
||||
value="@if($data->ttd_dpa!="-")Telah TTD Pada {{ $data->ttd_dpa }} @else Belum TTD @endif">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="dosen_penguji1">Status TTD Dosen Pembimbing Utama : <br>{{$data->dosen_penguji1_nama_gelar}} </label>
|
||||
<input type="text" name="dosen_penguji1" id="dosen_penguji1" class="form-control" readonly
|
||||
value="@if($data->ttd_penguji1!="-")Telah TTD Pada {{ $data->ttd_penguji1 }} @else Belum TTD @endif">
|
||||
</div>
|
||||
<div class="col">
|
||||
<label for="dosen_penguji2">Status TTD Dosen Pembimbing Utama : <br>{{$data->dosen_penguji2_nama_gelar}} </label>
|
||||
<input type="text" name="dosen_penguji2" id="dosen_penguji2" class="form-control" readonly
|
||||
value="@if($data->ttd_penguji2!="-")Telah TTD Pada {{ $data->ttd_penguji2 }} @else Belum TTD @endif">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="ttd_kalab_farmasi_klinik_dan_komunitas">Status TTD Kalab Farmasi Klinik Dan Komunitas :</label>
|
||||
<input type="text" name="ttd_kalab_farmasi_klinik_dan_komunitas" id="ttd_kalab_farmasi_klinik_dan_komunitas" class="form-control" readonly
|
||||
value="@if($data->ttd_kalab_farmasi_klinik_dan_komunitas!="-")Telah TTD Pada {{ $data->ttd_kalab_farmasi_klinik_dan_komunitas }} @else Belum TTD @endif">
|
||||
</div>
|
||||
<div class="col">
|
||||
<label for="ttd_kalab_farmakologi_dan_hewan_coba">Status TTD Kalab Farmakologi dan Hewan Coba :</label>
|
||||
<input type="text" name="ttd_kalab_farmakologi_dan_hewan_coba" id="ttd_kalab_farmakologi_dan_hewan_coba" class="form-control" readonly
|
||||
value="@if($data->ttd_kalab_farmakologi_dan_hewan_coba!="-")Telah TTD Pada {{ $data->ttd_kalab_farmakologi_dan_hewan_coba }} @else Belum TTD @endif">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="ttd_kalab_farmakognosi_dan_fitokimia">Status TTD Kalab Farmakognosi dan Fitokimia :</label>
|
||||
<input type="text" name="ttd_kalab_farmakognosi_dan_fitokimia" id="ttd_kalab_farmakognosi_dan_fitokimia" class="form-control" readonly
|
||||
value="@if($data->ttd_kalab_farmakognosi_dan_fitokimia!="-")Telah TTD Pada {{ $data->ttd_kalab_farmakognosi_dan_fitokimia }} @else Belum TTD @endif">
|
||||
</div>
|
||||
<div class="col">
|
||||
<label for="ttd_kalab_mikrobiologi_dan_bioteknologi_farmasi">Status TTD Kalab Mikrobiologi dan Bioteknologi Farmasi :</label>
|
||||
<input type="text" name="ttd_kalab_mikrobiologi_dan_bioteknologi_farmasi" id="ttd_kalab_mikrobiologi_dan_bioteknologi_farmasi" class="form-control" readonly
|
||||
value="@if($data->ttd_kalab_mikrobiologi_dan_bioteknologi_farmasi!="-")Telah TTD Pada {{ $data->ttd_kalab_mikrobiologi_dan_bioteknologi_farmasi }} @else Belum TTD @endif">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="ttd_kalab_farmasetika">Status TTD Kalab Farmasetika :</label>
|
||||
<input type="text" name="ttd_kalab_farmasetika" id="ttd_kalab_farmasetika" class="form-control" readonly
|
||||
value="@if($data->ttd_kalab_farmasetika!="-")Telah TTD Pada {{ $data->ttd_kalab_farmasetika }} @else Belum TTD @endif">
|
||||
</div>
|
||||
<div class="col">
|
||||
<label for="ttd_kalab_teknologi_farmasi">Status TTD Kalab Teknologi Farmasi :</label>
|
||||
<input type="text" name="ttd_kalab_teknologi_farmasi" id="ttd_kalab_teknologi_farmasi" class="form-control" readonly
|
||||
value="@if($data->ttd_kalab_teknologi_farmasi!="-")Telah TTD Pada {{ $data->ttd_kalab_teknologi_farmasi }} @else Belum TTD @endif">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="ttd_kalab_kimia_analisis">Status TTD Kalab Kimia Analisis :</label>
|
||||
<input type="text" name="ttd_kalab_kimia_analisis" id="ttd_kalab_kimia_analisis" class="form-control" readonly
|
||||
value="@if($data->ttd_kalab_kimia_analisis!="-")Telah TTD Pada {{ $data->ttd_kalab_kimia_analisis }} @else Belum TTD @endif">
|
||||
</div>
|
||||
<div class="col">
|
||||
<label for="ttd_kalab_kimia_medisinal">Status TTD Kalab Kimia Medisinal :</label>
|
||||
<input type="text" name="ttd_kalab_kimia_medisinal" id="ttd_kalab_kimia_medisinal" class="form-control" readonly
|
||||
value="@if($data->ttd_kalab_kimia_medisinal!="-")Telah TTD Pada {{ $data->ttd_kalab_kimia_medisinal }} @else Belum TTD @endif">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="ttd_ruang_baca">Status TTD Pj. Ruang Baca / Perpustakaan :</label>
|
||||
<input type="text" name="ttd_ruang_baca" id="ttd_ruang_baca" class="form-control" readonly
|
||||
value="@if($data->ttd_ruang_baca!="-")Telah TTD Pada {{ $data->ttd_ruang_baca }} @else Belum TTD @endif">
|
||||
</div>
|
||||
<div class="col">
|
||||
<label for="ttd_skpi">Status TTD Pj. SKPI :</label>
|
||||
<input type="text" name="ttd_skpi" id="ttd_skpi" class="form-control" readonly
|
||||
value="@if($data->ttd_skpi!="-")Telah TTD Pada {{ $data->ttd_skpi }} @else Belum TTD @endif">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="ttd_wakil_dekan_1">Status TTD Wakil Dekan 1 :</label>
|
||||
<input type="text" name="ttd_wakil_dekan_1" id="ttd_wakil_dekan_1" class="form-control" readonly
|
||||
value="@if($data->ttd_wakil_dekan_1!="-")Telah TTD Pada {{ $data->ttd_wakil_dekan_1 }} @else Belum TTD @endif">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mt-2">
|
||||
<label for="cetak">Cetak PDF Surat Pernyataan :</label>
|
||||
<a href="{{ route('layanan-wisuda.cetak',['caseid'=>$data->caseid]) }}" class="btn btn-success" target="_blank">Klik Disini Untuk Cetak PDF</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@include('layout.navbars.footer')
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script src="{{asset('/')}}plugins/jquery/jquery.min.js"></script>
|
||||
|
||||
<script src="{{asset('/')}}plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
<script src="{{asset('/')}}dist/js/adminlte.min.js?v=3.2.0"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -6,7 +6,10 @@
|
|||
use App\Http\Controllers\AdminController;
|
||||
use App\Http\Controllers\UserController;
|
||||
use App\Http\Controllers\LayananPengajuanDpuDpaController;
|
||||
use App\Http\Controllers\LayananPengajuanWisudaController;
|
||||
use App\Http\Controllers\LayananRevisiPublikasiController;
|
||||
use App\Http\Controllers\LayananSeminarProposal;
|
||||
use App\Http\Controllers\LayananSidangAkhirController;
|
||||
use App\Http\Controllers\MahasiswaController;
|
||||
use App\Http\Controllers\MonitoringController;
|
||||
use App\Http\Controllers\SesiLoginController;
|
||||
|
@ -42,10 +45,28 @@
|
|||
Route::get('/layanan-dpudpa', [LayananPengajuanDpuDpaController::class, 'index'])->name('layanan-dpudpa.index');
|
||||
Route::DELETE('/layanan-dpudpa', [LayananPengajuanDpuDpaController::class, 'destroy'])->name('layanan-dpudpa.destroy');
|
||||
Route::POST('/layanan-dpudpa', [LayananPengajuanDpuDpaController::class, 'terima'])->name('layanan-dpudpa.terima');
|
||||
Route::POST('/layanan-dpudpa/resend/{caseid}', [LayananPengajuanDpuDpaController::class, 'resend'])->name('layanan-dpudpa.resend');
|
||||
//layanan Pengajuan Seminar Proposal
|
||||
Route::get('/layanan-sempro', [LayananSeminarProposal::class, 'index'])->name('layanan-sempro.index');
|
||||
Route::DELETE('/layanan-sempro', [LayananSeminarProposal::class, 'destroy'])->name('layanan-sempro.destroy');
|
||||
Route::POST('/layanan-sempro', [LayananSeminarProposal::class, 'terima'])->name('layanan-sempro.terima');
|
||||
Route::POST('/layanan-sempro/resend/{caseid}', [LayananSeminarProposal::class, 'resend'])->name('layanan-sempro.resend');
|
||||
//layanan Pengajuan Sidang Akhir
|
||||
Route::get('/layanan-sidangakhir', [LayananSidangAkhirController::class, 'index'])->name('layanan-sidangakhir.index');
|
||||
Route::DELETE('/layanan-sidangakhir', [LayananSidangAkhirController::class, 'destroy'])->name('layanan-sidangakhir.destroy');
|
||||
Route::POST('/layanan-sidangakhir', [LayananSidangAkhirController::class, 'terima'])->name('layanan-sidangakhir.terima');
|
||||
Route::POST('/layanan-sidangakhir/resend/{caseid}', [LayananSidangAkhirController::class, 'resend'])->name('layanan-sidangakhir.resend');
|
||||
//layanan Pengajuan Revisi Publikasi
|
||||
Route::get('/layanan-revisipublikasi', [LayananRevisiPublikasiController::class, 'index'])->name('layanan-revisipublikasi.index');
|
||||
Route::DELETE('/layanan-revisipublikasi', [LayananRevisiPublikasiController::class, 'destroy'])->name('layanan-revisipublikasi.destroy');
|
||||
Route::POST('/layanan-revisipublikasi', [LayananrevisipublikasiController::class, 'terima'])->name('layanan-revisipublikasi.terima');
|
||||
Route::POST('/layanan-revisipublikasi/resend/{caseid}', [LayananRevisiPublikasiController::class, 'resend'])->name('layanan-revisipublikasi.resend');
|
||||
//layanan Pengajuan Wisuda Yudisium
|
||||
Route::get('/layanan-wisuda', [LayananPengajuanWisudaController::class, 'index'])->name('layanan-wisuda.index');
|
||||
Route::DELETE('/layanan-wisuda', [LayananPengajuanWisudaController::class, 'destroy'])->name('layanan-wisuda.destroy');
|
||||
Route::POST('/layanan-wisuda', [LayananPengajuanWisudaController::class, 'terima'])->name('layanan-wisuda.terima');
|
||||
Route::get('/layanan-wisuda/resend/', [LayananPengajuanWisudaController::class, 'resend'])->name('layanan-wisuda.resend');
|
||||
Route::POST('/layanan-wisuda/resend/', [LayananPengajuanWisudaController::class, 'resendsubmit'])->name('layanan-wisuda.resendsubmit');
|
||||
|
||||
//User
|
||||
Route::get('/users', [UserController::class, 'index'])->name('users.index');
|
||||
|
@ -80,6 +101,30 @@
|
|||
Route::get('/layanan-sempro/cetak/{caseid}', [LayananSeminarProposal::class, 'cetak'])->name('layanan-sempro.cetak');
|
||||
Route::get('/layanan-sempro/dpu/{caseid}', [LayananSeminarProposal::class, 'ettd'])->name('layanan-sempro.ettd');
|
||||
Route::POST('/layanan-sempro/dpu/{caseid}', [LayananSeminarProposal::class, 'submitettd'])->name('layanan-sempro.submitettd');
|
||||
//Layanan Pengajuan SidangAkhir
|
||||
Route::get('/layanan-sidangakhir/cari', [LayananSidangAkhirController::class, 'cari'])->name('layanan-sidangakhir.cari');
|
||||
Route::post('/layanan-sidangakhir/cari', [LayananSidangAkhirController::class, 'search'])->name('layanan-sidangakhir.search');
|
||||
Route::get('/layanan-sidangakhir/tambah', [LayananSidangAkhirController::class, 'tambah'])->name('layanan-sidangakhir.tambah');
|
||||
Route::post('/layanan-sidangakhir/tambah', [LayananSidangAkhirController::class, 'store'])->name('layanan-sidangakhir.store');
|
||||
Route::get('/layanan-sidangakhir/cetak/{caseid}', [LayananSidangAkhirController::class, 'cetak'])->name('layanan-sidangakhir.cetak');
|
||||
Route::get('/layanan-sidangakhir/dpu/{caseid}', [LayananSidangAkhirController::class, 'ettd'])->name('layanan-sidangakhir.ettd');
|
||||
Route::POST('/layanan-sidangakhir/dpu/{caseid}', [LayananSidangAkhirController::class, 'submitettd'])->name('layanan-sidangakhir.submitettd');
|
||||
//Layanan Pengajuan Revisi Publikasi
|
||||
Route::get('/layanan-revisipublikasi/cari', [LayananRevisiPublikasiController::class, 'cari'])->name('layanan-revisipublikasi.cari');
|
||||
Route::post('/layanan-revisipublikasi/cari', [LayananRevisiPublikasiController::class, 'search'])->name('layanan-revisipublikasi.search');
|
||||
Route::get('/layanan-revisipublikasi/tambah', [LayananRevisiPublikasiController::class, 'tambah'])->name('layanan-revisipublikasi.tambah');
|
||||
Route::post('/layanan-revisipublikasi/tambah', [LayananRevisiPublikasiController::class, 'store'])->name('layanan-revisipublikasi.store');
|
||||
Route::get('/layanan-revisipublikasi/cetak/{caseid}', [LayananRevisiPublikasiController::class, 'cetak'])->name('layanan-revisipublikasi.cetak');
|
||||
Route::get('/layanan-revisipublikasi/{url}/{caseid}', [LayananRevisiPublikasiController::class, 'ettd'])->name('layanan-revisipublikasi.ettd');
|
||||
Route::POST('/layanan-revisipublikasi/{url}/{caseid}', [LayananRevisiPublikasiController::class, 'submitettd'])->name('layanan-revisipublikasi.submitettd');
|
||||
//Layanan Pengajuan Syarat Wisuda
|
||||
Route::get('/layanan-wisuda/cari', [LayananPengajuanWisudaController::class, 'cari'])->name('layanan-wisuda.cari');
|
||||
Route::post('/layanan-wisuda/cari', [LayananPengajuanWisudaController::class, 'search'])->name('layanan-wisuda.search');
|
||||
Route::get('/layanan-wisuda/tambah', [LayananPengajuanWisudaController::class, 'tambah'])->name('layanan-wisuda.tambah');
|
||||
Route::post('/layanan-wisuda/tambah', [LayananPengajuanWisudaController::class, 'store'])->name('layanan-wisuda.store');
|
||||
Route::get('/layanan-wisuda/cetak/{caseid}', [LayananPengajuanWisudaController::class, 'cetak'])->name('layanan-wisuda.cetak');
|
||||
Route::get('/layanan-wisuda/{url}/{caseid}', [LayananPengajuanWisudaController::class, 'ettd'])->name('layanan-wisuda.ettd');
|
||||
Route::POST('/layanan-wisuda/{url}/{caseid}', [LayananPengajuanWisudaController::class, 'submitettd'])->name('layanan-wisuda.submitettd');
|
||||
|
||||
Route::get('/monitoring', [MonitoringController::class, 'index'])->name('monitoring.index');
|
||||
Route::post('/monitoring', [MonitoringController::class, 'search'])->name('monitoring.search');
|
||||
|
|
Loading…
Reference in New Issue
Block a user