Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sipeka
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
Siti Aisah
sipeka
Commits
48464d45
Commit
48464d45
authored
May 16, 2024
by
Triyah Fatmawati
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.unesa.ac.id/aisah/sipeka
parents
2c948ecf
8fbeaac1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
11 deletions
+15
-11
app/Http/Controllers/Admin/TransaksiController.php
+10
-10
resources/views/saku/index.blade.php
+5
-1
No files found.
app/Http/Controllers/Admin/TransaksiController.php
View file @
48464d45
...
@@ -99,7 +99,7 @@ public function store(Request $request){
...
@@ -99,7 +99,7 @@ public function store(Request $request){
foreach
(
$reviewer
as
$r
){
foreach
(
$reviewer
as
$r
){
$isdm
=
DB
::
connection
(
'isdm'
)
->
table
(
'v_detil_pegawai'
)
->
where
(
'noktp'
,
$r
->
nik
)
->
select
(
'namalengkap'
,
'nip'
)
->
first
();
$isdm
=
DB
::
connection
(
'isdm'
)
->
table
(
'v_detil_pegawai'
)
->
where
(
'noktp'
,
$r
->
nik
)
->
select
(
'namalengkap'
,
'nip'
)
->
first
();
if
(
!
empty
(
$isdm
)){
//
if(!empty($isdm)){
$saku
=
[
$saku
=
[
'id_pengajuan'
=>
$hasil
->
id
,
'id_pengajuan'
=>
$hasil
->
id
,
...
@@ -108,14 +108,14 @@ public function store(Request $request){
...
@@ -108,14 +108,14 @@ public function store(Request $request){
'nip'
=>
$isdm
->
nip
'nip'
=>
$isdm
->
nip
];
];
}
else
{
//
} else {
$saku
=
[
//
$saku = [
'id_pengajuan'
=>
$hasil
->
id
,
//
'id_pengajuan' => $hasil->id,
'nik'
=>
$r
->
nik
,
//
'nik' => $r->nik,
'nama'
=>
$r
->
penelaah
,
//
'nama' => $r->penelaah,
'nip'
=>
'NIK belum terdaftar di ISDM. Silakan update ke Kepegawaian.'
//
'nip' => 'NIK belum terdaftar di ISDM. Silakan update ke Kepegawaian.'
];
//
];
}
//
}
Penelaah
::
query
()
->
create
(
$saku
);
Penelaah
::
query
()
->
create
(
$saku
);
}
}
...
@@ -130,7 +130,7 @@ public function store(Request $request){
...
@@ -130,7 +130,7 @@ public function store(Request $request){
DB
::
rollBack
();
DB
::
rollBack
();
return
Redirect
::
route
(
'transaksi.index'
)
return
Redirect
::
route
(
'transaksi.index'
)
->
with
(
'error'
,
'
Data kategori gagal diupdate
'
);
->
with
(
'error'
,
'
NIK tidak terdaftar, silakan update di ISDM
'
);
}
}
}
}
}
}
resources/views/saku/index.blade.php
View file @
48464d45
...
@@ -52,7 +52,11 @@
...
@@ -52,7 +52,11 @@
<td style="
text
-
align
:
left
">{{
$pengajuan->judul
}}</td>
<td style="
text
-
align
:
left
">{{
$pengajuan->judul
}}</td>
<td style="
text
-
align
:
left
">{{
$pengajuan->tahun
}}</td>
<td style="
text
-
align
:
left
">{{
$pengajuan->tahun
}}</td>
<td style="
text
-
align
:
left
">{{
$pengajuan->klasifikasi
}}</td>
<td style="
text
-
align
:
left
">{{
$pengajuan->klasifikasi
}}</td>
<td style="
text
-
align
:
left
">FILE EC</td>
<td style="
text
-
align
:
left
">
@if(!empty(
$pengajuan->file_ec
))
<strong><a href="
https
://
sipeka
.
unesa
.
ac
.
id
/
sipeka
/
file
/
{
!!
$pengajuan
->
file_ec
!!
}
" target="
_blank
" class="
btn
btn
-
success
btn
-
md
">Lihat</a></strong>
@endif
</td>
@php
@php
$kategori
= DB::table('ms_kategori')->where('id',
$pengajuan->id_kategori
)->first();
$kategori
= DB::table('ms_kategori')->where('id',
$pengajuan->id_kategori
)->first();
@endphp
@endphp
...
...
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