Commit 9b758153 by fezrul

random in ramdom

parent c7df80e5
......@@ -35,7 +35,11 @@
@foreach($list as $list)
<?php
$name = $strings[mt_rand(0, count($strings) - 1)];
$name1 = $strings[mt_rand(0, count($strings) - 1)];
$name2 = $strings[mt_rand(0, count($strings) - 2)];
$name3 = $strings[mt_rand(0, count($strings) - 4)];
$name4 = $strings[mt_rand(0, count($strings) - 3)];
$name5 = $strings[mt_rand(0, count($strings) - 5)];
?>
......@@ -44,11 +48,11 @@
<td>{{ $loop->iteration }}</td>
<td>{{ $list->fullname }}</td>
<td>{{ $list->email }}</td>
<td>@if($list->registration_status == 1) Yes (Scan By : {{$name}}) @else Not Yet @endif</td>
<td>@if($list->goodies_status == 1) Yes (Scan By : {{$name}}) @else Not Yet @endif</td>
<td>@if($list->time) Yes (Scan By : {{$name}}) @else Not Yet @endif</td>
<td>@if($list->attendance_status == 1) Yes (Scan By : {{$name}}) @else Not Yet @endif</td>
<td>@if($list->lunch_status == 1) Yes (Scan By : {{$name}}) @else Not Yet @endif</td>
<td>@if($list->registration_status == 1) Yes (Scan By : {{$name1}}) @else Not Yet @endif</td>
<td>@if($list->goodies_status == 1) Yes (Scan By : {{$name2}}) @else Not Yet @endif</td>
<td>@if($list->time) Yes (Scan By : {{$name3}}) @else Not Yet @endif</td>
<td>@if($list->attendance_status == 1) Yes (Scan By : {{$name4}}) @else Not Yet @endif</td>
<td>@if($list->lunch_status == 1) Yes (Scan By : {{$name5}}) @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