Commit e0256537 by fezrul

ramdom

parent d7a4bb21
......@@ -28,19 +28,17 @@
<?php
$strings = array('Jhonny','Nadia','Sofea','Suhaimi','Ahmad','Ikbal','Wan Zul','Zulkifly');
$rand_keys = array_rand($strings, 2);
?>
@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 (Scan By : shuffle($strings)) @else Not Yet @endif</td>
<td>@if($list->registration_status == 1) Yes (Scan By : $input[$rand_keys[$loop->iteration]) @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>
......
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