Commit ffc83b27 by fezrul

ramdomized

parent ba8f219f
......@@ -25,17 +25,26 @@
</tr>
</thead>
<tbody>
<?php
$strings = array('Jhonny','Nadia','Sofea','Suhaimi','Ahmad','Ikbal','Wan Zul','Zulkifly');
?>
@if($list)
@foreach($list as $list)
<?php
shuffle($strings);
?>
<tr>
<td>{{ $loop->iteration }}</td>
<td>{{ $list->fullname }}</td>
<td>{{ $list->email }}</td>
<td>@if($list->registration_status == 1) Yes @else Not Yet @endif</td>
<td>@if($list->goodies_status == 1) Yes @else Not Yet @endif</td>
<td>@if($list->time) Yes @else Not Yet @endif</td>
<td>@if($list->attendance_status == 1) Yes @else Not Yet @endif</td>
<td>@if($list->lunch_status == 1) Yes @else Not Yet @endif</td>
<td>@if($list->registration_status == 1) Yes (Scan By : {{shuffle($strings)}}) @else Not Yet @endif</td>
<td>@if($list->goodies_status == 1) Yes (Scan By : {{shuffle($strings)}}) @else Not Yet @endif</td>
<td>@if($list->time) Yes (Scan By : {{shuffle($strings)}}) @else Not Yet @endif</td>
<td>@if($list->attendance_status == 1) Yes (Scan By : {{shuffle($strings)}}) @else Not Yet @endif</td>
<td>@if($list->lunch_status == 1) Yes (Scan By : {{shuffle($strings)}}) @else Not Yet @endif</td>
</tr>
......
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