solve dashboard survey petani
This commit is contained in:
@@ -401,6 +401,10 @@
|
||||
Petani
|
||||
</th>
|
||||
|
||||
<th style="font-size:10px;letter-spacing:.7px;text-transform:uppercase">
|
||||
Komoditas
|
||||
</th>
|
||||
|
||||
<th class="text-center"
|
||||
style="font-size:10px;letter-spacing:.7px;text-transform:uppercase">
|
||||
Lahan
|
||||
@@ -474,19 +478,28 @@
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<span
|
||||
class="badge bg-label-secondary text-secondary"
|
||||
title="{{ $petani['komoditas'] }}"
|
||||
>
|
||||
{{ $petani['komoditas'] }}
|
||||
</span>
|
||||
</td>
|
||||
|
||||
@foreach ($petani['status'] as $status)
|
||||
<td class="text-center">
|
||||
@if ($status['done'])
|
||||
<span
|
||||
class="badge rounded-pill bg-label-success text-success"
|
||||
title="{{ $status['label'] }} sudah diisi"
|
||||
title="{{ $status['label'] }} lengkap"
|
||||
>
|
||||
<i class="ti tabler-check"></i>
|
||||
</span>
|
||||
@else
|
||||
<span
|
||||
class="badge rounded-pill bg-label-secondary text-secondary"
|
||||
title="{{ $status['label'] }} belum diisi"
|
||||
title="{{ $status['label'] }} belum lengkap"
|
||||
>
|
||||
<i class="ti tabler-minus"></i>
|
||||
</span>
|
||||
@@ -533,7 +546,7 @@
|
||||
</tr>
|
||||
@empty
|
||||
<tr>
|
||||
<td colspan="7" class="text-center text-muted py-4">
|
||||
<td colspan="8" class="text-center text-muted py-4">
|
||||
Belum ada data petani.
|
||||
</td>
|
||||
</tr>
|
||||
@@ -818,4 +831,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user