Commit 59e511a4 by Siti Aisah

add if konferensi kosong

parent 43c47728
...@@ -136,9 +136,13 @@ ...@@ -136,9 +136,13 @@
@endforeach @endforeach
</td> </td>
<td align="left"> <td align="left">
@if($k->konferensi)
@foreach($keg as $k) @foreach($keg as $k)
{{ $k->konferensi.";" }}<br> {{ $k->konferensi.";" }}<br>
@endforeach @endforeach
@else
Tidak terdaftar
@endif
</td> </td>
<td>{{ $p->created_at }}</td> <td>{{ $p->created_at }}</td>
<td>{{ $p->tanggal_bayar }}</td> <td>{{ $p->tanggal_bayar }}</td>
......
...@@ -53,9 +53,13 @@ ...@@ -53,9 +53,13 @@
@endforeach @endforeach
</td> </td>
<td align="left"> <td align="left">
@if($k->konferensi)
@foreach($keg as $k) @foreach($keg as $k)
{{ $k->konferensi.";" }}<br> {{ $k->konferensi.";" }}<br>
@endforeach @endforeach
@else
Tidak terdaftar
@endif
</td> </td>
<td> <td>
<a href="{{route('regenerateVa', ['id' => $p->id])}}" type="button" class="btn btn-warning"><i class="fa fa-refresh" aria-hidden="true"></i> Re-Generate VA</a> <a href="{{route('regenerateVa', ['id' => $p->id])}}" type="button" class="btn btn-warning"><i class="fa fa-refresh" aria-hidden="true"></i> Re-Generate VA</a>
......
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