Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
simpmw
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
Alfiro Pratama
simpmw
Commits
aa98826a
Commit
aa98826a
authored
Mar 11, 2026
by
Alfiro Pratama
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix value data
parent
0dd061db
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
39 additions
and
29 deletions
+39
-29
app/Http/Controllers/Dosen/KelompokController.php
+2
-2
app/Http/Controllers/Dosen/MonevController.php
+1
-1
app/Http/Controllers/Mahasiswa/KelompokController.php
+7
-3
app/Http/Controllers/Mahasiswa/MonevController.php
+9
-9
app/Http/Controllers/Mahasiswa/ProposalController.php
+1
-1
app/Http/Controllers/Operator/DaftarProposalController.php
+4
-4
app/Http/Controllers/Operator/SelectController.php
+1
-1
app/Models/Kelompok.php
+6
-0
resources/views/backend/dosen/kelompok/index.blade.php
+2
-2
resources/views/backend/mahasiswa/kelompok/index.blade.php
+5
-5
resources/views/backend/mahasiswa/kelompok/modalkel.blade.php
+1
-1
No files found.
app/Http/Controllers/Dosen/KelompokController.php
View file @
aa98826a
...
@@ -27,11 +27,11 @@ class KelompokController extends Controller
...
@@ -27,11 +27,11 @@ class KelompokController extends Controller
$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
()
->
orderBy
(
'nama'
,
'ASC'
)
->
get
();
$periode
=
Periode
::
query
()
->
orderBy
(
'nama'
,
'ASC'
)
->
get
();
$year
=
!
is_null
(
$request
->
year
)
?
$request
->
year
:
now
()
->
year
;
$year
=
!
is_null
(
$request
->
year
)
?
$request
->
year
:
now
()
->
year
;
$kelompok
=
Kelompok
::
with
([
'rAnggota'
])
$kelompok
=
Kelompok
::
with
([
'r
Ketua'
,
'r
Anggota'
])
// ->where('nidn_dosen', $bio->noidentitas)
// ->where('nidn_dosen', $bio->noidentitas)
// ->when($bio->noidentitas !== null, function ($query) use ($bio) {
// ->when($bio->noidentitas !== null, function ($query) use ($bio) {
// return $query->where('nidn_dosen', $bio->noidentitas)
// return $query->where('nidn_dosen', $bio->noidentitas)
...
...
app/Http/Controllers/Dosen/MonevController.php
View file @
aa98826a
...
@@ -21,7 +21,7 @@ class MonevController extends Controller
...
@@ -21,7 +21,7 @@ class MonevController extends Controller
$nidn
=
$bio
->
noidentitas
;
$nidn
=
$bio
->
noidentitas
;
$periode
=
Periode
::
query
()
->
get
();
$periode
=
Periode
::
query
()
->
get
();
$year
=
!
is_null
(
$request
->
year
)
?
$request
->
year
:
now
()
->
year
;
$year
=
!
is_null
(
$request
->
year
)
?
$request
->
year
:
now
()
->
year
;
$jadwal
=
JadwalKegiatan
::
where
(
'periode_id'
,
$periode
->
where
(
'status'
,
1
)
->
first
()
->
periode_id
)
$jadwal
=
JadwalKegiatan
::
where
(
'periode_id'
,
$periode
->
where
(
'status'
,
'1'
)
->
first
()
->
periode_id
)
->
where
(
'nama'
,
'Monev Internal '
.
$id
)
->
first
();
->
where
(
'nama'
,
'Monev Internal '
.
$id
)
->
first
();
$title
=
'Monev Internal '
.
$id
;
$title
=
'Monev Internal '
.
$id
;
...
...
app/Http/Controllers/Mahasiswa/KelompokController.php
View file @
aa98826a
...
@@ -33,7 +33,7 @@ class KelompokController extends Controller
...
@@ -33,7 +33,7 @@ class KelompokController extends Controller
$periode_aktif
=
Periode
::
where
(
'status'
,
'1'
)
->
first
();
$periode_aktif
=
Periode
::
where
(
'status'
,
'1'
)
->
first
();
$year
=
!
is_null
(
$request
->
year
)
?
$request
->
year
:
now
()
->
year
;
$year
=
!
is_null
(
$request
->
year
)
?
$request
->
year
:
now
()
->
year
;
$kelompok
=
Kelompok
::
with
([
'rAnggota'
])
$kelompok
=
Kelompok
::
with
([
'r
Ketua'
,
'r
Anggota'
])
->
whereHas
(
'rAnggota'
,
function
(
$query
)
use
(
$nim
){
->
whereHas
(
'rAnggota'
,
function
(
$query
)
use
(
$nim
){
$query
->
where
(
'nim'
,
$nim
);
$query
->
where
(
'nim'
,
$nim
);
})
})
...
@@ -41,7 +41,11 @@ class KelompokController extends Controller
...
@@ -41,7 +41,11 @@ class KelompokController extends Controller
->
orderBy
(
'kode'
)
->
orderBy
(
'kode'
)
->
get
();
->
get
();
$cekKel
=
$kelompok
->
where
(
'created_user'
,
auth
()
->
user
()
->
id
)
->
where
(
'periode_id'
,
$periode_aktif
->
periode_id
)
->
whereIn
(
'status'
,
[
0
,
1
])
->
count
();
// $cekKel = $kelompok->where('created_user', auth()->user()->id)->where('periode_id', $periode_aktif->periode_id)->whereIn('status', [0,1])->count();
$cekKel
=
$kelompok
->
where
(
'created_user'
,
auth
()
->
user
()
->
id
)
->
where
(
'periode_id'
,
$periode_aktif
->
periode_id
)
->
whereRaw
(
"TRIM(status) IN ('0','1')"
)
->
count
();
// $getMhs = GetDataApiController::getAccount(20030244001);
// $getMhs = GetDataApiController::getAccount(20030244001);
// dd($getMhs);
// dd($getMhs);
...
@@ -90,7 +94,7 @@ class KelompokController extends Controller
...
@@ -90,7 +94,7 @@ class KelompokController extends Controller
Session
::
put
(
'ss_kelompokid'
,
$kelompok_id
);
Session
::
put
(
'ss_kelompokid'
,
$kelompok_id
);
$title
=
'Tambah Kelompok Mahasiswa'
;
$title
=
'Tambah Kelompok Mahasiswa'
;
$kelompok
=
Kelompok
::
with
(
'rAnggota'
)
->
where
(
'kelompok_id'
,
$kelompok_id
)
->
first
();
$kelompok
=
Kelompok
::
with
(
[
'rKetua'
,
'rAnggota'
]
)
->
where
(
'kelompok_id'
,
$kelompok_id
)
->
first
();
$periode
=
Periode
::
where
(
'status'
,
'1'
)
->
first
();
$periode
=
Periode
::
where
(
'status'
,
'1'
)
->
first
();
$getDosen
=
GetDataApiController
::
getDosen
();
$getDosen
=
GetDataApiController
::
getDosen
();
...
...
app/Http/Controllers/Mahasiswa/MonevController.php
View file @
aa98826a
...
@@ -31,7 +31,7 @@ class MonevController extends Controller
...
@@ -31,7 +31,7 @@ class MonevController extends Controller
$nim
=
$bio
->
noidentitas
;
$nim
=
$bio
->
noidentitas
;
$periode
=
Periode
::
query
()
->
get
();
$periode
=
Periode
::
query
()
->
get
();
$year
=
!
is_null
(
$request
->
year
)
?
$request
->
year
:
now
()
->
year
;
$year
=
!
is_null
(
$request
->
year
)
?
$request
->
year
:
now
()
->
year
;
$jadwal
=
JadwalKegiatan
::
where
(
'periode_id'
,
$periode
->
where
(
'status'
,
1
)
->
first
()
->
periode_id
)
$jadwal
=
JadwalKegiatan
::
where
(
'periode_id'
,
$periode
->
where
(
'status'
,
'1'
)
->
first
()
->
periode_id
)
->
where
(
'nama'
,
'Monev Internal '
.
$id
)
->
first
();
->
where
(
'nama'
,
'Monev Internal '
.
$id
)
->
first
();
// $jadwal = now();
// $jadwal = now();
...
@@ -176,13 +176,13 @@ class MonevController extends Controller
...
@@ -176,13 +176,13 @@ class MonevController extends Controller
return
redirect
()
->
route
(
'mahasiswa.monev-index'
,
$pro
[
'monev'
])
->
with
(
'success'
,
'Proposal Berhasil revisi'
);
return
redirect
()
->
route
(
'mahasiswa.monev-index'
,
$pro
[
'monev'
])
->
with
(
'success'
,
'Proposal Berhasil revisi'
);
}
}
public
function
revisiMonevAll
(
$id
)
public
function
revisiMonevAll
(
$id
)
{
{
$id
=
explode
(
'__'
,
decrypt
(
$id
));
$id
=
explode
(
'__'
,
decrypt
(
$id
));
// $proposal = MonevInternal::with(['rProposal'])->find($id[0]);
// $proposal = MonevInternal::with(['rProposal'])->find($id[0]);
$proposal
=
MonevInternal
::
with
([
'rProposal'
])
->
where
(
'id'
,
$id
[
0
])
->
first
();
$proposal
=
MonevInternal
::
with
([
'rProposal'
])
->
where
(
'id'
,
$id
[
0
])
->
first
();
$id
[
1
]
==
'II'
?
$title
=
'Revisi Dokumen Monev II'
:
$title
=
'Revisi Dokumen Monev I'
;
$id
[
1
]
==
'II'
?
$title
=
'Revisi Dokumen Monev II'
:
$title
=
'Revisi Dokumen Monev I'
;
$type
=
[
'proposal'
,
'logbook'
,
'kemajuan'
,
'akhir'
,
'produk'
];
$type
=
[
'proposal'
,
'logbook'
,
'kemajuan'
,
'akhir'
,
'produk'
];
$label
=
[
'Unggah Revisi Proposal'
,
'Unggah Revisi Logbook'
,
'Unggah Revisi Laporan Kemajuan'
,
'Unggah Revisi Laporan Akhir'
,
'Unggah Revisi Produk Akhir'
];
$label
=
[
'Unggah Revisi Proposal'
,
'Unggah Revisi Logbook'
,
'Unggah Revisi Laporan Kemajuan'
,
'Unggah Revisi Laporan Akhir'
,
'Unggah Revisi Produk Akhir'
];
...
@@ -202,7 +202,7 @@ class MonevController extends Controller
...
@@ -202,7 +202,7 @@ class MonevController extends Controller
{
{
$pro
=
$request
->
except
(
'_token'
);
$pro
=
$request
->
except
(
'_token'
);
$type
=
[
'proposal'
,
'logbook'
,
'kemajuan'
,
'akhir'
,
'produk'
];
$type
=
[
'proposal'
,
'logbook'
,
'kemajuan'
,
'akhir'
,
'produk'
];
$request
->
validate
([
$request
->
validate
([
'produk_url'
=>
'nullable|url'
,
// Produk URL validasi opsional
'produk_url'
=>
'nullable|url'
,
// Produk URL validasi opsional
'proposal'
=>
'nullable|mimes:pdf|max:5000'
,
'proposal'
=>
'nullable|mimes:pdf|max:5000'
,
...
@@ -214,7 +214,7 @@ class MonevController extends Controller
...
@@ -214,7 +214,7 @@ class MonevController extends Controller
'max'
=>
':attribute tidak boleh lebih dari 5MB.'
,
'max'
=>
':attribute tidak boleh lebih dari 5MB.'
,
// 'produk_url.url' => 'Produk URL harus berupa URL valid.',
// 'produk_url.url' => 'Produk URL harus berupa URL valid.',
]);
]);
$proposal
=
MonevInternal
::
with
([
'rProposal'
])
->
find
(
$pro
[
'monev_id'
]);
$proposal
=
MonevInternal
::
with
([
'rProposal'
])
->
find
(
$pro
[
'monev_id'
]);
foreach
(
$type
as
$field
)
{
foreach
(
$type
as
$field
)
{
...
@@ -226,7 +226,7 @@ class MonevController extends Controller
...
@@ -226,7 +226,7 @@ class MonevController extends Controller
$file_nama
=
$proposal
->
rProposal
->
rPeriode
->
nama
.
'_'
.
$proposal
->
rProposal
->
proposal_id
.
'.'
.
$file
->
getClientOriginalExtension
();
$file_nama
=
$proposal
->
rProposal
->
rPeriode
->
nama
.
'_'
.
$proposal
->
rProposal
->
proposal_id
.
'.'
.
$file
->
getClientOriginalExtension
();
$store
=
Storage
::
disk
(
'static'
)
->
put
(
'simpmw/monev/'
.
$pro
[
'monev'
]
.
'/'
.
$field
.
'/'
.
$file_nama
,
file_get_contents
(
$file
->
getRealPath
()));
$store
=
Storage
::
disk
(
'static'
)
->
put
(
'simpmw/monev/'
.
$pro
[
'monev'
]
.
'/'
.
$field
.
'/'
.
$file_nama
,
file_get_contents
(
$file
->
getRealPath
()));
$url
=
'simpmw/monev/'
.
$pro
[
'monev'
]
.
'/'
.
$field
.
'/'
.
$file_nama
;
$url
=
'simpmw/monev/'
.
$pro
[
'monev'
]
.
'/'
.
$field
.
'/'
.
$file_nama
;
$proposal
->
{
$field
.
'_file'
}
=
$file_nama
;
$proposal
->
{
$field
.
'_file'
}
=
$file_nama
;
$proposal
->
{
$field
.
'_date'
}
=
now
();
$proposal
->
{
$field
.
'_date'
}
=
now
();
$urls
[]
=
$url
;
$urls
[]
=
$url
;
...
@@ -242,9 +242,9 @@ class MonevController extends Controller
...
@@ -242,9 +242,9 @@ class MonevController extends Controller
public
function
buktiAnggaran
(
$id
)
public
function
buktiAnggaran
(
$id
)
{
{
$monev_id
=
decrypt
(
$id
);
$monev_id
=
decrypt
(
$id
);
$title
=
'Bukti Penggunaan Anggaran'
;
$title
=
'Bukti Penggunaan Anggaran'
;
$anggaran
=
BuktiAnggaran
::
with
([
'rProposal'
,
'rMonev'
])
$anggaran
=
BuktiAnggaran
::
with
([
'rProposal'
,
'rMonev'
])
->
where
(
'monev_id'
,
$monev_id
)
->
where
(
'monev_id'
,
$monev_id
)
->
get
();
->
get
();
...
@@ -308,7 +308,7 @@ class MonevController extends Controller
...
@@ -308,7 +308,7 @@ class MonevController extends Controller
'created_by'
=>
$userid
,
'created_by'
=>
$userid
,
'updated_by'
=>
$userid
,
'updated_by'
=>
$userid
,
]);
]);
DB
::
commit
();
DB
::
commit
();
return
redirect
()
->
route
(
'mahasiswa.monev-anggaran'
,
[
'id'
=>
encrypt
(
$key
[
'monev_id'
])])
->
with
(
'success'
,
'Data berhasil disimpan'
);
return
redirect
()
->
route
(
'mahasiswa.monev-anggaran'
,
[
'id'
=>
encrypt
(
$key
[
'monev_id'
])])
->
with
(
'success'
,
'Data berhasil disimpan'
);
}
catch
(
\Exception
$e
)
{
}
catch
(
\Exception
$e
)
{
...
...
app/Http/Controllers/Mahasiswa/ProposalController.php
View file @
aa98826a
...
@@ -80,7 +80,7 @@ class ProposalController extends Controller
...
@@ -80,7 +80,7 @@ class ProposalController extends Controller
->
where
(
'periode_id'
,
$periode
->
periode_id
)
->
where
(
'periode_id'
,
$periode
->
periode_id
)
->
first
();
->
first
();
$jadwal
=
JadwalKegiatan
::
where
(
'periode_id'
,
$periode
->
where
(
'status'
,
1
)
->
first
()
->
periode_id
)
$jadwal
=
JadwalKegiatan
::
where
(
'periode_id'
,
$periode
->
where
(
'status'
,
'1'
)
->
first
()
->
periode_id
)
->
where
(
'nama'
,
'Upload Proposal Seleksi Internal'
)
->
first
();
->
where
(
'nama'
,
'Upload Proposal Seleksi Internal'
)
->
first
();
// dd($jadwal->tanggal_sekesai);
// dd($jadwal->tanggal_sekesai);
...
...
app/Http/Controllers/Operator/DaftarProposalController.php
View file @
aa98826a
...
@@ -45,7 +45,7 @@ class DaftarProposalController extends Controller
...
@@ -45,7 +45,7 @@ class DaftarProposalController extends Controller
/* AJAX request */
/* AJAX request */
public
function
getData
(
Request
$request
){
public
function
getData
(
Request
$request
){
// $periode = Periode::where('status',
1
)->first();
// $periode = Periode::where('status',
'1'
)->first();
// $reqPeriodeId = $periode->periode_id;
// $reqPeriodeId = $periode->periode_id;
// parameter
// parameter
...
@@ -220,7 +220,7 @@ class DaftarProposalController extends Controller
...
@@ -220,7 +220,7 @@ class DaftarProposalController extends Controller
</td>'
;
</td>'
;
$revisi1
=
''
;
$revisi1
=
''
;
$revisi2
=
''
;
$revisi2
=
''
;
if
(
$record
->
reviewerProposal2
){
if
(
$record
->
reviewerProposal2
){
if
(
$record
->
reviewerProposal2
->
revisi_nilai
!=
1
)
{
if
(
$record
->
reviewerProposal2
->
revisi_nilai
!=
1
)
{
...
@@ -789,7 +789,7 @@ class DaftarProposalController extends Controller
...
@@ -789,7 +789,7 @@ class DaftarProposalController extends Controller
private
function
createMonevInternal
(
$proposalId
)
private
function
createMonevInternal
(
$proposalId
)
{
{
$reviewerProposal
=
ReviewerProposal
::
where
(
'proposal_id'
,
$proposalId
)
->
whereIn
(
'urut'
,
[
1
,
2
]);
$reviewerProposal
=
ReviewerProposal
::
where
(
'proposal_id'
,
$proposalId
)
->
whereIn
(
'urut'
,
[
1
,
2
]);
$count
=
$reviewerProposal
->
where
(
'status_administrasi'
,
1
)
->
count
();
$count
=
$reviewerProposal
->
where
(
'status_administrasi'
,
'1'
)
->
count
();
$monevInternal
=
MonevInternal
::
query
()
->
where
(
'proposal_id'
,
$proposalId
)
->
get
();
$monevInternal
=
MonevInternal
::
query
()
->
where
(
'proposal_id'
,
$proposalId
)
->
get
();
// if($count == 2){
// if($count == 2){
...
@@ -890,7 +890,7 @@ class DaftarProposalController extends Controller
...
@@ -890,7 +890,7 @@ class DaftarProposalController extends Controller
return
Excel
::
download
(
new
DaftarProposalExport
(
$jenis
,
$status
,
$tahun
),
'daftar_seleksi_internal_'
.
$tahun
.
'-export_pmw.xlsx'
);
return
Excel
::
download
(
new
DaftarProposalExport
(
$jenis
,
$status
,
$tahun
),
'daftar_seleksi_internal_'
.
$tahun
.
'-export_pmw.xlsx'
);
// $daftarProposalExport = new DaftarProposalExport($jenis, $status, $tahun);
// $daftarProposalExport = new DaftarProposalExport($jenis, $status, $tahun);
// $data = $daftarProposalExport->view(); // Mendapatkan koleksi data
// $data = $daftarProposalExport->view(); // Mendapatkan koleksi data
// return $data;
// return $data;
}
}
...
...
app/Http/Controllers/Operator/SelectController.php
View file @
aa98826a
...
@@ -15,7 +15,7 @@ class SelectController extends Controller
...
@@ -15,7 +15,7 @@ class SelectController extends Controller
{
{
$nim
=
request
(
'nim'
);
$nim
=
request
(
'nim'
);
$kelompok_id
=
Session
::
get
(
'ss_kelompokid'
);
$kelompok_id
=
Session
::
get
(
'ss_kelompokid'
);
$kelompok
=
Kelompok
::
with
(
'rAnggota'
)
->
where
(
'kelompok_id'
,
$kelompok_id
)
->
first
();
$kelompok
=
Kelompok
::
with
(
[
'rKetua'
,
'rAnggota'
]
)
->
where
(
'kelompok_id'
,
$kelompok_id
)
->
first
();
$person
=
GetDataApiController
::
getAccount
(
$nim
);
$person
=
GetDataApiController
::
getAccount
(
$nim
);
...
...
app/Models/Kelompok.php
View file @
aa98826a
...
@@ -39,6 +39,12 @@ class Kelompok extends Model
...
@@ -39,6 +39,12 @@ class Kelompok extends Model
return
$this
->
hasMany
(
KelompokDetail
::
class
,
'kelompok_id'
,
'kelompok_id'
)
->
orderBy
(
'status_ketua'
);
return
$this
->
hasMany
(
KelompokDetail
::
class
,
'kelompok_id'
,
'kelompok_id'
)
->
orderBy
(
'status_ketua'
);
}
}
public
function
rKetua
()
{
return
$this
->
hasOne
(
KelompokDetail
::
class
,
'kelompok_id'
,
'kelompok_id'
)
->
whereRaw
(
"TRIM(status_ketua) = '1'"
);
}
public
function
rBiodata
()
public
function
rBiodata
()
{
{
return
$this
->
hasOne
(
Biodata
::
class
,
'id'
,
'created_user'
);
return
$this
->
hasOne
(
Biodata
::
class
,
'id'
,
'created_user'
);
...
...
resources/views/backend/dosen/kelompok/index.blade.php
View file @
aa98826a
...
@@ -74,8 +74,8 @@
...
@@ -74,8 +74,8 @@
<tr id="
row
-
{{
$token
}}
">
<tr id="
row
-
{{
$token
}}
">
<td>{{
$loop->iteration
}}</td>
<td>{{
$loop->iteration
}}</td>
<td>{{
$item->kode
}}</td>
<td>{{
$item->kode
}}</td>
<td>{{
$item->r
Anggota
->where('status_ketua', 1)->count() > 0 ?
$item->rAnggota
->where('status_ketua', 1)[0]->nama :
'' }}</td>
<td>{{
$item->r
Ketua
->nama ??
'' }}</td>
<td>{{
$item->r
Anggota
->where('status_ketua', 1)->count() > 0 ?
$item->rAnggota
->where('status_ketua', 1)[0]->nim : ''
}}</td>
<td>{{
$item->r
Ketua
->nim ?? ''
}}</td>
<td>{{
$item->nama_dosen
}}</td>
<td>{{
$item->nama_dosen
}}</td>
<td>{{
$item->nidn_dosen
}}</td>
<td>{{
$item->nidn_dosen
}}</td>
<td>
<td>
...
...
resources/views/backend/mahasiswa/kelompok/index.blade.php
View file @
aa98826a
...
@@ -82,8 +82,8 @@
...
@@ -82,8 +82,8 @@
<tr id="
row
-
{{
$token
}}
">
<tr id="
row
-
{{
$token
}}
">
<td>{{
$loop->iteration
}}</td>
<td>{{
$loop->iteration
}}</td>
<td>{{
$item->kode
}}</td>
<td>{{
$item->kode
}}</td>
<td>{{
$item->r
Anggota
->where('status_ketua', 1)->count() > 0 ?
$item->rAnggota
->where('status_ketua', 1)[0]->nama :
'' }}</td>
<td>{{
$item->r
Ketua
->nama ??
'' }}</td>
<td>{{
$item->r
Anggota
->where('status_ketua', 1)->count() > 0 ?
$item->rAnggota
->where('status_ketua', 1)[0]->nim : ''
}}</td>
<td>{{
$item->r
Ketua
->nim ?? ''
}}</td>
<td>{{
$item->nama_dosen
}}</td>
<td>{{
$item->nama_dosen
}}</td>
<td>{{
$item->nidn_dosen
}}</td>
<td>{{
$item->nidn_dosen
}}</td>
<td>
<td>
...
@@ -99,12 +99,12 @@
...
@@ -99,12 +99,12 @@
</td>
</td>
<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
">Lihat</button>
<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
">Lihat</button>
@if((auth()->user()->id ==
$item->created_user
) && (
$item->status
== 0))
@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 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>
<a onclick="
hapus
(
'{{ encrypt($item->kelompok_id) }}'
,
'row-{{ $token }}'
)
" class="
btn
btn
-
danger
btn
-
sm
">Hapus</a>
@endif
@endif
<div id="
{{
'lihat'
.
$item
->
kelompok_id
}}
" class="
modal
fade
" tabindex="
-
1
" role="
dialog
"
<div id="
{{
'lihat'
.
$item
->
kelompok_id
}}
" class="
modal
fade
" tabindex="
-
1
" role="
dialog
"
aria-labelledby="
lihatLabel
" aria-hidden="
true
">
aria-labelledby="
lihatLabel
" aria-hidden="
true
">
<div class="
modal
-
dialog
modal
-
xl
">
<div class="
modal
-
dialog
modal
-
xl
">
...
@@ -153,7 +153,7 @@
...
@@ -153,7 +153,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</td>
</td>
</tr>
</tr>
@endforeach
@endforeach
...
...
resources/views/backend/mahasiswa/kelompok/modalkel.blade.php
View file @
aa98826a
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,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->where('status',
1
)->first()->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)
...
...
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