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
635b9207
Commit
635b9207
authored
Feb 25, 2023
by
novanbagus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update periode_id
parent
23ddea9b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
+9
-3
app/Http/Controllers/Operator/ReviewerController.php
+4
-1
app/Http/Controllers/Operator/ReviewerMonevController.php
+3
-1
app/Http/Controllers/Reviewer/DaftarSeleksiController.php
+1
-0
resources/views/backend/reviewer/seleksi/index.blade.php
+1
-1
No files found.
app/Http/Controllers/Operator/ReviewerController.php
View file @
635b9207
...
@@ -12,6 +12,7 @@ use Crypt;
...
@@ -12,6 +12,7 @@ use Crypt;
use
App\Models\User
;
use
App\Models\User
;
use
GuzzleHttp\Client
;
use
GuzzleHttp\Client
;
use
App\Models\Periode
;
use
App\Models\Reviewer
;
use
App\Models\Reviewer
;
use
App\Traits\LoginTrait
;
use
App\Traits\LoginTrait
;
use
Illuminate\Http\Request
;
use
Illuminate\Http\Request
;
...
@@ -107,7 +108,9 @@ class ReviewerController extends Controller
...
@@ -107,7 +108,9 @@ class ReviewerController extends Controller
public
function
store
(
Request
$request
)
public
function
store
(
Request
$request
)
{
{
$reqPeriodeId
=
'9857a29d-521f-413a-b811-94cda7b45897'
;
$periode
=
Periode
::
where
(
'status'
,
1
)
->
first
();
$reqPeriodeId
=
$periode
->
periode_id
;
$reqJenisMonevId
=
'ba11c2b5-d65d-4360-9717-98e4fa9b9188'
;
$reqJenisMonevId
=
'ba11c2b5-d65d-4360-9717-98e4fa9b9188'
;
$result
=
$this
->
login_reviewer
(
$request
->
input
(
'nidn'
));
$result
=
$this
->
login_reviewer
(
$request
->
input
(
'nidn'
));
...
...
app/Http/Controllers/Operator/ReviewerMonevController.php
View file @
635b9207
...
@@ -114,7 +114,9 @@ class ReviewerMonevController extends Controller
...
@@ -114,7 +114,9 @@ class ReviewerMonevController extends Controller
public
function
store
(
Request
$request
)
public
function
store
(
Request
$request
)
{
{
$reqPeriodeId
=
'9857a29d-521f-413a-b811-94cda7b45897'
;
$periode
=
Periode
::
where
(
'status'
,
1
)
->
first
();
$reqPeriodeId
=
$periode
->
periode_id
;
$reqJenisMonevId
=
Crypt
::
decrypt
(
$request
->
input
(
'jenis_monev_id'
));
$reqJenisMonevId
=
Crypt
::
decrypt
(
$request
->
input
(
'jenis_monev_id'
));
$result
=
$this
->
login_reviewer
(
$request
->
input
(
'nidn'
));
$result
=
$this
->
login_reviewer
(
$request
->
input
(
'nidn'
));
...
...
app/Http/Controllers/Reviewer/DaftarSeleksiController.php
View file @
635b9207
...
@@ -236,6 +236,7 @@ class DaftarSeleksiController extends Controller
...
@@ -236,6 +236,7 @@ class DaftarSeleksiController extends Controller
{
{
try
{
try
{
$urut
=
DB
::
select
(
"select ambil_data_reviewer_proposal('"
.
$this
->
rBiodata
->
noidentitas
.
"', '"
.
decrypt
(
$id
)
.
"', '1')"
)[
0
]
->
ambil_data_reviewer_proposal
;
$urut
=
DB
::
select
(
"select ambil_data_reviewer_proposal('"
.
$this
->
rBiodata
->
noidentitas
.
"', '"
.
decrypt
(
$id
)
.
"', '1')"
)[
0
]
->
ambil_data_reviewer_proposal
;
dd
(
decrypt
(
$id
));
$delete
=
ReviewerProposal
::
where
(
'proposal_id'
,
Crypt
::
decrypt
(
$id
))
->
where
(
'urut'
,
$urut
)
->
update
([
'status_administrasi'
=>
$status
]);
$delete
=
ReviewerProposal
::
where
(
'proposal_id'
,
Crypt
::
decrypt
(
$id
))
->
where
(
'urut'
,
$urut
)
->
update
([
'status_administrasi'
=>
$status
]);
...
...
resources/views/backend/reviewer/seleksi/index.blade.php
View file @
635b9207
...
@@ -122,7 +122,7 @@
...
@@ -122,7 +122,7 @@
})
})
.done(function(response){
.done(function(response){
swal.fire('Updated!', response.message, response.status).then(function(){
swal.fire('Updated!', response.message, response.status).then(function(){
location.reload();
//
location.reload();
});
});
})
})
.fail(function(){
.fail(function(){
...
...
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