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
98b75504
Commit
98b75504
authored
Feb 25, 2023
by
novanbagus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update const periode_id
parent
2d838e71
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
4 deletions
+13
-4
app/Http/Controllers/Operator/DaftarProposalController.php
+4
-1
app/Http/Controllers/Operator/MonevProposalController.php
+4
-1
app/Http/Controllers/Reviewer/DaftarMonevController.php
+5
-1
app/Http/Controllers/Reviewer/DaftarSeleksiController.php
+0
-1
No files found.
app/Http/Controllers/Operator/DaftarProposalController.php
View file @
98b75504
...
@@ -40,6 +40,9 @@ class DaftarProposalController extends Controller
...
@@ -40,6 +40,9 @@ class DaftarProposalController extends Controller
/* AJAX request */
/* AJAX request */
public
function
getData
(
Request
$request
){
public
function
getData
(
Request
$request
){
$periode
=
Periode
::
where
(
'status'
,
1
)
->
first
();
$reqPeriodeId
=
$periode
->
periode_id
;
// parameter
// parameter
$jenis
=
$request
->
get
(
'jenis'
);
$jenis
=
$request
->
get
(
'jenis'
);
$status
=
$request
->
get
(
'status'
);
$status
=
$request
->
get
(
'status'
);
...
@@ -116,7 +119,7 @@ class DaftarProposalController extends Controller
...
@@ -116,7 +119,7 @@ class DaftarProposalController extends Controller
// $delete = "confirmLolos('".Crypt::encrypt($reviewer_id)."')";
// $delete = "confirmLolos('".Crypt::encrypt($reviewer_id)."')";
$reviewer
=
Reviewer
::
where
(
'periode_id'
,
DaftarProposalController
::
periode_i
d
)
$reviewer
=
Reviewer
::
where
(
'periode_id'
,
$reqPeriodeI
d
)
->
where
(
'jenis_monev_id'
,
'ba11c2b5-d65d-4360-9717-98e4fa9b9188'
)
->
where
(
'jenis_monev_id'
,
'ba11c2b5-d65d-4360-9717-98e4fa9b9188'
)
->
where
(
"status_hapus"
,
'0'
)
->
where
(
"status_hapus"
,
'0'
)
->
get
();
->
get
();
...
...
app/Http/Controllers/Operator/MonevProposalController.php
View file @
98b75504
...
@@ -43,6 +43,9 @@ class MonevProposalController extends Controller
...
@@ -43,6 +43,9 @@ class MonevProposalController extends Controller
/* AJAX request */
/* AJAX request */
public
function
getData
(
Request
$request
){
public
function
getData
(
Request
$request
){
$periode
=
Periode
::
where
(
'status'
,
1
)
->
first
();
$reqPeriodeId
=
$periode
->
periode_id
;
// parameter
// parameter
$jenis
=
$request
->
get
(
'jenis'
);
$jenis
=
$request
->
get
(
'jenis'
);
$status
=
$request
->
get
(
'status'
);
$status
=
$request
->
get
(
'status'
);
...
@@ -124,7 +127,7 @@ class MonevProposalController extends Controller
...
@@ -124,7 +127,7 @@ class MonevProposalController extends Controller
// $delete = "confirmLolos('".Crypt::encrypt($reviewer_id)."')";
// $delete = "confirmLolos('".Crypt::encrypt($reviewer_id)."')";
$reviewer
=
Reviewer
::
where
(
'periode_id'
,
MonevProposalController
::
periode_i
d
)
$reviewer
=
Reviewer
::
where
(
'periode_id'
,
$reqPeriodeI
d
)
->
where
(
'jenis_monev_id'
,
$jenis_monev_id
)
->
where
(
'jenis_monev_id'
,
$jenis_monev_id
)
->
where
(
"status_hapus"
,
'0'
)
->
where
(
"status_hapus"
,
'0'
)
->
get
();
->
get
();
...
...
app/Http/Controllers/Reviewer/DaftarMonevController.php
View file @
98b75504
...
@@ -42,8 +42,11 @@ class DaftarMonevController extends Controller
...
@@ -42,8 +42,11 @@ class DaftarMonevController extends Controller
public
function
index
(
$id
)
public
function
index
(
$id
)
{
{
$periode
=
Periode
::
where
(
'status'
,
1
)
->
first
();
$reqPeriodeId
=
$periode
->
periode_id
;
$jenis_monev
=
JenisMonev
::
select
(
'nama'
)
->
where
(
'jenis_monev_id'
,
Crypt
::
decrypt
(
$id
))
->
first
();
$jenis_monev
=
JenisMonev
::
select
(
'nama'
)
->
where
(
'jenis_monev_id'
,
Crypt
::
decrypt
(
$id
))
->
first
();
$jadwal
=
JadwalKegiatan
::
where
(
'periode_id'
,
DaftarMonevController
::
periode_i
d
)
->
where
(
'nama'
,
$jenis_monev
->
nama
)
->
first
();
$jadwal
=
JadwalKegiatan
::
where
(
'periode_id'
,
$reqPeriodeI
d
)
->
where
(
'nama'
,
$jenis_monev
->
nama
)
->
first
();
$data
=
[
$data
=
[
'id'
=>
$id
,
'id'
=>
$id
,
'jadwal'
=>
$jadwal
,
'jadwal'
=>
$jadwal
,
...
@@ -53,6 +56,7 @@ class DaftarMonevController extends Controller
...
@@ -53,6 +56,7 @@ class DaftarMonevController extends Controller
/* AJAX request */
/* AJAX request */
public
function
getData
(
Request
$request
){
public
function
getData
(
Request
$request
){
## Read value
## Read value
$draw
=
$request
->
get
(
'draw'
);
$draw
=
$request
->
get
(
'draw'
);
$start
=
$request
->
get
(
"start"
);
$start
=
$request
->
get
(
"start"
);
...
...
app/Http/Controllers/Reviewer/DaftarSeleksiController.php
View file @
98b75504
...
@@ -25,7 +25,6 @@ use App\Models\ReviewerProposalDetil;
...
@@ -25,7 +25,6 @@ use App\Models\ReviewerProposalDetil;
class
DaftarSeleksiController
extends
Controller
class
DaftarSeleksiController
extends
Controller
{
{
private
const
periode_id
=
'9857a29d-521f-413a-b811-94cda7b45897'
;
public
function
__construct
()
public
function
__construct
()
{
{
...
...
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