update pemutihan
All checks were successful
Run Action to Production / run pull to sync on target message (push) Has been skipped
All checks were successful
Run Action to Production / run pull to sync on target message (push) Has been skipped
This commit is contained in:
parent
5024d3ac09
commit
16cbaa7b07
|
@ -2,16 +2,44 @@
|
||||||
|
|
||||||
namespace App\Http\Controllers;
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use App\Models\PengajuanPemutihan;
|
||||||
use App\Models\User;
|
use App\Models\User;
|
||||||
use Illuminate\Http\Request;
|
use Illuminate\Http\Request;
|
||||||
|
|
||||||
class layananPemutihanController extends Controller
|
class LayananPemutihanController extends Controller
|
||||||
{
|
{
|
||||||
|
|
||||||
|
public function index(){
|
||||||
|
$data = PengajuanPemutihan::get();
|
||||||
|
return view('layanan-pemutihan.index',['title' => 'Pengajuan Pemutihan | Admin Dashboard','data' => $data]);
|
||||||
|
}
|
||||||
|
|
||||||
public function tambah(){
|
public function tambah(){
|
||||||
$dosen = User::role('Dosen')->get();
|
$dosen = User::role('Dosen')->get();
|
||||||
|
return view('layanan-pemutihan.tambah',['title' => 'Pengajuan Pemutihan','dosen' => $dosen]);
|
||||||
return view('layanan-pemutihan.tambah',['title'=> 'Pengajuan Pemutihan Kelas','dosen'=>$dosen]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function store(Request $request){
|
||||||
|
$request->validate([
|
||||||
|
'mata_kuliah'=>'required',
|
||||||
|
'ruang_kelas'=>'required',
|
||||||
|
'jurnal_kuliah'=>'required',
|
||||||
|
'dosen_pengampu'=>'required|numeric',
|
||||||
|
'program_studi'=>'required',
|
||||||
|
'tanggal_kelas'=>'required|date',
|
||||||
|
'jam_kelas'=>'required|date_format:H:i',
|
||||||
|
'alasan'=>'required',
|
||||||
|
'bukti_pemutihan'=>'required|mimes:pdf,jpg|max:4096',
|
||||||
|
|
||||||
|
],[
|
||||||
|
'dosen.numeric' => 'Dosen tidak valid, cek kembali Dosen yang dipilih',
|
||||||
|
'tanggal_kelas.date' => 'Tanggal Tidak Valid, Cek kembali tanggal perkuliahan yang anda masukkan',
|
||||||
|
'jam_kelas.date_format' => 'Jam tidak valid, cek kembali jam perkuliahan yang anda masukkan',
|
||||||
|
'bukti_pemutihan.mimes' => 'Format File tidak berupa file JPG / PDF, cek kembali file anda',
|
||||||
|
'bukti_pemutihan.max' => 'Ukuran File Anda lebih dari 4Mb, Cek Ulang File anda',
|
||||||
|
]);
|
||||||
|
|
||||||
|
|
||||||
|
dd($request->all());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,4 +8,17 @@
|
||||||
class PengajuanPemutihan extends Model
|
class PengajuanPemutihan extends Model
|
||||||
{
|
{
|
||||||
use HasFactory;
|
use HasFactory;
|
||||||
|
|
||||||
|
protected $fillable = [
|
||||||
|
'dosen_id',
|
||||||
|
'program_studi',
|
||||||
|
'mata_kuliah',
|
||||||
|
'ruang_kelas',
|
||||||
|
'tanggal_kelas',
|
||||||
|
'jam_kelas',
|
||||||
|
'jurnal_kuliah',
|
||||||
|
'alasan',
|
||||||
|
'keterangan',
|
||||||
|
'bukti_izin_dosen',
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
namespace App\Models;
|
|
||||||
|
|
||||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
||||||
use Illuminate\Database\Eloquent\Model;
|
|
||||||
|
|
||||||
class RuangKelas extends Model
|
|
||||||
{
|
|
||||||
use HasFactory;
|
|
||||||
}
|
|
|
@ -13,6 +13,18 @@ public function up(): void
|
||||||
{
|
{
|
||||||
Schema::create('pengajuan_pemutihans', function (Blueprint $table) {
|
Schema::create('pengajuan_pemutihans', function (Blueprint $table) {
|
||||||
$table->id();
|
$table->id();
|
||||||
|
$table->string('caseid');
|
||||||
|
$table->unsignedBigInteger('dosen_id');
|
||||||
|
$table->string('program_studi');
|
||||||
|
$table->string('mata_kuliah');
|
||||||
|
$table->string('ruang_kelas');
|
||||||
|
$table->string('tanggal_kelas');
|
||||||
|
$table->string('jam_kelas');
|
||||||
|
$table->string('jurnal_kuliah');
|
||||||
|
$table->string('alasan');
|
||||||
|
$table->text('keterangan');
|
||||||
|
$table->string('bukti_izin_dosen');
|
||||||
|
$table->foreign('dosen_id')->references('id')->on('users')->onDelete('cascade');
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
<?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('ruang_kelas', function (Blueprint $table) {
|
|
||||||
$table->id();
|
|
||||||
$table->timestamps();
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Reverse the migrations.
|
|
||||||
*/
|
|
||||||
public function down(): void
|
|
||||||
{
|
|
||||||
Schema::dropIfExists('ruang_kelas');
|
|
||||||
}
|
|
||||||
};
|
|
274
resources/views/layanan-pemutihan/index.blade.php
Normal file
274
resources/views/layanan-pemutihan/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 Seminar Proposal</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 Seminar Proposal</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-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>
|
||||||
|
<span>{{$datas->caseid}}</span>
|
||||||
|
@if($datas->ttd_operator=="-")
|
||||||
|
<form action="{{ route('layanan-sempro.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-sempro.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-pemutihan.tambah')}}", '_blank');
|
||||||
|
}
|
||||||
|
},"csv", "excel", "pdf", "print", "colvis"]
|
||||||
|
}).buttons().container().appendTo('#example1_wrapper .col-md-6:eq(0)');
|
||||||
|
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
@endpush
|
||||||
|
|
|
@ -35,50 +35,52 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
<form action="{{ route('pemutihan.store') }}" method="post" enctype="multipart/form-data">
|
<form action="{{ route('layanan-pemutihan.store') }}" method="post" enctype="multipart/form-data">
|
||||||
@csrf
|
@csrf
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="form-group">
|
<label for="mata_kuliah">Nama Mata Kuliah: </label>
|
||||||
|
<input type="text" name="mata_kuliah" id="mata_kuliah" class="form-control" placeholder="Masukkan Nama Mata Kuliah..." required>
|
||||||
<label for="ruang_kelas">Nama Ruang Kelas: </label>
|
<label for="ruang_kelas">Nama Ruang Kelas: </label>
|
||||||
<input type="text" name="ruang_kelas" id="ruang_kelas" class="form-control" placeholder="Masukkan Nama Ruang Kelas">
|
<input type="text" name="ruang_kelas" id="ruang_kelas" class="form-control" placeholder="Masukkan Nama Ruang Kelas..." required>
|
||||||
<label for="ruang_kelas">Nama Mata Kuliah/Prodi: </label>
|
<label for="jurnal_kuliah">Jurnal Kuliah: </label>
|
||||||
<input type="text" name="ruang_kelas" id="ruang_kelas" class="form-control" placeholder="Masukkan Nama Ruang Kelas">
|
<input type="text" name="jurnal_kuliah" id="jurnal_kuliah" class="form-control" placeholder="Masukkan Nama Jurnal Kuliah..." required>
|
||||||
<label for="ruang_kelas">Jurnal Kuliah: </label>
|
|
||||||
<input type="text" name="ruang_kelas" id="ruang_kelas" class="form-control" placeholder="Masukkan Nama Ruang Kelas">
|
|
||||||
</div>
|
|
||||||
<!-- /.form-group -->
|
<!-- /.form-group -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="form-group">
|
|
||||||
<label for="dosen_pengampu">Dosen Pengampu Mata Kuliah: </label>
|
<label for="dosen_pengampu">Dosen Pengampu Mata Kuliah: </label>
|
||||||
<select class="form-control select2" style="width: 100%;" id="dosen_pengampu" name="dosen_pengampu">
|
<select class="form-control select2" style="width: 100%;" id="dosen_pengampu" name="dosen_pengampu" required>
|
||||||
<option selected>Pilih Dosen Pengampu Mata Kuliah: </option>
|
<option selected>Pilih Dosen Pengampu Mata Kuliah: </option>
|
||||||
@foreach ($dosen as $item)
|
@foreach ($dosen as $item)
|
||||||
<option value="{{$item->id}}" {{ old('dosen_pengampu') === $item->id ? 'selected' : '' }}>{{ $item->nama_gelar }}</option>
|
<option value="{{$item->id}}" {{ old('dosen_pengampu') === $item->id ? 'selected' : '' }}>{{ $item->nama_gelar }}</option>
|
||||||
@endforeach
|
@endforeach
|
||||||
</select>
|
</select>
|
||||||
</div>
|
<label for="program_studi">Pilih Program Studi :</label>
|
||||||
<!-- /.form-group -->
|
<select class="form-control select2" style="width: 100%;" id="program_studi" name="program_studi" required>
|
||||||
|
<option selected>Pilih Program Studi: </option>
|
||||||
|
<option value="S1 Farmasi" {{ old('program_studi') === "S1 Farmasi" ? 'selected' : '' }}>S1 Farmasi</option>
|
||||||
|
<option value="S2 Farmasi" {{ old('program_studi') === "S2 Farmasi" ? 'selected' : '' }}>S2 Farmasi</option>
|
||||||
|
<option value="PSPPA" {{ old('program_studi') === "PSPPA" ? 'selected' : '' }}>PSPPA</option>
|
||||||
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- /.row -->
|
<!-- /.row -->
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="form-group">
|
<label for="tanggal_kelas">Hari/Tanggal Perkuliahan: </label>
|
||||||
<label for="tanggal_kelas">Hari/Tanggal: </label>
|
|
||||||
<input type="date" class="form-control" required name="tanggal_kelas">
|
<input type="date" class="form-control" required name="tanggal_kelas">
|
||||||
<label for="jam_kelas">Hari/Tanggal: </label>
|
<label for="jam_kelas">Jam Perkuliahan: </label>
|
||||||
<input type="time" class="form-control" required name="jam_kelas">
|
<input type="time" class="form-control" required name="jam_kelas">
|
||||||
<label for="alasan">Alasan: </label>
|
<label for="alasan">Alasan Pemutihan: </label>
|
||||||
<textarea name="alasan" id="alasan" cols="30" rows="10" class="form-control">
|
<input type="text" class="form-control" required name="alasan" id="alasan" placeholder="Alasan Pemutihan, Contoh : Pemadaman Listrik/ Gagal Koneksi Ke jaringan/ Lain lain...">
|
||||||
|
<label for="keterangan">Keterangan: </label>
|
||||||
</textarea>
|
<textarea name="alasan" id="alasan" cols="30" rows="10" class="form-control" required placeholder="Nama mahasiswa yg Gagal Absen, Contoh:
|
||||||
<input type="text" name="ruang_kelas" id="ruang_kelas" class="form-control" placeholder="Masukkan Nama Ruang Kelas">
|
Nama - NIM
|
||||||
</div>
|
Nama - NIM"></textarea>
|
||||||
<!-- /.form-group -->
|
<label for="bukti_pemutihan">Upload Bukti Pemutihan: *(File JPG/PDF, Maks 4Mb)</label>
|
||||||
|
<input type="file" name="bukti_pemutihan" id="bukti_pemutihan" class="form-control" required>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -90,7 +90,7 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('pemutihan.tambah') }}" class="nav-link {{ Request::is('pemutihan/tambah') ? 'active' : '' }}">
|
<a href="{{ route('layanan-pemutihan.tambah') }}" class="nav-link {{ Request::is('pemutihan/tambah') ? 'active' : '' }}">
|
||||||
<i class="nav-icon fas fa-chalkboard-teacher"></i>
|
<i class="nav-icon fas fa-chalkboard-teacher"></i>
|
||||||
<p>
|
<p>
|
||||||
Pemutihan Kelas
|
Pemutihan Kelas
|
||||||
|
|
|
@ -45,6 +45,14 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-header text-bold">LAYANAN AKADEMIK</li>
|
<li class="nav-header text-bold">LAYANAN AKADEMIK</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="{{ route('layanan-pemutihan.index') }}" class="nav-link {{ Request::is('admin/layanan-pemutihan') ? 'active' : '' }}">
|
||||||
|
<i class="nav-icon fas fa-chalkboard-teacher"></i>
|
||||||
|
<p>
|
||||||
|
Pengajuan Pemutihan
|
||||||
|
</p>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('layanan-dpudpa.index') }}" class="nav-link {{ Request::is('admin/layanan-dpudpa') ? 'active' : '' }}">
|
<a href="{{ route('layanan-dpudpa.index') }}" class="nav-link {{ Request::is('admin/layanan-dpudpa') ? 'active' : '' }}">
|
||||||
<i class="nav-icon fas fa-book"></i>
|
<i class="nav-icon fas fa-book"></i>
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
|
|
||||||
|
|
||||||
use App\Http\Controllers\AdminController;
|
use App\Http\Controllers\AdminController;
|
||||||
use App\Http\Controllers\layananPemutihanController;
|
|
||||||
use App\Http\Controllers\UserController;
|
use App\Http\Controllers\UserController;
|
||||||
|
use App\Http\Controllers\LayananPemutihanController;
|
||||||
use App\Http\Controllers\LayananPengajuanDpuDpaController;
|
use App\Http\Controllers\LayananPengajuanDpuDpaController;
|
||||||
use App\Http\Controllers\LayananPengajuanWisudaController;
|
use App\Http\Controllers\LayananPengajuanWisudaController;
|
||||||
use App\Http\Controllers\LayananRevisiPublikasiController;
|
use App\Http\Controllers\LayananRevisiPublikasiController;
|
||||||
|
@ -45,6 +45,11 @@
|
||||||
Route::group(['prefix' => 'admin', 'middleware' => 'auth'], function () {
|
Route::group(['prefix' => 'admin', 'middleware' => 'auth'], function () {
|
||||||
Route::get('/', [AdminController::class, 'index'])->name('admin.dashboard');
|
Route::get('/', [AdminController::class, 'index'])->name('admin.dashboard');
|
||||||
Route::get('/logout', [SesiLoginController::class, 'logout'])->name('admin.logout');
|
Route::get('/logout', [SesiLoginController::class, 'logout'])->name('admin.logout');
|
||||||
|
//layanan Pemutihan kelas
|
||||||
|
Route::get('/layanan-pemutihan', [LayananPemutihanController::class, 'index'])->name('layanan-pemutihan.index');
|
||||||
|
Route::DELETE('/layanan-pemutihan', [LayananPemutihanController::class, 'destroy'])->name('layanan-pemutihan.destroy');
|
||||||
|
Route::POST('/layanan-pemutihan', [LayananPemutihanController::class, 'terima'])->name('layanan-pemutihan.terima');
|
||||||
|
Route::POST('/layanan-pemutihan/resend/{caseid}', [LayananPemutihanController::class, 'resend'])->name('layanan-pemutihan.resend');
|
||||||
//layanan Pengajuan DPU DPA
|
//layanan Pengajuan DPU DPA
|
||||||
Route::get('/layanan-dpudpa', [LayananPengajuanDpuDpaController::class, 'index'])->name('layanan-dpudpa.index');
|
Route::get('/layanan-dpudpa', [LayananPengajuanDpuDpaController::class, 'index'])->name('layanan-dpudpa.index');
|
||||||
Route::DELETE('/layanan-dpudpa', [LayananPengajuanDpuDpaController::class, 'destroy'])->name('layanan-dpudpa.destroy');
|
Route::DELETE('/layanan-dpudpa', [LayananPengajuanDpuDpaController::class, 'destroy'])->name('layanan-dpudpa.destroy');
|
||||||
|
@ -130,11 +135,11 @@
|
||||||
Route::get('/layanan-wisuda/{url}/{caseid}', [LayananPengajuanWisudaController::class, 'ettd'])->name('layanan-wisuda.ettd');
|
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::POST('/layanan-wisuda/{url}/{caseid}', [LayananPengajuanWisudaController::class, 'submitettd'])->name('layanan-wisuda.submitettd');
|
||||||
//Layanan Pengajuan Pemutihan
|
//Layanan Pengajuan Pemutihan
|
||||||
Route::get('/pemutihan/tambah', [layananPemutihanController::class, 'tambah'])->name('pemutihan.tambah');
|
Route::get('/pemutihan/tambah', [LayananPemutihanController::class, 'tambah'])->name('layanan-pemutihan.tambah');
|
||||||
Route::post('/pemutihan/tambah', [layananPemutihanController::class, 'store'])->name('pemutihan.store');
|
Route::post('/pemutihan/tambah', [LayananPemutihanController::class, 'store'])->name('layanan-pemutihan.store');
|
||||||
Route::get('/pemutihan/cetak/{caseid}', [layananPemutihanController::class, 'cetak'])->name('pemutihan.cetak');
|
Route::get('/pemutihan/cetak/{caseid}', [LayananPemutihanController::class, 'cetak'])->name('layanan-pemutihan.cetak');
|
||||||
Route::get('/pemutihan/{url}/{caseid}', [layananPemutihanController::class, 'ettd'])->name('pemutihan.ettd');
|
Route::get('/pemutihan/{url}/{caseid}', [LayananPemutihanController::class, 'ettd'])->name('layanan-pemutihan.ettd');
|
||||||
Route::POST('/pemutihan/{url}/{caseid}', [layananPemutihanController::class, 'submitettd'])->name('pemutihan.submitettd');
|
Route::POST('/pemutihan/{url}/{caseid}', [LayananPemutihanController::class, 'submitettd'])->name('layanan-pemutihan.submitettd');
|
||||||
|
|
||||||
Route::get('/monitoring', [MonitoringController::class, 'index'])->name('monitoring.index');
|
Route::get('/monitoring', [MonitoringController::class, 'index'])->name('monitoring.index');
|
||||||
Route::post('/monitoring', [MonitoringController::class, 'search'])->name('monitoring.search');
|
Route::post('/monitoring', [MonitoringController::class, 'search'])->name('monitoring.search');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user