Commit 020b6f53 by Novan Bagus Setiawan

update status proposal mahasiswa sisi dosen dan mahasiswa

parent 5f3d8a31
...@@ -82,7 +82,7 @@ class ProposalController extends Controller ...@@ -82,7 +82,7 @@ class ProposalController extends Controller
</div>'; </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>'; $status = '<span class="badge bg-danger">Menunggu Persetujuan Dosen</span>';
}else{ }else{
$status = '<span class="badge bg-success">Sudah Disetujui Dosen</span>'; $status = '<span class="badge bg-success">Sudah Disetujui Dosen</span>';
......
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
<tr> <tr>
<th>Status</th> <th>Status</th>
<td> <td>
@if(is_null($item->status)) @if(is_null($item->status) OR $item->status == '0')
<span class="badge bg-danger">Menunggu Persetujuan Dosen</span> <span class="badge bg-danger">Menunggu Persetujuan Dosen</span>
@else @else
<span class="badge bg-success">Sudah Disetujui Dosen</span> <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