Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
simpkm
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Farendi Giotivano R.P
simpkm
Commits
bf6f15ff
Commit
bf6f15ff
authored
Nov 23, 2022
by
Farendi Giotivano R.P
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mau pull malah suruh merge
parent
0258e345
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
960 additions
and
111 deletions
+960
-111
app/Http/Controllers/Dosen/KelompokController.php
+6
-2
app/Http/Controllers/Dosen/MonevController.php
+10
-4
app/Http/Controllers/Dosen/ProposalController.php
+6
-1
app/Http/Controllers/Dosen/SeleksiController.php
+12
-2
app/Http/Controllers/Mahasiswa/KelompokController.php
+5
-4
app/Http/Controllers/Mahasiswa/MonevController.php
+9
-3
app/Http/Controllers/Mahasiswa/ProposalController.php
+6
-1
app/Http/Controllers/Mahasiswa/SeleksiController.php
+14
-4
app/Http/Controllers/Operator/SelectController.php
+1
-0
app/Models/MonevInternal.php
+4
-0
app/Models/Proposal.php
+5
-0
app/Models/VDaftarMonev.php
+23
-0
public/theme/images/logo-login.png
+0
-0
resources/views/auth/login.blade.php
+2
-2
resources/views/backend/dosen/kelompok/index.blade.php
+23
-12
resources/views/backend/dosen/monev/indexmonevI.blade.php
+27
-9
resources/views/backend/dosen/monev/indexmonevII.blade.php
+27
-10
resources/views/backend/dosen/monev/indexmonevIII.blade.php
+27
-10
resources/views/backend/dosen/proposal/index.blade.php
+24
-5
resources/views/backend/dosen/seleksi/index_belmawa.blade.php
+19
-1
resources/views/backend/dosen/seleksi/index_internal.blade.php
+19
-1
resources/views/backend/mahasiswa/kelompok/index.blade.php
+20
-2
resources/views/backend/mahasiswa/monev/indexmonevI.blade.php
+27
-8
resources/views/backend/mahasiswa/monev/indexmonevII.blade.php
+27
-10
resources/views/backend/mahasiswa/monev/indexmonevIII.blade.php
+27
-9
resources/views/backend/mahasiswa/monev/upload_monev.blade.php
+7
-1
resources/views/backend/mahasiswa/proposal/index.blade.php
+19
-1
resources/views/backend/mahasiswa/seleksi/index_belmawa.blade.php
+26
-6
resources/views/backend/mahasiswa/seleksi/index_internal.blade.php
+19
-1
resources/views/backend/mahasiswa/seleksi/revisi_belmawa.blade.php
+7
-1
resources/views/backend/operator/kelompok/index.blade.php
+294
-0
resources/views/backend/operator/proposal/index.blade.php
+216
-0
resources/views/layouts/master.blade.php
+2
-1
No files found.
app/Http/Controllers/Dosen/KelompokController.php
View file @
bf6f15ff
...
@@ -21,16 +21,19 @@ class KelompokController extends Controller
...
@@ -21,16 +21,19 @@ class KelompokController extends Controller
*
*
* @return \Illuminate\Http\Response
* @return \Illuminate\Http\Response
*/
*/
public
function
index
()
public
function
index
(
Request
$request
)
{
{
//
//
$title
=
'Daftar Kelompok'
;
$title
=
'Daftar Kelompok'
;
$bio
=
auth
()
->
user
()
->
rBiodata
;
$bio
=
auth
()
->
user
()
->
rBiodata
;
$getDosen
=
GetDataApiController
::
getDosen
();
$getDosen
=
GetDataApiController
::
getDosen
();
$periode
=
Periode
::
where
(
'status'
,
1
)
->
first
();
// $periode = Periode::where('status', 1)->first();
$periode
=
Periode
::
query
()
->
get
();
$year
=
!
is_null
(
$request
->
year
)
?
$request
->
year
:
now
()
->
year
;
$kelompok
=
Kelompok
::
with
([
'rAnggota'
])
$kelompok
=
Kelompok
::
with
([
'rAnggota'
])
->
where
(
'nidn_dosen'
,
$bio
->
noidentitas
)
->
where
(
'nidn_dosen'
,
$bio
->
noidentitas
)
->
whereYear
(
'created_at'
,
$year
)
->
orderBy
(
'kode'
)
->
orderBy
(
'kode'
)
->
get
();
->
get
();
...
@@ -42,6 +45,7 @@ class KelompokController extends Controller
...
@@ -42,6 +45,7 @@ class KelompokController extends Controller
'cekKel'
=>
$cekKel
,
'cekKel'
=>
$cekKel
,
'dosen'
=>
$getDosen
[
'data'
],
'dosen'
=>
$getDosen
[
'data'
],
'periode'
=>
$periode
,
'periode'
=>
$periode
,
'year'
=>
$year
,
];
];
return
view
(
'backend.dosen.kelompok.index'
,
$data
);
return
view
(
'backend.dosen.kelompok.index'
,
$data
);
...
...
app/Http/Controllers/Dosen/MonevController.php
View file @
bf6f15ff
...
@@ -15,12 +15,14 @@ use Auth;
...
@@ -15,12 +15,14 @@ use Auth;
class
MonevController
extends
Controller
class
MonevController
extends
Controller
{
{
public
function
monev
(
$id
)
public
function
monev
(
$id
,
Request
$request
)
{
{
$bio
=
auth
()
->
user
()
->
rBiodata
;
$bio
=
auth
()
->
user
()
->
rBiodata
;
$nidn
=
$bio
->
noidentitas
;
$nidn
=
$bio
->
noidentitas
;
$periode
=
Periode
::
where
(
'status'
,
1
)
->
first
();
$periode
=
Periode
::
query
()
->
get
();
$jadwal
=
JadwalKegiatan
::
where
(
'periode_id'
,
$periode
->
periode_id
)
->
where
(
'nama'
,
'Monev Internal '
.
$id
)
->
first
();
$year
=
!
is_null
(
$request
->
year
)
?
$request
->
year
:
now
()
->
year
;
$jadwal
=
JadwalKegiatan
::
where
(
'periode_id'
,
$periode
->
where
(
'status'
,
1
)
->
first
()
->
periode_id
)
->
where
(
'nama'
,
'Monev Internal '
.
$id
)
->
first
();
$title
=
'Monev Internal '
.
$id
;
$title
=
'Monev Internal '
.
$id
;
$proposal
=
MonevInternal
::
with
([
'rProposal'
,
'rJenisMonev'
])
$proposal
=
MonevInternal
::
with
([
'rProposal'
,
'rJenisMonev'
])
...
@@ -32,6 +34,7 @@ class MonevController extends Controller
...
@@ -32,6 +34,7 @@ class MonevController extends Controller
->
whereHas
(
'rJenisMonev'
,
function
(
$query
)
use
(
$id
){
->
whereHas
(
'rJenisMonev'
,
function
(
$query
)
use
(
$id
){
$query
->
where
(
'nama'
,
'Monev Internal '
.
$id
);
$query
->
where
(
'nama'
,
'Monev Internal '
.
$id
);
})
})
->
whereYear
(
'created_at'
,
$year
)
->
orderBy
(
'created_at'
)
->
orderBy
(
'created_at'
)
->
get
();
->
get
();
...
@@ -40,6 +43,9 @@ class MonevController extends Controller
...
@@ -40,6 +43,9 @@ class MonevController extends Controller
'proposal'
=>
$proposal
,
'proposal'
=>
$proposal
,
'title'
=>
$title
,
'title'
=>
$title
,
'jadwal'
=>
$jadwal
,
'jadwal'
=>
$jadwal
,
'periode'
=>
$periode
,
'idmonev'
=>
$id
,
'year'
=>
$year
,
];
];
return
view
(
'backend.dosen.monev.indexmonev'
.
$id
,
$data
);
return
view
(
'backend.dosen.monev.indexmonev'
.
$id
,
$data
);
...
...
app/Http/Controllers/Dosen/ProposalController.php
View file @
bf6f15ff
...
@@ -24,22 +24,27 @@ class ProposalController extends Controller
...
@@ -24,22 +24,27 @@ class ProposalController extends Controller
*
*
* @return \Illuminate\Http\Response
* @return \Illuminate\Http\Response
*/
*/
public
function
index
()
public
function
index
(
Request
$request
)
{
{
//
//
$title
=
'Daftar Proposal'
;
$title
=
'Daftar Proposal'
;
$bio
=
auth
()
->
user
()
->
rBiodata
;
$bio
=
auth
()
->
user
()
->
rBiodata
;
$periode
=
Periode
::
query
()
->
get
();
$year
=
!
is_null
(
$request
->
year
)
?
$request
->
year
:
now
()
->
year
;
$proposal
=
Proposal
::
with
([
'rKelompok'
,
'rJenis'
])
$proposal
=
Proposal
::
with
([
'rKelompok'
,
'rJenis'
])
->
whereHas
(
'rKelompok'
,
function
(
$query
)
use
(
$bio
){
->
whereHas
(
'rKelompok'
,
function
(
$query
)
use
(
$bio
){
$query
->
where
(
'nidn_dosen'
,
$bio
->
noidentitas
);
$query
->
where
(
'nidn_dosen'
,
$bio
->
noidentitas
);
})
})
->
whereYear
(
'created_at'
,
$year
)
->
orderBy
(
'kelompok_id'
)
->
orderBy
(
'kelompok_id'
)
->
get
();
->
get
();
$data
=
[
$data
=
[
'proposal'
=>
$proposal
,
'proposal'
=>
$proposal
,
'title'
=>
$title
,
'title'
=>
$title
,
'periode'
=>
$periode
,
'year'
=>
$year
,
];
];
return
view
(
'backend.dosen.proposal.index'
,
$data
);
return
view
(
'backend.dosen.proposal.index'
,
$data
);
...
...
app/Http/Controllers/Dosen/SeleksiController.php
View file @
bf6f15ff
...
@@ -19,45 +19,55 @@ use Auth;
...
@@ -19,45 +19,55 @@ use Auth;
class
SeleksiController
extends
Controller
class
SeleksiController
extends
Controller
{
{
public
function
seleksiInternal
()
public
function
seleksiInternal
(
Request
$request
)
{
{
//
//
$title
=
'Seleksi Internal Mahasiswa'
;
$title
=
'Seleksi Internal Mahasiswa'
;
$bio
=
auth
()
->
user
()
->
rBiodata
;
$bio
=
auth
()
->
user
()
->
rBiodata
;
$nim
=
$bio
->
noidentitas
;
$nim
=
$bio
->
noidentitas
;
$periode
=
Periode
::
query
()
->
get
();
$year
=
!
is_null
(
$request
->
year
)
?
$request
->
year
:
now
()
->
year
;
$proposal
=
Proposal
::
with
([
'rKelompok'
,
'rJenis'
])
$proposal
=
Proposal
::
with
([
'rKelompok'
,
'rJenis'
])
->
whereHas
(
'rKelompok'
,
function
(
$query
)
use
(
$bio
){
->
whereHas
(
'rKelompok'
,
function
(
$query
)
use
(
$bio
){
$query
->
where
(
'nidn_dosen'
,
$bio
->
noidentitas
);
$query
->
where
(
'nidn_dosen'
,
$bio
->
noidentitas
);
})
})
->
whereYear
(
'created_at'
,
$year
)
->
orderBy
(
'kelompok_id'
)
->
orderBy
(
'kelompok_id'
)
->
get
();
->
get
();
$data
=
[
$data
=
[
'proposal'
=>
$proposal
,
'proposal'
=>
$proposal
,
'title'
=>
$title
,
'title'
=>
$title
,
'periode'
=>
$periode
,
'year'
=>
$year
,
];
];
return
view
(
'backend.dosen.seleksi.index_internal'
,
$data
);
return
view
(
'backend.dosen.seleksi.index_internal'
,
$data
);
}
}
public
function
seleksiBelmawa
()
public
function
seleksiBelmawa
(
Request
$request
)
{
{
//
//
$title
=
'Seleksi Belmawa Mahasiswa'
;
$title
=
'Seleksi Belmawa Mahasiswa'
;
$bio
=
auth
()
->
user
()
->
rBiodata
;
$bio
=
auth
()
->
user
()
->
rBiodata
;
$nim
=
$bio
->
noidentitas
;
$nim
=
$bio
->
noidentitas
;
$periode
=
Periode
::
query
()
->
get
();
$year
=
!
is_null
(
$request
->
year
)
?
$request
->
year
:
now
()
->
year
;
$proposal
=
Proposal
::
with
([
'rKelompok'
,
'rJenis'
])
$proposal
=
Proposal
::
with
([
'rKelompok'
,
'rJenis'
])
->
whereHas
(
'rKelompok'
,
function
(
$query
)
use
(
$bio
){
->
whereHas
(
'rKelompok'
,
function
(
$query
)
use
(
$bio
){
$query
->
where
(
'nidn_dosen'
,
$bio
->
noidentitas
);
$query
->
where
(
'nidn_dosen'
,
$bio
->
noidentitas
);
})
})
->
whereYear
(
'created_at'
,
$year
)
->
orderBy
(
'kelompok_id'
)
->
orderBy
(
'kelompok_id'
)
->
get
();
->
get
();
$data
=
[
$data
=
[
'proposal'
=>
$proposal
,
'proposal'
=>
$proposal
,
'title'
=>
$title
,
'title'
=>
$title
,
'periode'
=>
$periode
,
'year'
=>
$year
,
];
];
return
view
(
'backend.dosen.seleksi.index_belmawa'
,
$data
);
return
view
(
'backend.dosen.seleksi.index_belmawa'
,
$data
);
...
...
app/Http/Controllers/Mahasiswa/KelompokController.php
View file @
bf6f15ff
...
@@ -22,24 +22,24 @@ class KelompokController extends Controller
...
@@ -22,24 +22,24 @@ class KelompokController extends Controller
*
*
* @return \Illuminate\Http\Response
* @return \Illuminate\Http\Response
*/
*/
public
function
index
()
public
function
index
(
Request
$request
)
{
{
//
//
$title
=
'Kelompok Mahasiswa'
;
$title
=
'Kelompok Mahasiswa'
;
$bio
=
auth
()
->
user
()
->
rBiodata
;
$bio
=
auth
()
->
user
()
->
rBiodata
;
$nim
=
$bio
->
noidentitas
;
$nim
=
$bio
->
noidentitas
;
$getDosen
=
GetDataApiController
::
getDosen
();
$getDosen
=
GetDataApiController
::
getDosen
();
$periode
=
Periode
::
where
(
'status'
,
1
)
->
first
();
$periode
=
Periode
::
query
()
->
get
();
$year
=
!
is_null
(
$request
->
year
)
?
$request
->
year
:
now
()
->
year
;
$kelompok
=
Kelompok
::
with
([
'rAnggota'
])
$kelompok
=
Kelompok
::
with
([
'rAnggota'
])
->
whereHas
(
'rAnggota'
,
function
(
$query
)
use
(
$nim
){
->
whereHas
(
'rAnggota'
,
function
(
$query
)
use
(
$nim
){
$query
->
where
(
'nim'
,
$nim
);
$query
->
where
(
'nim'
,
$nim
);
})
})
->
whereYear
(
'created_at'
,
$year
)
->
orderBy
(
'kode'
)
->
orderBy
(
'kode'
)
->
get
();
->
get
();
$cekKel
=
$kelompok
->
where
(
'created_user'
,
auth
()
->
user
()
->
id
)
->
count
();
$cekKel
=
$kelompok
->
where
(
'created_user'
,
auth
()
->
user
()
->
id
)
->
count
();
// $getMhs = GetDataApiController::getAccount(20030244001);
// $getMhs = GetDataApiController::getAccount(20030244001);
...
@@ -51,6 +51,7 @@ class KelompokController extends Controller
...
@@ -51,6 +51,7 @@ class KelompokController extends Controller
'cekKel'
=>
$cekKel
,
'cekKel'
=>
$cekKel
,
'dosen'
=>
$getDosen
[
'data'
],
'dosen'
=>
$getDosen
[
'data'
],
'periode'
=>
$periode
,
'periode'
=>
$periode
,
'year'
=>
$year
,
];
];
return
view
(
'backend.mahasiswa.kelompok.index'
,
$data
);
return
view
(
'backend.mahasiswa.kelompok.index'
,
$data
);
...
...
app/Http/Controllers/Mahasiswa/MonevController.php
View file @
bf6f15ff
...
@@ -21,12 +21,14 @@ use Auth;
...
@@ -21,12 +21,14 @@ use Auth;
class
MonevController
extends
Controller
class
MonevController
extends
Controller
{
{
public
function
monev
(
$id
)
public
function
monev
(
$id
,
Request
$request
)
{
{
$bio
=
auth
()
->
user
()
->
rBiodata
;
$bio
=
auth
()
->
user
()
->
rBiodata
;
$nim
=
$bio
->
noidentitas
;
$nim
=
$bio
->
noidentitas
;
$periode
=
Periode
::
where
(
'status'
,
1
)
->
first
();
$periode
=
Periode
::
query
()
->
get
();
$jadwal
=
JadwalKegiatan
::
where
(
'periode_id'
,
$periode
->
periode_id
)
->
where
(
'nama'
,
'Monev Internal '
.
$id
)
->
first
();
$year
=
!
is_null
(
$request
->
year
)
?
$request
->
year
:
now
()
->
year
;
$jadwal
=
JadwalKegiatan
::
where
(
'periode_id'
,
$periode
->
where
(
'status'
,
1
)
->
first
()
->
periode_id
)
->
where
(
'nama'
,
'Monev Internal '
.
$id
)
->
first
();
$title
=
'Monev Internal '
.
$id
;
$title
=
'Monev Internal '
.
$id
;
$proposal
=
MonevInternal
::
with
([
'rProposal'
,
'rJenisMonev'
])
$proposal
=
MonevInternal
::
with
([
'rProposal'
,
'rJenisMonev'
])
...
@@ -40,6 +42,7 @@ class MonevController extends Controller
...
@@ -40,6 +42,7 @@ class MonevController extends Controller
->
whereHas
(
'rJenisMonev'
,
function
(
$query
)
use
(
$id
){
->
whereHas
(
'rJenisMonev'
,
function
(
$query
)
use
(
$id
){
$query
->
where
(
'nama'
,
'Monev Internal '
.
$id
);
$query
->
where
(
'nama'
,
'Monev Internal '
.
$id
);
})
})
->
whereYear
(
'created_at'
,
$year
)
->
orderBy
(
'created_at'
)
->
orderBy
(
'created_at'
)
->
get
();
->
get
();
...
@@ -48,6 +51,9 @@ class MonevController extends Controller
...
@@ -48,6 +51,9 @@ class MonevController extends Controller
'proposal'
=>
$proposal
,
'proposal'
=>
$proposal
,
'title'
=>
$title
,
'title'
=>
$title
,
'jadwal'
=>
$jadwal
,
'jadwal'
=>
$jadwal
,
'periode'
=>
$periode
,
'idmonev'
=>
$id
,
'year'
=>
$year
,
];
];
return
view
(
'backend.mahasiswa.monev.indexmonev'
.
$id
,
$data
);
return
view
(
'backend.mahasiswa.monev.indexmonev'
.
$id
,
$data
);
...
...
app/Http/Controllers/Mahasiswa/ProposalController.php
View file @
bf6f15ff
...
@@ -24,12 +24,14 @@ class ProposalController extends Controller
...
@@ -24,12 +24,14 @@ class ProposalController extends Controller
*
*
* @return \Illuminate\Http\Response
* @return \Illuminate\Http\Response
*/
*/
public
function
index
()
public
function
index
(
Request
$request
)
{
{
//
//
$title
=
'Proposal Mahasiswa'
;
$title
=
'Proposal Mahasiswa'
;
$bio
=
auth
()
->
user
()
->
rBiodata
;
$bio
=
auth
()
->
user
()
->
rBiodata
;
$nim
=
$bio
->
noidentitas
;
$nim
=
$bio
->
noidentitas
;
$periode
=
Periode
::
query
()
->
get
();
$year
=
!
is_null
(
$request
->
year
)
?
$request
->
year
:
now
()
->
year
;
$proposal
=
Proposal
::
with
([
'rKelompok'
,
'rJenis'
])
$proposal
=
Proposal
::
with
([
'rKelompok'
,
'rJenis'
])
->
whereHas
(
'rKelompok'
,
function
(
$query
)
use
(
$nim
){
->
whereHas
(
'rKelompok'
,
function
(
$query
)
use
(
$nim
){
...
@@ -37,12 +39,15 @@ class ProposalController extends Controller
...
@@ -37,12 +39,15 @@ class ProposalController extends Controller
$query
->
where
(
'nim'
,
$nim
);
$query
->
where
(
'nim'
,
$nim
);
});
});
})
})
->
whereYear
(
'created_at'
,
$year
)
->
orderBy
(
'kelompok_id'
)
->
orderBy
(
'kelompok_id'
)
->
get
();
->
get
();
$data
=
[
$data
=
[
'proposal'
=>
$proposal
,
'proposal'
=>
$proposal
,
'title'
=>
$title
,
'title'
=>
$title
,
'periode'
=>
$periode
,
'year'
=>
$year
,
];
];
return
view
(
'backend.mahasiswa.proposal.index'
,
$data
);
return
view
(
'backend.mahasiswa.proposal.index'
,
$data
);
...
...
app/Http/Controllers/Mahasiswa/SeleksiController.php
View file @
bf6f15ff
...
@@ -20,12 +20,14 @@ use Auth;
...
@@ -20,12 +20,14 @@ use Auth;
class
SeleksiController
extends
Controller
class
SeleksiController
extends
Controller
{
{
public
function
seleksiInternal
()
public
function
seleksiInternal
(
Request
$request
)
{
{
//
//
$title
=
'Seleksi Internal Mahasiswa'
;
$title
=
'Seleksi Internal Mahasiswa'
;
$bio
=
auth
()
->
user
()
->
rBiodata
;
$bio
=
auth
()
->
user
()
->
rBiodata
;
$nim
=
$bio
->
noidentitas
;
$nim
=
$bio
->
noidentitas
;
$periode
=
Periode
::
query
()
->
get
();
$year
=
!
is_null
(
$request
->
year
)
?
$request
->
year
:
now
()
->
year
;
$proposal
=
Proposal
::
with
([
'rKelompok'
,
'rJenis'
,
'rNilai'
])
$proposal
=
Proposal
::
with
([
'rKelompok'
,
'rJenis'
,
'rNilai'
])
->
whereHas
(
'rKelompok'
,
function
(
$query
)
use
(
$nim
){
->
whereHas
(
'rKelompok'
,
function
(
$query
)
use
(
$nim
){
...
@@ -33,6 +35,7 @@ class SeleksiController extends Controller
...
@@ -33,6 +35,7 @@ class SeleksiController extends Controller
$query
->
where
(
'nim'
,
$nim
);
$query
->
where
(
'nim'
,
$nim
);
});
});
})
})
->
whereYear
(
'created_at'
,
$year
)
->
orderBy
(
'kelompok_id'
)
->
orderBy
(
'kelompok_id'
)
->
get
();
->
get
();
// dd($proposal);
// dd($proposal);
...
@@ -40,6 +43,8 @@ class SeleksiController extends Controller
...
@@ -40,6 +43,8 @@ class SeleksiController extends Controller
$data
=
[
$data
=
[
'proposal'
=>
$proposal
,
'proposal'
=>
$proposal
,
'title'
=>
$title
,
'title'
=>
$title
,
'periode'
=>
$periode
,
'year'
=>
$year
,
];
];
return
view
(
'backend.mahasiswa.seleksi.index_internal'
,
$data
);
return
view
(
'backend.mahasiswa.seleksi.index_internal'
,
$data
);
...
@@ -76,25 +81,30 @@ class SeleksiController extends Controller
...
@@ -76,25 +81,30 @@ class SeleksiController extends Controller
}
}
public
function
seleksiBelmawa
()
public
function
seleksiBelmawa
(
Request
$request
)
{
{
//
//
$title
=
'Seleksi Belmawa Mahasiswa'
;
$title
=
'Seleksi Belmawa Mahasiswa'
;
$bio
=
auth
()
->
user
()
->
rBiodata
;
$bio
=
auth
()
->
user
()
->
rBiodata
;
$nim
=
$bio
->
noidentitas
;
$nim
=
$bio
->
noidentitas
;
$periode
=
Periode
::
query
()
->
get
();
$year
=
!
is_null
(
$request
->
year
)
?
$request
->
year
:
now
()
->
year
;
$proposal
=
Proposal
::
with
([
'rKelompok'
,
'rJenis'
])
$proposal
=
Proposal
::
with
([
'rKelompok'
,
'rJenis'
,
'rNilai'
])
->
whereHas
(
'rKelompok'
,
function
(
$query
)
use
(
$nim
){
->
whereHas
(
'rKelompok'
,
function
(
$query
)
use
(
$nim
){
$query
->
whereHas
(
'rAnggota'
,
function
(
$query
)
use
(
$nim
){
$query
->
whereHas
(
'rAnggota'
,
function
(
$query
)
use
(
$nim
){
$query
->
where
(
'nim'
,
$nim
);
$query
->
where
(
'nim'
,
$nim
);
});
});
})
})
->
whereYear
(
'created_at'
,
$year
)
->
orderBy
(
'kelompok_id'
)
->
orderBy
(
'kelompok_id'
)
->
get
();
->
get
();
$data
=
[
$data
=
[
'proposal'
=>
$proposal
,
'proposal'
=>
$proposal
,
'title'
=>
$title
,
'title'
=>
$title
,
'periode'
=>
$periode
,
'year'
=>
$year
,
];
];
return
view
(
'backend.mahasiswa.seleksi.index_belmawa'
,
$data
);
return
view
(
'backend.mahasiswa.seleksi.index_belmawa'
,
$data
);
...
@@ -105,7 +115,7 @@ class SeleksiController extends Controller
...
@@ -105,7 +115,7 @@ class SeleksiController extends Controller
//
//
$title
=
'Edit Proposal Belmawa'
;
$title
=
'Edit Proposal Belmawa'
;
$proposal
=
Proposal
::
with
([
'rJenis'
])
->
find
(
$id
);
$proposal
=
Proposal
::
with
([
'rJenis'
,
'rNilai'
])
->
find
(
$id
);
$data
=
[
$data
=
[
'proposal'
=>
$proposal
,
'proposal'
=>
$proposal
,
...
...
app/Http/Controllers/Operator/SelectController.php
View file @
bf6f15ff
...
@@ -5,6 +5,7 @@ namespace App\Http\Controllers\Operator;
...
@@ -5,6 +5,7 @@ namespace App\Http\Controllers\Operator;
use
App\Http\Controllers\Controller
;
use
App\Http\Controllers\Controller
;
use
Illuminate\Http\Request
;
use
Illuminate\Http\Request
;
use
App\Models\Kelompok
;
use
App\Models\Kelompok
;
use
App\Http\Controllers\GetDataApiController
;
use
Session
;
use
Session
;
...
...
app/Models/MonevInternal.php
View file @
bf6f15ff
...
@@ -52,6 +52,10 @@ class MonevInternal extends Model
...
@@ -52,6 +52,10 @@ class MonevInternal extends Model
return
$this
->
hasOne
(
VDaftarProposal
::
class
,
'proposal_id'
,
'proposal_id'
)
->
with
([
'rReviewerBio1'
,
'rReviewerBio2'
]);
return
$this
->
hasOne
(
VDaftarProposal
::
class
,
'proposal_id'
,
'proposal_id'
)
->
with
([
'rReviewerBio1'
,
'rReviewerBio2'
]);
}
}
public
function
rNilaiMonev
()
{
return
$this
->
hasOne
(
VDaftarMonev
::
class
,
'proposal_id'
,
'proposal_id'
)
->
with
([
'rReviewerBio1'
,
'rReviewerBio2'
]);
}
}
}
app/Models/Proposal.php
View file @
bf6f15ff
...
@@ -88,5 +88,10 @@ class Proposal extends Model
...
@@ -88,5 +88,10 @@ class Proposal extends Model
return
$this
->
hasOne
(
VDaftarProposal
::
class
,
'proposal_id'
,
'proposal_id'
)
->
with
([
'rReviewerBio1'
,
'rReviewerBio2'
]);
return
$this
->
hasOne
(
VDaftarProposal
::
class
,
'proposal_id'
,
'proposal_id'
)
->
with
([
'rReviewerBio1'
,
'rReviewerBio2'
]);
}
}
public
function
rNilaiMonev
()
{
return
$this
->
hasOne
(
VDaftarMonev
::
class
,
'proposal_id'
,
'proposal_id'
)
->
with
([
'rReviewerBio1'
,
'rReviewerBio2'
]);
}
}
}
app/Models/VDaftarMonev.php
0 → 100644
View file @
bf6f15ff
<?php
namespace
App\Models
;
use
Illuminate\Database\Eloquent\Model
;
class
VDaftarMonev
extends
Model
{
public
$incrementing
=
false
;
protected
$table
=
'daftar_proposal_monev'
;
public
function
rReviewerBio1
()
{
return
$this
->
hasOne
(
Reviewer
::
class
,
'reviewer_id'
,
'reviewer_id_1'
);
}
public
function
rReviewerBio2
()
{
return
$this
->
hasOne
(
Reviewer
::
class
,
'reviewer_id'
,
'reviewer_id_2'
);
}
}
public/theme/images/logo-login.png
0 → 100644
View file @
bf6f15ff
80.4 KB
resources/views/auth/login.blade.php
View file @
bf6f15ff
...
@@ -31,8 +31,8 @@
...
@@ -31,8 +31,8 @@
<div
class=
"text-primary text-center p-4"
>
<div
class=
"text-primary text-center p-4"
>
<h5
class=
"text-white font-size-20"
>
LOGIN
</h5>
<h5
class=
"text-white font-size-20"
>
LOGIN
</h5>
<p
class=
"text-white-50"
>
Sistem Informasi PKM.
</p>
<p
class=
"text-white-50"
>
Sistem Informasi PKM.
</p>
<a
href=
"
index.html
"
class=
"logo logo-admin"
>
<a
href=
"
{{ url('/') }}
"
class=
"logo logo-admin"
>
<img
src=
"
assets/images/logo-sm.png"
height=
"24
"
alt=
"logo"
>
<img
src=
"
{{ asset('theme/images/logo-login.png') }}"
height=
"66
"
alt=
"logo"
>
</a>
</a>
</div>
</div>
</div>
</div>
...
...
resources/views/backend/dosen/kelompok/index.blade.php
View file @
bf6f15ff
...
@@ -35,16 +35,25 @@
...
@@ -35,16 +35,25 @@
<div class="
col
-
12
">
<div class="
col
-
12
">
<div class="
card
">
<div class="
card
">
<div class="
card
-
body
">
<div class="
card
-
body
">
<div class="
row
col
-
mb
-
3
">
<form action="
{{
route
(
'dosen.kelompok.index'
)
}}
">
<label class="
col
-
sm
-
1
col
-
form
-
label
">Tahun : </label>
<div class="
row
">
<div class="
col
-
sm
-
2
">
<div class="
col
-
md
-
8
"></div>
<select class="
form
-
select
">
<div class="
col
-
md
-
4
text
-
right
">
<option value="
2021
">2021</option>
<div class="
row
">
<option value="
2022
">2022</option>
<label class="
col
-
sm
-
3
col
-
form
-
label
"></label>
<option value="
2023
">2023</option>
<label class="
col
-
sm
-
3
col
-
form
-
label
">Tahun : </label>
</select>
<div class="
col
-
sm
-
6
">
<select class="
form
-
select
" name="
year
" onchange="
this
.
form
.
submit
()
">
@foreach(
$periode
as
$per
)
<option value="
{{
$per
->
nama
}}
" {{
$year
==
$per->nama
? 'selected' : '' }}>{{
$per->nama
}}</option>
@endforeach
</select>
</div>
</div>
</div>
</div>
</div><br>
</div>
</form>
<br>
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<thead>
<thead>
<tr>
<tr>
...
@@ -164,11 +173,10 @@
...
@@ -164,11 +173,10 @@
<button type="
button
" class="
btn
-
close
" data-bs-dismiss="
modal
" aria-label="
Close
"></button>
<button type="
button
" class="
btn
-
close
" data-bs-dismiss="
modal
" aria-label="
Close
"></button>
</div>
</div>
<div class="
modal
-
body
">
<div class="
modal
-
body
">
<div class="
col
-
12
">
<div class="
col
-
12
">
<h5 class="
font
-
size
-
16
">Silahkan pilih dosen pembimbing : </h5>
<h5 class="
font
-
size
-
16
">Silahkan pilih dosen pembimbing : </h5>
<p>
<p>
<input type="
hidden
" name="
periode
" value="
{{
$periode
[
'periode_id'
]
}}
" >
<input type="
hidden
" name="
periode
" value="
{{
$periode
->
where
(
'status'
,
1
)
->
first
()
->
periode_id
;
}}
" >
<select class="
form
-
select
" style="
width
:
100
%
" id="
selectmodal
" name="
dosen
">
<select class="
form
-
select
" style="
width
:
100
%
" id="
selectmodal
" name="
dosen
">
<option selected>Pilih Dosen</option>
<option selected>Pilih Dosen</option>
@foreach(
$dosen
as
$item
)
@foreach(
$dosen
as
$item
)
...
@@ -224,6 +232,8 @@
...
@@ -224,6 +232,8 @@
timer
:
1500
timer
:
1500
});
});
location
.
reload
();
},
},
error
:
function
(
xhr
,
status
,
error
){
error
:
function
(
xhr
,
status
,
error
){
Swal
.
fire
({
Swal
.
fire
({
...
@@ -263,7 +273,8 @@
...
@@ -263,7 +273,8 @@
timer
:
1500
timer
:
1500
});
});
$
(
'#'
+
rowId
)
.
remove
();
location
.
reload
();
},
},
error
:
function
(
xhr
,
status
,
error
){
error
:
function
(
xhr
,
status
,
error
){
Swal
.
fire
({
Swal
.
fire
({
...
...
resources/views/backend/dosen/monev/indexmonevI.blade.php
View file @
bf6f15ff
...
@@ -33,7 +33,25 @@
...
@@ -33,7 +33,25 @@
<div class="
col
-
12
">
<div class="
col
-
12
">
<div class="
card
">
<div class="
card
">
<div class="
card
-
body
">
<div class="
card
-
body
">
<form action="
{{
route
(
'dosen.monev-index'
,
[
'id'
=>
$idmonev
])
}}
">
<div class="
row
">
<div class="
col
-
md
-
8
"></div>
<div class="
col
-
md
-
4
text
-
right
">
<div class="
row
">
<label class="
col
-
sm
-
3
col
-
form
-
label
"></label>
<label class="
col
-
sm
-
3
col
-
form
-
label
">Tahun : </label>
<div class="
col
-
sm
-
6
">
<select class="
form
-
select
" name="
year
" onchange="
this
.
form
.
submit
()
">
@foreach(
$periode
as
$per
)
<option value="
{{
$per
->
nama
}}
" {{
$year
==
$per->nama
? 'selected' : '' }}>{{
$per->nama
}}</option>
@endforeach
</select>
</div>
</div>
</div>
</div>
</form>
<br>
@if((
$jadwal->tanggal_mulai
<= Carbon\Carbon::now()) && (
$jadwal->tanggal_selesai
>= Carbon\Carbon::now()))
@if((
$jadwal->tanggal_mulai
<= Carbon\Carbon::now()) && (
$jadwal->tanggal_selesai
>= Carbon\Carbon::now()))
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<thead>
<thead>
...
@@ -111,22 +129,22 @@
...
@@ -111,22 +129,22 @@
<tr>
<tr>
<th>Nilai</th>
<th>Nilai</th>
<td>
<td>
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
->rReviewerBio1 ?
$item->rNilai
->rReviewerBio1->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
Monev
->rReviewerBio1 ?
$item->rNilaiMonev
->rReviewerBio1->nama : '' }}</h4>
<h5 class="
text
-
muted
mt
-
3
">Nilai - {{
$item->rNilai
->nilai_1 }}</h5>
<h5 class="
text
-
muted
mt
-
3
">Nilai - {{
$item->rNilai
Monev
->nilai_1 }}</h5>
</td>
</td>
<td>
<td>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
->rReviewerBio2 ?
$item->rNilai
->rReviewerBio2->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
Monev
->rReviewerBio2 ?
$item->rNilaiMonev
->rReviewerBio2->nama : '' }}</h4>
<h5 class="
text
-
primary
mt
-
3
">Nilai - {{
$item->rNilai
->nilai_2 }}</h5>
<h5 class="
text
-
primary
mt
-
3
">Nilai - {{
$item->rNilai
Monev
->nilai_2 }}</h5>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<th>Komentar</th>
<th>Komentar</th>
<td colspan="
2
">
<td colspan="
2
">
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
->rReviewerBio1 ?
$item->rNilai
->rReviewerBio1->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
Monev
->rReviewerBio1 ?
$item->rNilaiMonev
->rReviewerBio1->nama : '' }}</h4>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
->
reviewer_komentar_1
}}
"</p>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
Monev
->
reviewer_komentar_1
}}
"</p>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
->rReviewerBio2 ?
$item->rNilai
->rReviewerBio2->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
Monev
->rReviewerBio2 ?
$item->rNilaiMonev
->rReviewerBio2->nama : '' }}</h4>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
->
reviewer_komentar_2
}}
"</p>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
Monev
->
reviewer_komentar_2
}}
"</p>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
...
resources/views/backend/dosen/monev/indexmonevII.blade.php
View file @
bf6f15ff
...
@@ -33,9 +33,26 @@
...
@@ -33,9 +33,26 @@
<div class="
col
-
12
">
<div class="
col
-
12
">
<div class="
card
">
<div class="
card
">
<div class="
card
-
body
">
<div class="
card
-
body
">
<form action="
{{
route
(
'dosen.monev-index'
,
[
'id'
=>
$idmonev
])
}}
">
<div class="
row
">
<div class="
col
-
md
-
8
"></div>
<div class="
col
-
md
-
4
text
-
right
">
<div class="
row
">
<label class="
col
-
sm
-
3
col
-
form
-
label
"></label>
<label class="
col
-
sm
-
3
col
-
form
-
label
">Tahun : </label>
<div class="
col
-
sm
-
6
">
<select class="
form
-
select
" name="
year
" onchange="
this
.
form
.
submit
()
">
@foreach(
$periode
as
$per
)
<option value="
{{
$per
->
nama
}}
" {{
$year
==
$per->nama
? 'selected' : '' }}>{{
$per->nama
}}</option>
@endforeach
</select>
</div>
</div>
</div>
</div>
</form>
<br>
@if((
$jadwal->tanggal_mulai
<= Carbon\Carbon::now()) && (
$jadwal->tanggal_selesai
>= Carbon\Carbon::now()))
@if((
$jadwal->tanggal_mulai
<= Carbon\Carbon::now()) && (
$jadwal->tanggal_selesai
>= Carbon\Carbon::now()))
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<thead>
<thead>
<tr>
<tr>
...
@@ -112,22 +129,22 @@
...
@@ -112,22 +129,22 @@
<tr>
<tr>
<th>Nilai</th>
<th>Nilai</th>
<td>
<td>
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
->rReviewerBio1 ?
$item->rNilai
->rReviewerBio1->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
Monev
->rReviewerBio1 ?
$item->rNilaiMonev
->rReviewerBio1->nama : '' }}</h4>
<h5 class="
text
-
muted
mt
-
3
">Nilai - {{
$item->rNilai
->nilai_1 }}</h5>
<h5 class="
text
-
muted
mt
-
3
">Nilai - {{
$item->rNilai
Monev
->nilai_1 }}</h5>
</td>
</td>
<td>
<td>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
->rReviewerBio2 ?
$item->rNilai
->rReviewerBio2->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
Monev
->rReviewerBio2 ?
$item->rNilaiMonev
->rReviewerBio2->nama : '' }}</h4>
<h5 class="
text
-
primary
mt
-
3
">Nilai - {{
$item->rNilai
->nilai_2 }}</h5>
<h5 class="
text
-
primary
mt
-
3
">Nilai - {{
$item->rNilai
Monev
->nilai_2 }}</h5>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<th>Komentar</th>
<th>Komentar</th>
<td colspan="
2
">
<td colspan="
2
">
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
->rReviewerBio1 ?
$item->rNilai
->rReviewerBio1->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
Monev
->rReviewerBio1 ?
$item->rNilaiMonev
->rReviewerBio1->nama : '' }}</h4>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
->
reviewer_komentar_1
}}
"</p>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
Monev
->
reviewer_komentar_1
}}
"</p>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
->rReviewerBio2 ?
$item->rNilai
->rReviewerBio2->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
Monev
->rReviewerBio2 ?
$item->rNilaiMonev
->rReviewerBio2->nama : '' }}</h4>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
->
reviewer_komentar_2
}}
"</p>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
Monev
->
reviewer_komentar_2
}}
"</p>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
...
resources/views/backend/dosen/monev/indexmonevIII.blade.php
View file @
bf6f15ff
...
@@ -33,9 +33,26 @@
...
@@ -33,9 +33,26 @@
<div class="
col
-
12
">
<div class="
col
-
12
">
<div class="
card
">
<div class="
card
">
<div class="
card
-
body
">
<div class="
card
-
body
">
<form action="
{{
route
(
'dosen.monev-index'
,
[
'id'
=>
$idmonev
])
}}
">
<div class="
row
">
<div class="
col
-
md
-
8
"></div>
<div class="
col
-
md
-
4
text
-
right
">
<div class="
row
">
<label class="
col
-
sm
-
3
col
-
form
-
label
"></label>
<label class="
col
-
sm
-
3
col
-
form
-
label
">Tahun : </label>
<div class="
col
-
sm
-
6
">
<select class="
form
-
select
" name="
year
" onchange="
this
.
form
.
submit
()
">
@foreach(
$periode
as
$per
)
<option value="
{{
$per
->
nama
}}
" {{
$year
==
$per->nama
? 'selected' : '' }}>{{
$per->nama
}}</option>
@endforeach
</select>
</div>
</div>
</div>
</div>
</form>
<br>
@if((
$jadwal->tanggal_mulai
<= Carbon\Carbon::now()) && (
$jadwal->tanggal_selesai
>= Carbon\Carbon::now()))
@if((
$jadwal->tanggal_mulai
<= Carbon\Carbon::now()) && (
$jadwal->tanggal_selesai
>= Carbon\Carbon::now()))
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<thead>
<thead>
<tr>
<tr>
...
@@ -116,22 +133,22 @@
...
@@ -116,22 +133,22 @@
<tr>
<tr>
<th>Nilai</th>
<th>Nilai</th>
<td>
<td>
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
->rReviewerBio1 ?
$item->rNilai
->rReviewerBio1->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
Monev
->rReviewerBio1 ?
$item->rNilaiMonev
->rReviewerBio1->nama : '' }}</h4>
<h5 class="
text
-
muted
mt
-
3
">Nilai - {{
$item->rNilai
->nilai_1 }}</h5>
<h5 class="
text
-
muted
mt
-
3
">Nilai - {{
$item->rNilai
Monev
->nilai_1 }}</h5>
</td>
</td>
<td>
<td>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
->rReviewerBio2 ?
$item->rNilai
->rReviewerBio2->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
Monev
->rReviewerBio2 ?
$item->rNilaiMonev
->rReviewerBio2->nama : '' }}</h4>
<h5 class="
text
-
primary
mt
-
3
">Nilai - {{
$item->rNilai
->nilai_2 }}</h5>
<h5 class="
text
-
primary
mt
-
3
">Nilai - {{
$item->rNilai
Monev
->nilai_2 }}</h5>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<th>Komentar</th>
<th>Komentar</th>
<td colspan="
2
">
<td colspan="
2
">
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
->rReviewerBio1 ?
$item->rNilai
->rReviewerBio1->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
Monev
->rReviewerBio1 ?
$item->rNilaiMonev
->rReviewerBio1->nama : '' }}</h4>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
->
reviewer_komentar_1
}}
"</p>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
Monev
->
reviewer_komentar_1
}}
"</p>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
->rReviewerBio2 ?
$item->rNilai
->rReviewerBio2->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
Monev
->rReviewerBio2 ?
$item->rNilaiMonev
->rReviewerBio2->nama : '' }}</h4>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
->
reviewer_komentar_2
}}
"</p>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
Monev
->
reviewer_komentar_2
}}
"</p>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
...
resources/views/backend/dosen/proposal/index.blade.php
View file @
bf6f15ff
...
@@ -23,8 +23,6 @@
...
@@ -23,8 +23,6 @@
</div>
</div>
<div class="
col
-
md
-
4
">
<div class="
col
-
md
-
4
">
<div class="
float
-
end
d
-
none
d
-
md
-
block
">
<div class="
float
-
end
d
-
none
d
-
md
-
block
">
<a href="
{{
URL
::
to
(
'mahasiswa/proposal/create'
)
}}
" type="
button
" class="
btn
btn
-
primary
waves
-
effect
waves
-
light
"> <i class="
fas
fa
-
plus
-
circle
"></i> Tambah Data</a>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -36,7 +34,25 @@
...
@@ -36,7 +34,25 @@
<div class="
col
-
12
">
<div class="
col
-
12
">
<div class="
card
">
<div class="
card
">
<div class="
card
-
body
">
<div class="
card
-
body
">
<form action="
{{
route
(
'dosen.proposal.index'
)
}}
">
<div class="
row
">
<div class="
col
-
md
-
8
"></div>
<div class="
col
-
md
-
4
text
-
right
">
<div class="
row
">
<label class="
col
-
sm
-
3
col
-
form
-
label
"></label>
<label class="
col
-
sm
-
3
col
-
form
-
label
">Tahun : </label>
<div class="
col
-
sm
-
6
">
<select class="
form
-
select
" name="
year
" onchange="
this
.
form
.
submit
()
">
@foreach(
$periode
as
$per
)
<option value="
{{
$per
->
nama
}}
" {{
$year
==
$per->nama
? 'selected' : '' }}>{{
$per->nama
}}</option>
@endforeach
</select>
</div>
</div>
</div>
</div>
</form>
<br>
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<thead>
<thead>
<tr>
<tr>
...
@@ -66,7 +82,8 @@
...
@@ -66,7 +82,8 @@
<strong> Keterangan : </strong> <br>
<strong> Keterangan : </strong> <br>
Upload proposal pada : -<br>
Upload proposal pada : -<br>
Disetujui proposal pada : -<br>
Disetujui proposal pada : -<br>
@if(
$item->status
== '1')
@else
@if(
$item->status
== '2')
<span class="
badge
bg
-
success
">Sudah Disetujui Dosen</span> <br>
<span class="
badge
bg
-
success
">Sudah Disetujui Dosen</span> <br>
<strong> Keterangan : </strong> <br>
<strong> Keterangan : </strong> <br>
Upload proposal pada : <h6 class="
text
-
primary
"> {{
$item->date_upload
}} </h6>
Upload proposal pada : <h6 class="
text
-
primary
"> {{
$item->date_upload
}} </h6>
...
@@ -82,7 +99,7 @@
...
@@ -82,7 +99,7 @@
<td>
<td>
<button data-bs-toggle="
modal
" data-bs-target="
{{
'#lihat'
.
$item
->
proposal_id
}}
" href="
{{
URL
::
to
(
'mahasiswa/kelompok-new'
,
encrypt
(
$item
->
proposal_id
))
}}
" class="
btn
btn
-
info
btn
-
sm
"><i class="
far
fa
-
eye
"></i> Lihat</button>
<button data-bs-toggle="
modal
" data-bs-target="
{{
'#lihat'
.
$item
->
proposal_id
}}
" href="
{{
URL
::
to
(
'mahasiswa/kelompok-new'
,
encrypt
(
$item
->
proposal_id
))
}}
" class="
btn
btn
-
info
btn
-
sm
"><i class="
far
fa
-
eye
"></i> Lihat</button>
@if(
$item->
upload_dokumen
)
@if(
$item->
status
== '0'
)
<a onclick="
setuju
(
'{{ encrypt($item->proposal_id) }}'
,
'row-{{ $token }}'
)
" class="
btn
btn
-
success
btn
-
sm
"><i class="
fas
fa
-
check
"></i> Setuju</a>
<a onclick="
setuju
(
'{{ encrypt($item->proposal_id) }}'
,
'row-{{ $token }}'
)
" class="
btn
btn
-
success
btn
-
sm
"><i class="
fas
fa
-
check
"></i> Setuju</a>
@endif
@endif
...
@@ -179,6 +196,8 @@ function setuju(id, rowId){
...
@@ -179,6 +196,8 @@ function setuju(id, rowId){
timer: 1500
timer: 1500
});
});
location.reload();
},
},
error: function(xhr, status, error){
error: function(xhr, status, error){
Swal.fire({
Swal.fire({
...
...
resources/views/backend/dosen/seleksi/index_belmawa.blade.php
View file @
bf6f15ff
...
@@ -35,7 +35,25 @@
...
@@ -35,7 +35,25 @@
<div class="
col
-
12
">
<div class="
col
-
12
">
<div class="
card
">
<div class="
card
">
<div class="
card
-
body
">
<div class="
card
-
body
">
<form action="
{{
route
(
'dosen.seleksi-belmawa'
)
}}
">
<div class="
row
">
<div class="
col
-
md
-
8
"></div>
<div class="
col
-
md
-
4
text
-
right
">
<div class="
row
">
<label class="
col
-
sm
-
3
col
-
form
-
label
"></label>
<label class="
col
-
sm
-
3
col
-
form
-
label
">Tahun : </label>
<div class="
col
-
sm
-
6
">
<select class="
form
-
select
" name="
year
" onchange="
this
.
form
.
submit
()
">
@foreach(
$periode
as
$per
)
<option value="
{{
$per
->
nama
}}
" {{
$year
==
$per->nama
? 'selected' : '' }}>{{
$per->nama
}}</option>
@endforeach
</select>
</div>
</div>
</div>
</div>
</form>
<br>
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<thead>
<thead>
<tr>
<tr>
...
...
resources/views/backend/dosen/seleksi/index_internal.blade.php
View file @
bf6f15ff
...
@@ -35,7 +35,25 @@
...
@@ -35,7 +35,25 @@
<div class="
col
-
12
">
<div class="
col
-
12
">
<div class="
card
">
<div class="
card
">
<div class="
card
-
body
">
<div class="
card
-
body
">
<form action="
{{
route
(
'dosen.seleksi-internal'
)
}}
">
<div class="
row
">
<div class="
col
-
md
-
8
"></div>
<div class="
col
-
md
-
4
text
-
right
">
<div class="
row
">
<label class="
col
-
sm
-
3
col
-
form
-
label
"></label>
<label class="
col
-
sm
-
3
col
-
form
-
label
">Tahun : </label>
<div class="
col
-
sm
-
6
">
<select class="
form
-
select
" name="
year
" onchange="
this
.
form
.
submit
()
">
@foreach(
$periode
as
$per
)
<option value="
{{
$per
->
nama
}}
" {{
$year
==
$per->nama
? 'selected' : '' }}>{{
$per->nama
}}</option>
@endforeach
</select>
</div>
</div>
</div>
</div>
</form>
<br>
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<thead>
<thead>
<tr>
<tr>
...
...
resources/views/backend/mahasiswa/kelompok/index.blade.php
View file @
bf6f15ff
...
@@ -37,7 +37,25 @@
...
@@ -37,7 +37,25 @@
<div class="
col
-
12
">
<div class="
col
-
12
">
<div class="
card
">
<div class="
card
">
<div class="
card
-
body
">
<div class="
card
-
body
">
<form action="
{{
route
(
'mahasiswa.kelompok.index'
)
}}
">
<div class="
row
">
<div class="
col
-
md
-
8
"></div>
<div class="
col
-
md
-
4
text
-
right
">
<div class="
row
">
<label class="
col
-
sm
-
3
col
-
form
-
label
"></label>
<label class="
col
-
sm
-
3
col
-
form
-
label
">Tahun : </label>
<div class="
col
-
sm
-
6
">
<select class="
form
-
select
" name="
year
" onchange="
this
.
form
.
submit
()
">
@foreach(
$periode
as
$per
)
<option value="
{{
$per
->
nama
}}
" {{
$year
==
$per->nama
? 'selected' : '' }}>{{
$per->nama
}}</option>
@endforeach
</select>
</div>
</div>
</div>
</div>
</form>
<br>
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<thead>
<thead>
<tr>
<tr>
...
@@ -155,7 +173,7 @@
...
@@ -155,7 +173,7 @@
<div class="
col
-
12
">
<div class="
col
-
12
">
<h5 class="
font
-
size
-
16
">Silahkan pilih dosen pembimbing : </h5>
<h5 class="
font
-
size
-
16
">Silahkan pilih dosen pembimbing : </h5>
<p>
<p>
<input type="
hidden
" name="
periode
" value="
{{
$periode
[
'periode_id'
]
}}
" >
<input type="
hidden
" name="
periode
" value="
{{
$periode
->
where
(
'status'
,
1
)
->
first
()
->
periode_id
;
}}
" >
<select class="
form
-
select
" style="
width
:
100
%
" id="
selectmodal
" name="
dosen
">
<select class="
form
-
select
" style="
width
:
100
%
" id="
selectmodal
" name="
dosen
">
<option selected>Pilih Dosen</option>
<option selected>Pilih Dosen</option>
@foreach(
$dosen
as
$item
)
@foreach(
$dosen
as
$item
)
...
...
resources/views/backend/mahasiswa/monev/indexmonevI.blade.php
View file @
bf6f15ff
...
@@ -33,6 +33,25 @@
...
@@ -33,6 +33,25 @@
<div class="
col
-
12
">
<div class="
col
-
12
">
<div class="
card
">
<div class="
card
">
<div class="
card
-
body
">
<div class="
card
-
body
">
<form action="
{{
route
(
'mahasiswa.monev-index'
,
[
'id'
=>
$idmonev
])
}}
">
<div class="
row
">
<div class="
col
-
md
-
8
"></div>
<div class="
col
-
md
-
4
text
-
right
">
<div class="
row
">
<label class="
col
-
sm
-
3
col
-
form
-
label
"></label>
<label class="
col
-
sm
-
3
col
-
form
-
label
">Tahun : </label>
<div class="
col
-
sm
-
6
">
<select class="
form
-
select
" name="
year
" onchange="
this
.
form
.
submit
()
">
@foreach(
$periode
as
$per
)
<option value="
{{
$per
->
nama
}}
" {{
$year
==
$per->nama
? 'selected' : '' }}>{{
$per->nama
}}</option>
@endforeach
</select>
</div>
</div>
</div>
</div>
</form>
<br>
@if((
$jadwal->tanggal_mulai
<= Carbon\Carbon::now()) && (
$jadwal->tanggal_selesai
>= Carbon\Carbon::now()))
@if((
$jadwal->tanggal_mulai
<= Carbon\Carbon::now()) && (
$jadwal->tanggal_selesai
>= Carbon\Carbon::now()))
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<thead>
<thead>
...
@@ -113,22 +132,22 @@
...
@@ -113,22 +132,22 @@
<tr>
<tr>
<th>Nilai</th>
<th>Nilai</th>
<td>
<td>
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
->rReviewerBio1 ?
$item->rNilai
->rReviewerBio1->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
Monev
->rReviewerBio1 ?
$item->rNilaiMonev
->rReviewerBio1->nama : '' }}</h4>
<h5 class="
text
-
muted
mt
-
3
">Nilai - {{
$item->rNilai
->nilai_1 }}</h5>
<h5 class="
text
-
muted
mt
-
3
">Nilai - {{
$item->rNilai
Monev
->nilai_1 }}</h5>
</td>
</td>
<td>
<td>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
->rReviewerBio2 ?
$item->rNilai
->rReviewerBio2->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
Monev
->rReviewerBio2 ?
$item->rNilaiMonev
->rReviewerBio2->nama : '' }}</h4>
<h5 class="
text
-
primary
mt
-
3
">Nilai - {{
$item->rNilai
->nilai_2 }}</h5>
<h5 class="
text
-
primary
mt
-
3
">Nilai - {{
$item->rNilai
Monev
->nilai_2 }}</h5>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<th>Komentar</th>
<th>Komentar</th>
<td colspan="
2
">
<td colspan="
2
">
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
->rReviewerBio1 ?
$item->rNilai
->rReviewerBio1->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
Monev
->rReviewerBio1 ?
$item->rNilaiMonev
->rReviewerBio1->nama : '' }}</h4>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
->
reviewer_komentar_1
}}
"</p>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
Monev
->
reviewer_komentar_1
}}
"</p>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
->rReviewerBio2 ?
$item->rNilai
->rReviewerBio2->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
Monev
->rReviewerBio2 ?
$item->rNilaiMonev
->rReviewerBio2->nama : '' }}</h4>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
->
reviewer_komentar_2
}}
"</p>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
Monev
->
reviewer_komentar_2
}}
"</p>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
...
resources/views/backend/mahasiswa/monev/indexmonevII.blade.php
View file @
bf6f15ff
...
@@ -33,9 +33,26 @@
...
@@ -33,9 +33,26 @@
<div class="
col
-
12
">
<div class="
col
-
12
">
<div class="
card
">
<div class="
card
">
<div class="
card
-
body
">
<div class="
card
-
body
">
<form action="
{{
route
(
'mahasiswa.monev-index'
,
[
'id'
=>
$idmonev
])
}}
">
<div class="
row
">
<div class="
col
-
md
-
8
"></div>
<div class="
col
-
md
-
4
text
-
right
">
<div class="
row
">
<label class="
col
-
sm
-
3
col
-
form
-
label
"></label>
<label class="
col
-
sm
-
3
col
-
form
-
label
">Tahun : </label>
<div class="
col
-
sm
-
6
">
<select class="
form
-
select
" name="
year
" onchange="
this
.
form
.
submit
()
">
@foreach(
$periode
as
$per
)
<option value="
{{
$per
->
nama
}}
" {{
$year
==
$per->nama
? 'selected' : '' }}>{{
$per->nama
}}</option>
@endforeach
</select>
</div>
</div>
</div>
</div>
</form>
<br>
@if((
$jadwal->tanggal_mulai
<= Carbon\Carbon::now()) && (
$jadwal->tanggal_selesai
>= Carbon\Carbon::now()))
@if((
$jadwal->tanggal_mulai
<= Carbon\Carbon::now()) && (
$jadwal->tanggal_selesai
>= Carbon\Carbon::now()))
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<thead>
<thead>
<tr>
<tr>
...
@@ -115,22 +132,22 @@
...
@@ -115,22 +132,22 @@
<tr>
<tr>
<th>Nilai</th>
<th>Nilai</th>
<td>
<td>
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
->rReviewerBio1 ?
$item->rNilai
->rReviewerBio1->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
Monev
->rReviewerBio1 ?
$item->rNilaiMonev
->rReviewerBio1->nama : '' }}</h4>
<h5 class="
text
-
muted
mt
-
3
">Nilai - {{
$item->rNilai
->nilai_1 }}</h5>
<h5 class="
text
-
muted
mt
-
3
">Nilai - {{
$item->rNilai
Monev
->nilai_1 }}</h5>
</td>
</td>
<td>
<td>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
->rReviewerBio2 ?
$item->rNilai
->rReviewerBio2->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
Monev
->rReviewerBio2 ?
$item->rNilaiMonev
->rReviewerBio2->nama : '' }}</h4>
<h5 class="
text
-
primary
mt
-
3
">Nilai - {{
$item->rNilai
->nilai_2 }}</h5>
<h5 class="
text
-
primary
mt
-
3
">Nilai - {{
$item->rNilai
Monev
->nilai_2 }}</h5>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<th>Komentar</th>
<th>Komentar</th>
<td colspan="
2
">
<td colspan="
2
">
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
->rReviewerBio1 ?
$item->rNilai
->rReviewerBio1->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
Monev
->rReviewerBio1 ?
$item->rNilaiMonev
->rReviewerBio1->nama : '' }}</h4>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
->
reviewer_komentar_1
}}
"</p>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
Monev
->
reviewer_komentar_1
}}
"</p>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
->rReviewerBio2 ?
$item->rNilai
->rReviewerBio2->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
Monev
->rReviewerBio2 ?
$item->rNilaiMonev
->rReviewerBio2->nama : '' }}</h4>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
->
reviewer_komentar_2
}}
"</p>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
Monev
->
reviewer_komentar_2
}}
"</p>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
...
resources/views/backend/mahasiswa/monev/indexmonevIII.blade.php
View file @
bf6f15ff
...
@@ -33,8 +33,26 @@
...
@@ -33,8 +33,26 @@
<div class="
col
-
12
">
<div class="
col
-
12
">
<div class="
card
">
<div class="
card
">
<div class="
card
-
body
">
<div class="
card
-
body
">
<form action="
{{
route
(
'mahasiswa.monev-index'
,
[
'id'
=>
$idmonev
])
}}
">
<div class="
row
">
<div class="
col
-
md
-
8
"></div>
<div class="
col
-
md
-
4
text
-
right
">
<div class="
row
">
<label class="
col
-
sm
-
3
col
-
form
-
label
"></label>
<label class="
col
-
sm
-
3
col
-
form
-
label
">Tahun : </label>
<div class="
col
-
sm
-
6
">
<select class="
form
-
select
" name="
year
" onchange="
this
.
form
.
submit
()
">
@foreach(
$periode
as
$per
)
<option value="
{{
$per
->
nama
}}
" {{
$year
==
$per->nama
? 'selected' : '' }}>{{
$per->nama
}}</option>
@endforeach
</select>
</div>
</div>
</div>
</div>
</form>
<br>
@if((
$jadwal->tanggal_mulai
<= Carbon\Carbon::now()) && (
$jadwal->tanggal_selesai
>= Carbon\Carbon::now()))
@if((
$jadwal->tanggal_mulai
<= Carbon\Carbon::now()) && (
$jadwal->tanggal_selesai
>= Carbon\Carbon::now()))
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<thead>
<thead>
<tr>
<tr>
...
@@ -122,22 +140,22 @@
...
@@ -122,22 +140,22 @@
<tr>
<tr>
<th>Nilai</th>
<th>Nilai</th>
<td>
<td>
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
->rReviewerBio1 ?
$item->rNilai
->rReviewerBio1->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
Monev
->rReviewerBio1 ?
$item->rNilaiMonev
->rReviewerBio1->nama : '' }}</h4>
<h5 class="
text
-
muted
mt
-
3
">Nilai - {{
$item->rNilai
->nilai_1 }}</h5>
<h5 class="
text
-
muted
mt
-
3
">Nilai - {{
$item->rNilai
Monev
->nilai_1 }}</h5>
</td>
</td>
<td>
<td>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
->rReviewerBio2 ?
$item->rNilai
->rReviewerBio2->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
Monev
->rReviewerBio2 ?
$item->rNilaiMonev
->rReviewerBio2->nama : '' }}</h4>
<h5 class="
text
-
primary
mt
-
3
">Nilai - {{
$item->rNilai
->nilai_2 }}</h5>
<h5 class="
text
-
primary
mt
-
3
">Nilai - {{
$item->rNilai
Monev
->nilai_2 }}</h5>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<th>Komentar</th>
<th>Komentar</th>
<td colspan="
2
">
<td colspan="
2
">
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
->rReviewerBio1 ?
$item->rNilai
->rReviewerBio1->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilai
Monev
->rReviewerBio1 ?
$item->rNilaiMonev
->rReviewerBio1->nama : '' }}</h4>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
->
reviewer_komentar_1
}}
"</p>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
Monev
->
reviewer_komentar_1
}}
"</p>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
->rReviewerBio2 ?
$item->rNilai
->rReviewerBio2->nama : '' }}</h4>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilai
Monev
->rReviewerBio2 ?
$item->rNilaiMonev
->rReviewerBio2->nama : '' }}</h4>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
->
reviewer_komentar_2
}}
"</p>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilai
Monev
->
reviewer_komentar_2
}}
"</p>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
...
resources/views/backend/mahasiswa/monev/upload_monev.blade.php
View file @
bf6f15ff
...
@@ -46,7 +46,13 @@
...
@@ -46,7 +46,13 @@
</div>
</div>
<div class="
row
mb
-
3
">
<div class="
row
mb
-
3
">
<label class="
col
-
sm
-
2
col
-
form
-
label
">Komentar Review</label>
<label class="
col
-
sm
-
2
col
-
form
-
label
">Komentar Review</label>
<label class="
col
-
sm
-
10
col
-
form
-
label
"></label>
<label class="
col
-
sm
-
10
col
-
form
-
label
">
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$item->rNilaiMonev
->rReviewerBio1 ?
$item->rNilaiMonev
->rReviewerBio1->nama : '' }}</h4>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilaiMonev
->
reviewer_komentar_1
}}
"</p>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$item->rNilaiMonev
->rReviewerBio2 ?
$item->rNilaiMonev
->rReviewerBio2->nama : '' }}</h4>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$item
->
rNilaiMonev
->
reviewer_komentar_2
}}
"</p>
</label>
</div>
</div>
<div class="
row
mb
-
3
" class="
dropzone
">
<div class="
row
mb
-
3
" class="
dropzone
">
<label for="
kode
" class="
col
-
sm
-
2
col
-
form
-
label
">Upload Revisi Proposal</label>
<label for="
kode
" class="
col
-
sm
-
2
col
-
form
-
label
">Upload Revisi Proposal</label>
...
...
resources/views/backend/mahasiswa/proposal/index.blade.php
View file @
bf6f15ff
...
@@ -35,7 +35,25 @@
...
@@ -35,7 +35,25 @@
<div class="
col
-
12
">
<div class="
col
-
12
">
<div class="
card
">
<div class="
card
">
<div class="
card
-
body
">
<div class="
card
-
body
">
<form action="
{{
route
(
'mahasiswa.proposal.index'
)
}}
">
<div class="
row
">
<div class="
col
-
md
-
8
"></div>
<div class="
col
-
md
-
4
text
-
right
">
<div class="
row
">
<label class="
col
-
sm
-
3
col
-
form
-
label
"></label>
<label class="
col
-
sm
-
3
col
-
form
-
label
">Tahun : </label>
<div class="
col
-
sm
-
6
">
<select class="
form
-
select
" name="
year
" onchange="
this
.
form
.
submit
()
">
@foreach(
$periode
as
$per
)
<option value="
{{
$per
->
nama
}}
" {{
$year
==
$per->nama
? 'selected' : '' }}>{{
$per->nama
}}</option>
@endforeach
</select>
</div>
</div>
</div>
</div>
</form>
<br>
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<thead>
<thead>
<tr>
<tr>
...
...
resources/views/backend/mahasiswa/seleksi/index_belmawa.blade.php
View file @
bf6f15ff
...
@@ -35,7 +35,25 @@
...
@@ -35,7 +35,25 @@
<div class="
col
-
12
">
<div class="
col
-
12
">
<div class="
card
">
<div class="
card
">
<div class="
card
-
body
">
<div class="
card
-
body
">
<form action="
{{
route
(
'mahasiswa.seleksi-belmawa'
)
}}
">
<div class="
row
">
<div class="
col
-
md
-
8
"></div>
<div class="
col
-
md
-
4
text
-
right
">
<div class="
row
">
<label class="
col
-
sm
-
3
col
-
form
-
label
"></label>
<label class="
col
-
sm
-
3
col
-
form
-
label
">Tahun : </label>
<div class="
col
-
sm
-
6
">
<select class="
form
-
select
" name="
year
" onchange="
this
.
form
.
submit
()
">
@foreach(
$periode
as
$per
)
<option value="
{{
$per
->
nama
}}
" {{
$year
==
$per->nama
? 'selected' : '' }}>{{
$per->nama
}}</option>
@endforeach
</select>
</div>
</div>
</div>
</div>
</form>
<br>
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<thead>
<thead>
<tr>
<tr>
...
@@ -60,17 +78,19 @@
...
@@ -60,17 +78,19 @@
<td>{{
$item->rJenis
->nama }}</td>
<td>{{
$item->rJenis
->nama }}</td>
<td>{{
$item->judul
}}</td>
<td>{{
$item->judul
}}</td>
<td>
<td>
@if(
is_null(
$item->status
)
)
@if(
$item->status
== '2'
)
<span class="
badge
bg
-
success
">Lolos Seleksi Internal</span>
<span class="
badge
bg
-
success
">Lolos Seleksi Internal</span>
@else
@else
<span class="
badge
bg
-
danger
">Tidak Lolos Seleksi Internal</span>
<span class="
badge
bg
-
danger
">Tidak Lolos Seleksi Internal</span>
@endif
@endif
</td>
</td>
<td>
<td>
@if(is_null(
$item->revisi_filebelmawa
))
@if(
$item->status
== '2')
<a href="
{{
URL
::
to
(
'mahasiswa/seleksi-belmawa/revisi'
,
$item
->
proposal_id
)
}}
" type="
button
" class="
btn
btn
-
warning
btn
-
sm
waves
-
effect
waves
-
light
"> <i class="
fas
fa
-
edit
"></i> Edit</a>
@if(is_null(
$item->revisi_filebelmawa
))
@else
<a href="
{{
URL
::
to
(
'mahasiswa/seleksi-belmawa/revisi'
,
$item
->
proposal_id
)
}}
" type="
button
" class="
btn
btn
-
warning
btn
-
sm
waves
-
effect
waves
-
light
"> <i class="
fas
fa
-
edit
"></i> Edit</a>
<button data-bs-toggle="
modal
" data-bs-target="
{{
'#lihat'
.
$item
->
proposal_id
}}
" href="
{{
URL
::
to
(
'mahasiswa/kelompok-new'
,
encrypt
(
$item
->
proposal_id
))
}}
" class="
btn
btn
-
info
btn
-
sm
">Lihat</button>
@else
<button data-bs-toggle="
modal
" data-bs-target="
{{
'#lihat'
.
$item
->
proposal_id
}}
" href="
{{
URL
::
to
(
'mahasiswa/kelompok-new'
,
encrypt
(
$item
->
proposal_id
))
}}
" class="
btn
btn
-
info
btn
-
sm
">Lihat</button>
@endif
@endif
@endif
<div id="
{{
'lihat'
.
$item
->
proposal_id
}}
" class="
modal
fade
" tabindex="
-
1
" role="
dialog
"
<div id="
{{
'lihat'
.
$item
->
proposal_id
}}
" class="
modal
fade
" tabindex="
-
1
" role="
dialog
"
...
...
resources/views/backend/mahasiswa/seleksi/index_internal.blade.php
View file @
bf6f15ff
...
@@ -35,7 +35,25 @@
...
@@ -35,7 +35,25 @@
<div class="
col
-
12
">
<div class="
col
-
12
">
<div class="
card
">
<div class="
card
">
<div class="
card
-
body
">
<div class="
card
-
body
">
<form action="
{{
route
(
'mahasiswa.seleksi-internal'
)
}}
">
<div class="
row
">
<div class="
col
-
md
-
8
"></div>
<div class="
col
-
md
-
4
text
-
right
">
<div class="
row
">
<label class="
col
-
sm
-
3
col
-
form
-
label
"></label>
<label class="
col
-
sm
-
3
col
-
form
-
label
">Tahun : </label>
<div class="
col
-
sm
-
6
">
<select class="
form
-
select
" name="
year
" onchange="
this
.
form
.
submit
()
">
@foreach(
$periode
as
$per
)
<option value="
{{
$per
->
nama
}}
" {{
$year
==
$per->nama
? 'selected' : '' }}>{{
$per->nama
}}</option>
@endforeach
</select>
</div>
</div>
</div>
</div>
</form>
<br>
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<thead>
<thead>
<tr>
<tr>
...
...
resources/views/backend/mahasiswa/seleksi/revisi_belmawa.blade.php
View file @
bf6f15ff
...
@@ -44,7 +44,13 @@
...
@@ -44,7 +44,13 @@
</div>
</div>
<div class="
row
mb
-
3
">
<div class="
row
mb
-
3
">
<label class="
col
-
sm
-
2
col
-
form
-
label
">Komentar Review</label>
<label class="
col
-
sm
-
2
col
-
form
-
label
">Komentar Review</label>
<label class="
col
-
sm
-
10
col
-
form
-
label
"></label>
<label class="
col
-
sm
-
10
col
-
form
-
label
">
<h4 class="
card
-
title
mb
-
4
">Reviewer 1 - {{
$proposal->rNilai
->rReviewerBio1 ?
$proposal->rNilai
->rReviewerBio1->nama : '' }}</h4>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$proposal
->
rNilai
->
reviewer_komentar_1
}}
"</p>
<h4 class="
card
-
title
mb
-
4
">Reviewer 2 - {{
$proposal->rNilai
->rReviewerBio2 ?
$proposal->rNilai
->rReviewerBio2->nama : '' }}</h4>
<p class="
text
-
muted
mb
-
3
pb
-
4
">"
{{
$proposal
->
rNilai
->
reviewer_komentar_2
}}
"</p>
</label>
</div>
</div>
<div class="
row
mb
-
3
" class="
dropzone
">
<div class="
row
mb
-
3
" class="
dropzone
">
<label for="
kode
" class="
col
-
sm
-
2
col
-
form
-
label
">Upload Revisi Proposal</label>
<label for="
kode
" class="
col
-
sm
-
2
col
-
form
-
label
">Upload Revisi Proposal</label>
...
...
resources/views/backend/operator/kelompok/index.blade.php
0 → 100644
View file @
bf6f15ff
@
extends
(
'layouts.master'
)
@
section
(
'title'
)
Dashboard
@
endsection
@
section
(
'header'
)
<
div
class
="
page
-
title
">
<h3>Dashboard</h3>
</div>
@endsection
@section('contents')
<!-- start page title -->
<div class="
page
-
title
-
box
">
<div class="
row
align
-
items
-
center
">
<div class="
col
-
md
-
8
">
<h6 class="
page
-
title
">{!!
$title
!!}</h6>
<ol class="
breadcrumb
m
-
0
">
<li class="
breadcrumb
-
item
">Dosen</li>
<li class="
breadcrumb
-
item
">{!!
$title
!!}</li>
</ol>
</div>
<div class="
col
-
md
-
4
">
<div class="
float
-
end
d
-
none
d
-
md
-
block
">
</div>
</div>
</div>
</div>
<!-- end page title -->
<div class="
row
">
<div class="
col
-
12
">
<div class="
card
">
<div class="
card
-
body
">
<form action="
{{
route
(
'dosen.kelompok.index'
)
}}
">
<div class="
row
">
<div class="
col
-
md
-
8
"></div>
<div class="
col
-
md
-
4
text
-
right
">
<div class="
row
">
<label class="
col
-
sm
-
3
col
-
form
-
label
"></label>
<label class="
col
-
sm
-
3
col
-
form
-
label
">Tahun : </label>
<div class="
col
-
sm
-
6
">
<select class="
form
-
select
" name="
year
" onchange="
this
.
form
.
submit
()
">
@foreach(
$periode
as
$per
)
<option value="
{{
$per
->
nama
}}
" {{
$year
==
$per->nama
? 'selected' : '' }}>{{
$per->nama
}}</option>
@endforeach
</select>
</div>
</div>
</div>
</div>
</form>
<br>
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
nowrap
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<thead>
<tr>
<th>No</th>
<th>Kode Kelompok</th>
<th>Ketua</th>
<th>NIM</th>
<th>Dosen Pembimbing</th>
<th>NIDN</th>
<th>Status</th>
<th>Aksi</th>
</tr>
</thead>
<tbody>
@foreach (
$kelompok
as
$item
)
@php
$token
= Str::random(30); @endphp
<tr id="
row
-
{{
$token
}}
">
<td>{{
$loop->iteration
}}</td>
<td>{{
$item->kode
}}</td>
<td>{{
$item->rAnggota
->where('status_ketua', 1)->count() > 0 ?
$item->rAnggota
->where('status_ketua', 1)[0]->nama : '' }}</td>
<td>{{
$item->rAnggota
->where('status_ketua', 1)->count() > 0 ?
$item->rAnggota
->where('status_ketua', 1)[0]->nim : ''}}</td>
<td>{{
$item->nama_dosen
}}</td>
<td>{{
$item->nidn_dosen
}}</td>
<td>
@if(!is_null(
$item->kirim
))
@if(
$item->status
== 0)
<span class="
badge
bg
-
danger
">Menunggu Persetujuan Dosen</span>
@else
<span class="
badge
bg
-
success
">Sudah Disetujui Dosen</span>
@endif
@endif
</td>
<td>
<button data-bs-toggle="
modal
" data-bs-target="
{{
'#lihat'
.
$item
->
kelompok_id
}}
" href="
{{
URL
::
to
(
'mahasiswa/kelompok-new'
,
encrypt
(
$item
->
kelompok_id
))
}}
" class="
btn
btn
-
info
btn
-
sm
"><i class="
far
fa
-
eye
"></i> Lihat</button>
@if(
$item->status
== 0)
<a onclick="
setuju
(
'{{ encrypt($item->kelompok_id) }}'
,
'row-{{ $token }}'
)
" class="
btn
btn
-
success
btn
-
sm
"><i class="
fas
fa
-
check
"></i> Setuju</a>
<a onclick="
tolak
(
'{{ encrypt($item->kelompok_id) }}'
,
'row-{{ $token }}'
)
" class="
btn
btn
-
danger
btn
-
sm
"><i class="
fas
fa
-
times
"></i> Tolak</a>
@endif
@if((auth()->user()->id ==
$item->created_user
) && (
$item->status
== 0))
<a href="
{{
URL
::
to
(
'mahasiswa/kelompok-new'
,
encrypt
(
$item
->
kelompok_id
))
}}
" class="
btn
btn
-
warning
btn
-
sm
">Edit</a>
<a onclick="
hapus
(
'{{ encrypt($item->kelompok_id) }}'
,
'row-{{ $token }}'
)
" class="
btn
btn
-
danger
btn
-
sm
">Hapus</a>
@endif
<div id="
{{
'lihat'
.
$item
->
kelompok_id
}}
" class="
modal
fade
" tabindex="
-
1
" role="
dialog
"
aria-labelledby="
lihatLabel
" aria-hidden="
true
">
<div class="
modal
-
dialog
modal
-
xl
">
<div class="
modal
-
content
">
<div class="
modal
-
header
">
<h5 class="
modal
-
title
" id="
lihatLabel
">Data Kelompok </h5>
<button type="
button
" class="
btn
-
close
" data-bs-dismiss="
modal
" aria-label="
Close
"></button>
</div>
<div class="
modal
-
body
">
<p>
<div class="
table
-
responsive
">
<table class="
table
table
-
striped
mb
-
0
">
<thead>
<tr>
<th>No</th>
<th>Nama</th>
<th>NIM</th>
<th>Fakultas</th>
<th>Program Studi</th>
<th>Keterangan</th>
</tr>
</thead>
<tbody>
<tr>
@foreach (
$item->rAnggota
as
$value
)
<tr>
<td>{{
$loop->iteration
}}</td>
<td>{{
$value->nama
}}</td>
<td>{{
$value->nim
}}</td>
<td>{{
$value->fakultas
}}</td>
<td>{{
$value->prodi
}}</td>
<td>
@if(
$value->status_ketua
== 1)
Ketua
@else
Anggota {{
$loop->iteration
-1 }}
@endif
</td>
</tr>
@endforeach
</tr>
</tbody>
</table>
</div>
</p>
</div>
</div>
</div>
</div>
</div>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div> <!-- end col -->
</div> <!-- end row -->
<div id="
tmbhKel
" class="
modal
fade
" role="
dialog
" aria-labelledby="
myModalLabel
" aria-hidden="
true
">
<div class="
modal
-
dialog
">
<div class="
modal
-
content
">
<form action="
{{
route
(
'mahasiswa.kelompok.store'
)
}}
" method="
POST
">
@csrf
<div class="
modal
-
header
">
<h5 class="
modal
-
title
" id="
myModalLabel
">Tambah Kelompok Baru</h5>
<button type="
button
" class="
btn
-
close
" data-bs-dismiss="
modal
" aria-label="
Close
"></button>
</div>
<div class="
modal
-
body
">
<div class="
col
-
12
">
<h5 class="
font
-
size
-
16
">Silahkan pilih dosen pembimbing : </h5>
<p>
<input type="
hidden
" name="
periode
" value="
{{
$periode
->
where
(
'status'
,
1
)
->
first
()
->
periode_id
;
}}
" >
<select class="
form
-
select
" style="
width
:
100
%
" id="
selectmodal
" name="
dosen
">
<option selected>Pilih Dosen</option>
@foreach(
$dosen
as
$item
)
<option value="
{{
encrypt
(
$item
[
'id_sdm'
]
.
'_'
.
$item
[
'nm_sdm'
]
.
'_'
.
$item
[
'nidn'
])
}}
">{{
$item['nm_sdm']
.' - '.
$item['prodi']
}}</option>
@endforeach
</select>
</p>
</div>
</div>
<div class="
modal
-
footer
">
<button type="
button
" class="
btn
btn
-
secondary
waves
-
effect
" data-bs-dismiss="
modal
">Close</button>
<button type="
submit
" class="
btn
btn
-
primary
waves
-
effect
waves
-
light
">Save changes</button>
</div>
</form>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
@endsection
@section('js')
<script src="
{{
asset
(
'theme/js/pages/datatables.init.js'
)
}}
"></script>
<script>
$(document).ready(function() {
$("
#selectmodal").select2({
dropdownParent
:
$
(
"#tmbhKel"
)
});
});
function
setuju
(
id
,
rowId
){
Swal
.
fire
({
title
:
'Apakah anda yakin untuk menyetujui Kelompok ini?'
,
text
:
"Kelompok yang di setujui akan di teruskan untuk upload proposal"
,
icon
:
'warning'
,
showCancelButton
:
true
,
confirmButtonText
:
'OK'
,
})
.
then
((
result
)
=>
{
if
(
result
.
isConfirmed
)
{
var
token
=
'{{ csrf_token() }}'
;
var
request
=
$
.
ajax
({
url
:
'{{ route('
dosen
.
kelompok
.
terima
') }}'
,
type
:
'POST'
,
dataType
:
'html'
,
data
:
{
id
:
id
,
_token
:
token
},
success
:
function
(
data
){
Swal
.
fire
({
position
:
'top-center'
,
icon
:
'success'
,
title
:
'Kelompok berhasil di setujui'
,
showConfirmButton
:
false
,
timer
:
1500
});
location
.
reload
();
},
error
:
function
(
xhr
,
status
,
error
){
Swal
.
fire
({
position
:
'top-end'
,
icon
:
'error'
,
title
:
xhr
.
responseText
,
showConfirmButton
:
false
,
timer
:
3500
});
}
});
}
})
}
function
tolak
(
id
,
rowId
){
Swal
.
fire
({
title
:
'Apakah anda yakin untuk menolak kelompok ini?'
,
text
:
"Kelompok yang tidak di setujui tidak bisa untuk upload proposal"
,
icon
:
'warning'
,
showCancelButton
:
true
,
confirmButtonText
:
'OK'
,
})
.
then
((
result
)
=>
{
if
(
result
.
isConfirmed
)
{
var
token
=
'{{ csrf_token() }}'
;
var
request
=
$
.
ajax
({
url
:
'{{ route('
dosen
.
kelompok
.
tolak
') }}'
,
type
:
'POST'
,
dataType
:
'html'
,
data
:
{
id
:
id
,
_token
:
token
},
success
:
function
(
data
){
Swal
.
fire
({
position
:
'top-center'
,
icon
:
'success'
,
title
:
'Kelompok berhasil di tolak'
,
showConfirmButton
:
false
,
timer
:
1500
});
location
.
reload
();
},
error
:
function
(
xhr
,
status
,
error
){
Swal
.
fire
({
position
:
'top-end'
,
icon
:
'error'
,
title
:
xhr
.
responseText
,
showConfirmButton
:
false
,
timer
:
3500
});
}
});
}
})
}
</
script
>
@
endsection
resources/views/backend/operator/proposal/index.blade.php
0 → 100644
View file @
bf6f15ff
@
extends
(
'layouts.master'
)
@
section
(
'title'
)
Dashboard
@
endsection
@
section
(
'header'
)
<
div
class
="
page
-
title
">
<h3>Dashboard</h3>
</div>
@endsection
@section('contents')
<!-- start page title -->
<div class="
page
-
title
-
box
">
<div class="
row
align
-
items
-
center
">
<div class="
col
-
md
-
8
">
<h6 class="
page
-
title
">{!!
$title
!!}</h6>
<ol class="
breadcrumb
m
-
0
">
<li class="
breadcrumb
-
item
">Mahasiswa</li>
<li class="
breadcrumb
-
item
">{!!
$title
!!}</li>
</ol>
</div>
<div class="
col
-
md
-
4
">
<div class="
float
-
end
d
-
none
d
-
md
-
block
">
</div>
</div>
</div>
</div>
<!-- end page title -->
<div class="
row
">
<div class="
col
-
12
">
<div class="
card
">
<div class="
card
-
body
">
<form action="
{{
route
(
'dosen.proposal.index'
)
}}
">
<div class="
row
">
<div class="
col
-
md
-
8
"></div>
<div class="
col
-
md
-
4
text
-
right
">
<div class="
row
">
<label class="
col
-
sm
-
3
col
-
form
-
label
"></label>
<label class="
col
-
sm
-
3
col
-
form
-
label
">Tahun : </label>
<div class="
col
-
sm
-
6
">
<select class="
form
-
select
" name="
year
" onchange="
this
.
form
.
submit
()
">
@foreach(
$periode
as
$per
)
<option value="
{{
$per
->
nama
}}
" {{
$year
==
$per->nama
? 'selected' : '' }}>{{
$per->nama
}}</option>
@endforeach
</select>
</div>
</div>
</div>
</div>
</form>
<br>
<table id="
datatable
" class="
table
table
-
bordered
dt
-
responsive
" style="
border
-
collapse
:
collapse
;
border
-
spacing
:
0
;
width
:
100
%
;
">
<thead>
<tr>
<th>No</th>
<th>Kode Kelompok</th>
<th>Identitas Ketua</th>
<th>Identitas Dosen Pembimbing</th>
<th>Jenis PKM</th>
<th>Judul Proposal</th>
<th>Status</th>
<th>Aksi</th>
</tr>
</thead>
<tbody>
@foreach (
$proposal
as
$item
)
@php
$token
= Str::random(30); @endphp
<tr id="
row
-
{{
$token
}}
">
<td>{{
$loop->iteration
}}</td>
<td>{{
$item->rKelompok
->kode }}</td>
<td>{{
$item->rKelompok
->rBiodata->name }} <br> {{
$item->rKelompok
->rBiodata->noidentitas }} <br> {{
$item->rKelompok
->rBiodata->fakultas }} <br> {{
$item->rKelompok
->rBiodata->prodi }}</td>
<td>{{
$item->rKelompok
->nama_dosen }} <br> {{
$item->rKelompok
->nidn_dosen }}</td>
<td>{{
$item->rJenis
->nama }}</td>
<td>{{
$item->judul
}}</td>
<td>
@if(is_null(
$item->upload_dokumen
))
<span class="
badge
bg
-
danger
">Belum Upload Proposal</span> <br>
<strong> Keterangan : </strong> <br>
Upload proposal pada : -<br>
Disetujui proposal pada : -<br>
@else
@if(
$item->status
== '2')
<span class="
badge
bg
-
success
">Sudah Disetujui Dosen</span> <br>
<strong> Keterangan : </strong> <br>
Upload proposal pada : <h6 class="
text
-
primary
"> {{
$item->date_upload
}} </h6>
Disetujui proposal pada : <h6 class="
text
-
primary
"> {{
$item->date_approval
}} </h6>
@else
<span class="
badge
bg
-
warning
">Menunggu Persetujuan Dosen</span> <br>
<strong> Keterangan : </strong> <br>
Upload proposal pada : <h6 class="
text
-
primary
"> {{
$item->date_upload
}} </h6>
Disetujui proposal pada :
@endif
@endif
</td>
<td>
<button data-bs-toggle="
modal
" data-bs-target="
{{
'#lihat'
.
$item
->
proposal_id
}}
" href="
{{
URL
::
to
(
'mahasiswa/kelompok-new'
,
encrypt
(
$item
->
proposal_id
))
}}
" class="
btn
btn
-
info
btn
-
sm
"><i class="
far
fa
-
eye
"></i> Lihat</button>
@if(
$item->status
== '0')
<a onclick="
setuju
(
'{{ encrypt($item->proposal_id) }}'
,
'row-{{ $token }}'
)
" class="
btn
btn
-
success
btn
-
sm
"><i class="
fas
fa
-
check
"></i> Setuju</a>
@endif
<div id="
{{
'lihat'
.
$item
->
proposal_id
}}
" class="
modal
fade
" tabindex="
-
1
" role="
dialog
"
aria-labelledby="
lihatLabel
" aria-hidden="
true
">
<div class="
modal
-
dialog
modal
-
xl
">
<div class="
modal
-
content
">
<div class="
modal
-
header
">
<h5 class="
modal
-
title
" id="
lihatLabel
">Detail Proposal </h5>
<button type="
button
" class="
btn
-
close
" data-bs-dismiss="
modal
" aria-label="
Close
"></button>
</div>
<div class="
modal
-
body
">
<p>
<div class="
table
-
responsive
">
<table class="
table
mb
-
0
">
<tr>
<th>Judul Proposal</th>
<td>{{
$item->judul
}}</td>
</tr>
<tr>
<th>Jenis PKM</th>
<td>{{
$item->rJenis
->nama }}</td>
</tr>
<tr>
<th>Status</th>
<td>
@if(is_null(
$item->status
))
<span class="
badge
bg
-
danger
">Menunggu Persetujuan Dosen</span>
@else
<span class="
badge
bg
-
success
">Sudah Disetujui Dosen</span>
@endif
</td>
</tr>
<tr>
<th>Proposal</th>
<td>
@if(
$item->upload_dokumen
)
<iframe id="
view
-
pdf
" width="
100
%
" height="
400
px
" src="
https
://
statik
.
unesa
.
ac
.
id
/
simpkm
/
proposal
/
{{
$item
->
rPeriode
->
nama
}}
/
{{
$item
->
upload_dokumen
}}
" frameborder="
0
"></iframe>
@else
<div class="
alert
alert
-
danger
alert
-
dismissible
fade
show
mb
-
0
" role="
alert
">
<strong>Informasi!</strong><br/> File tidak ditemukan.
</div>
@endif
</td>
</tr>
</table>
</div>
</p>
</div>
</div>
</div>
</div>
</div>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div> <!-- end col -->
</div> <!-- end row -->
@endsection
@section('js')
<script src="
{{
asset
(
'theme/js/pages/datatables.init.js'
)
}}
"></script>
<script>
function setuju(id, rowId){
Swal.fire({
title: 'Apakah anda yakin untuk menyetujui Kelompok ini?',
text: "
Kelompok
yang
di
setujui
akan
di
teruskan
untuk
upload
proposal
",
icon: 'warning',
showCancelButton: true,
confirmButtonText: 'OK',
}).then((result) => {
if (result.isConfirmed) {
var token = '{{ csrf_token() }}';
var request = $.ajax({
url: '{{ route('dosen.proposal.setuju') }}',
type: 'POST',
dataType: 'html',
data: {id:id, _token:token},
success: function(data){
Swal.fire({
position: 'top-center',
icon: 'success',
title: 'Kelompok berhasil di setujui',
showConfirmButton: false,
timer: 1500
});
location.reload();
},
error: function(xhr, status, error){
Swal.fire({
position: 'top-end',
icon: 'error',
title: xhr.responseText,
showConfirmButton: false,
timer: 3500
});
}
});
}
})
}
</script>
@endsection
resources/views/layouts/master.blade.php
View file @
bf6f15ff
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<!-- LOGO -->
<!-- LOGO -->
<div class="
navbar
-
brand
-
box
">
<div class="
navbar
-
brand
-
box
">
<a href="
index
.
html
" class="
logo
logo
-
light
">
<a href="
{{
url
(
'/dashboard'
)
}}
" class="
logo
logo
-
light
">
<span class="
logo
-
sm
">
<span class="
logo
-
sm
">
<img src="
{{
asset
(
'theme/images/logo-sm.png'
)
}}
" alt="" height="
22
">
<img src="
{{
asset
(
'theme/images/logo-sm.png'
)
}}
" alt="" height="
22
">
</span>
</span>
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
<
div
class
="
dropdown
d
-
inline
-
block
">
<
div
class
="
dropdown
d
-
inline
-
block
">
<button type="
button
" class="
btn
header
-
item
waves
-
effect
" id="
page
-
header
-
user
-
dropdown
" data-bs-toggle="
dropdown
" aria-haspopup="
true
" aria-expanded="
false
">
<button type="
button
" class="
btn
header
-
item
waves
-
effect
" id="
page
-
header
-
user
-
dropdown
" data-bs-toggle="
dropdown
" aria-haspopup="
true
" aria-expanded="
false
">
@if (Auth::user()->roles->first()->name != 'mahasiswa')
@if (Auth::user()->roles->first()->name != 'mahasiswa')
<img src="
https
://
siakadu
.
unesa
.
ac
.
id
/
photo
/
fotomhs
/
{{
is_null
(
Auth
::
user
()
->
rBiodata
)
?
'01'
:
Auth
::
user
()
->
rBiodata
->
noidentitas
}}
.
jpg
" alt="
Header
Avatar
" class="
rounded
-
circle
header
-
profile
-
user
" >
<img src="
https
://
siakadu
.
unesa
.
ac
.
id
/
photo
/
fotomhs
/
{{
is_null
(
Auth
::
user
()
->
rBiodata
)
?
'01'
:
Auth
::
user
()
->
rBiodata
->
noidentitas
}}
.
jpg
" alt="
Header
Avatar
" class="
rounded
-
circle
header
-
profile
-
user
" >
@else
@else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment