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
b92469b1
Commit
b92469b1
authored
Nov 23, 2022
by
Farendi Giotivano R.P
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ganti status
parent
bb453243
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
5 deletions
+19
-5
app/Http/Controllers/Dosen/ProposalController.php
+1
-1
app/Http/Controllers/Mahasiswa/ProposalController.php
+1
-1
resources/views/backend/dosen/proposal/index.blade.php
+1
-1
resources/views/backend/mahasiswa/proposal/index.blade.php
+16
-2
No files found.
app/Http/Controllers/Dosen/ProposalController.php
View file @
b92469b1
...
@@ -56,7 +56,7 @@ class ProposalController extends Controller
...
@@ -56,7 +56,7 @@ class ProposalController extends Controller
$proposal
=
Proposal
::
query
()
->
find
(
decrypt
(
$proId
[
'id'
]));
$proposal
=
Proposal
::
query
()
->
find
(
decrypt
(
$proId
[
'id'
]));
$proposal
->
status
=
2
;
$proposal
->
status
=
1
;
$proposal
->
date_approval
=
now
();
$proposal
->
date_approval
=
now
();
$proposal
->
save
();
$proposal
->
save
();
...
...
app/Http/Controllers/Mahasiswa/ProposalController.php
View file @
b92469b1
...
@@ -70,7 +70,7 @@ class ProposalController extends Controller
...
@@ -70,7 +70,7 @@ class ProposalController extends Controller
$kelompok
=
Kelompok
::
where
(
'created_user'
,
auth
()
->
user
()
->
id
)
$kelompok
=
Kelompok
::
where
(
'created_user'
,
auth
()
->
user
()
->
id
)
->
where
(
'periode_id'
,
$periode
->
periode_id
)
->
where
(
'periode_id'
,
$periode
->
periode_id
)
->
where
(
'status'
,
'
1
'
)
->
where
(
'status'
,
'
0
'
)
->
first
();
->
first
();
if
(
is_null
(
$kelompok
)){
if
(
is_null
(
$kelompok
)){
...
...
resources/views/backend/dosen/proposal/index.blade.php
View file @
b92469b1
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
Upload proposal pada : -<br>
Upload proposal pada : -<br>
Disetujui proposal pada : -<br>
Disetujui proposal pada : -<br>
@else
@else
@if(
$item->status
== '
2
')
@if(
$item->status
== '
1
')
<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>
...
...
resources/views/backend/mahasiswa/proposal/index.blade.php
View file @
b92469b1
...
@@ -78,10 +78,24 @@
...
@@ -78,10 +78,24 @@
<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(is_null(
$item->upload_dokumen
))
<span class="
badge
bg
-
danger
">Menunggu Persetujuan Dosen</span>
<span class="
badge
bg
-
danger
">Belum Upload Proposal</span>
<strong> Keterangan : </strong> <br>
Upload proposal pada : -<br>
Disetujui proposal pada : -<br>
@else
@if(
$item->status
== '0')
<span class="
badge
bg
-
warning
">Menunggu Persetujuan Dosen</span>
<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
@else
<span class="
badge
bg
-
success
">Sudah Disetujui Dosen</span>
<span class="
badge
bg
-
success
">Sudah Disetujui Dosen</span>
<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
@endif
</td>
</td>
<td>
<td>
...
...
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