Commit 020b6f53 by Novan Bagus Setiawan

update status proposal mahasiswa sisi dosen dan mahasiswa

parent 5f3d8a31
......@@ -82,7 +82,7 @@ class ProposalController extends Controller
</div>';
}
if(is_null($item->status)){
if(is_null($item->status) OR $item->status == '0'){
$status = '<span class="badge bg-danger">Menunggu Persetujuan Dosen</span>';
}else{
$status = '<span class="badge bg-success">Sudah Disetujui Dosen</span>';
......
......@@ -134,7 +134,7 @@
<tr>
<th>Status</th>
<td>
@if(is_null($item->status))
@if(is_null($item->status) OR $item->status == '0')
<span class="badge bg-danger">Menunggu Persetujuan Dosen</span>
@else
<span class="badge bg-success">Sudah Disetujui Dosen</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment