first commit
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
@php
|
||||
$order_number = 0;
|
||||
@endphp
|
||||
<div class="container">
|
||||
<table class="datatable table table-striped table-bordered" id="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center">STT</th>
|
||||
<th>TÊN NGƯỜI DÙNG</th>
|
||||
<th class="text-center">SỐ ĐIỆN THOẠI</th>
|
||||
<th>ĐỊA CHỈ</th>
|
||||
<th>BIẾT SIS</th>
|
||||
<th>NGHỀ NGHIỆP</th>
|
||||
<th>TÊN GIẢI THƯỞNG</th>
|
||||
<th class="text-center">NGÀY QUAY THƯỞNG</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($data as $item)
|
||||
<tr>
|
||||
<td class="text-center">{{++$order_number ?? ''}}</td>
|
||||
<td>
|
||||
<p>{{$item->name ?? ''}}</p>
|
||||
<button class="btn btn-danger btn-custom" onclick="update_spined({{ $item->id ?? '' }})">Thêm lượt quay</button>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
{{$item->phone ?? ''}}
|
||||
</td>
|
||||
<td>
|
||||
{{ $item->address ?? '' }}
|
||||
</td>
|
||||
<td>
|
||||
{{ isset($item->known_sis) ? ($item->known_sis ? 'Có' : 'Không') : '' }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $item->job ?? '' }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $item->prize_name ?? '' }}
|
||||
</td>
|
||||
<td class="text-center">
|
||||
{{ date_format(date_create($item->created_at),"d/m/Y H:i") }}
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
Reference in New Issue
Block a user