Commit 263f79d2 by novanbagus

update kelompok detil2

parent 47a0c611
...@@ -106,11 +106,15 @@ class KelompokController extends Controller ...@@ -106,11 +106,15 @@ class KelompokController extends Controller
$data = ''; $data = '';
$no = 1; $no = 1;
$anggota= 0;
foreach ($kelompok_detil as $key => $value) { foreach ($kelompok_detil as $key => $value) {
if($value->status_ketua == 1) if($value->status_ketua == 1)
$keterangan = "Ketua"; $keterangan = "Ketua";
else else
$keterangan = "Anggota ".$no?:2-1; {
$anggota++;
$keterangan = "Anggota ".$anggota?:1;
}
$data .= " $data .= "
<tr> <tr>
<td>".$no."</td> <td>".$no."</td>
......
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