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
2 years ago
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
$proposal
=
Proposal
::
query
()
->
find
(
decrypt
(
$proId
[
'id'
]));
$proposal
->
status
=
2
;
$proposal
->
status
=
1
;
$proposal
->
date_approval
=
now
();
$proposal
->
save
();
...
...
This diff is collapsed.
Click to expand it.
app/Http/Controllers/Mahasiswa/ProposalController.php
View file @
b92469b1
...
...
@@ -70,7 +70,7 @@ class ProposalController extends Controller
$kelompok
=
Kelompok
::
where
(
'created_user'
,
auth
()
->
user
()
->
id
)
->
where
(
'periode_id'
,
$periode
->
periode_id
)
->
where
(
'status'
,
'
1
'
)
->
where
(
'status'
,
'
0
'
)
->
first
();
if
(
is_null
(
$kelompok
)){
...
...
This diff is collapsed.
Click to expand it.
resources/views/backend/dosen/proposal/index.blade.php
View file @
b92469b1
...
...
@@ -83,7 +83,7 @@
Upload proposal pada : -<br>
Disetujui proposal pada : -<br>
@else
@if(
$item->status
== '
2
')
@if(
$item->status
== '
1
')
<span class="
badge
bg
-
success
">Sudah Disetujui Dosen</span> <br>
<strong> Keterangan : </strong> <br>
Upload proposal pada : <h6 class="
text
-
primary
"> {{
$item->date_upload
}} </h6>
...
...
This diff is collapsed.
Click to expand it.
resources/views/backend/mahasiswa/proposal/index.blade.php
View file @
b92469b1
...
...
@@ -78,10 +78,24 @@
<td>{{
$item->rJenis
->nama }}</td>
<td>{{
$item->judul
}}</td>
<td>
@if(is_null(
$item->status
))
<span class="
badge
bg
-
danger
">Menunggu Persetujuan Dosen</span>
@if(is_null(
$item->upload_dokumen
))
<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
<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
</td>
<td>
...
...
This diff is collapsed.
Click to expand it.
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