first commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
@php
|
||||
$order_number = 0;
|
||||
@endphp
|
||||
<a class="btn btn-primary btn-custom" href="{{route($route_name_update)}}?id=0">Thêm mới</a>
|
||||
<div class="container">
|
||||
<table class="datatable table table-striped table-bordered" id="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center">STT</th>
|
||||
<th>Tên hiển thị</th>
|
||||
<th>Tên đăng nhập</th>
|
||||
<th class="text-center">Trạng thái</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($data as $item)
|
||||
<tr>
|
||||
<td class="text-center">{{++$order_number ?? ''}}</td>
|
||||
<td>
|
||||
<a class="custom-link" href="{{route($route_name_update)}}?id={{$item->id ?? ''}}">{{$item->name ?? ''}}</a>
|
||||
</td>
|
||||
<td>
|
||||
{{$item->email ?? ''}}
|
||||
</td>
|
||||
<td class="text-center">
|
||||
{{$item->status == 1 ? 'Đang hoạt động' : 'Ngừng hoạt động'}}
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
Reference in New Issue
Block a user