|
|
@ -43,13 +43,13 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
|
<form action="{{route('admin.customer.bulk')}}" method="post" class="bulk-action" >
|
|
|
|
<form action="{{route('admin.customer.bulk')}}" method="post" class="bulk-action mt-3" >
|
|
|
|
@csrf
|
|
|
|
@csrf
|
|
|
|
<table class="table table-striped table-bordered ">
|
|
|
|
<table class="table table-striped table-bordered text-center">
|
|
|
|
<thead class="thead-dark">
|
|
|
|
<thead class="thead-dark">
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>
|
|
|
|
<th>
|
|
|
|
<input type="checkbox" class="chkall"/>
|
|
|
|
#
|
|
|
|
</th>
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
<th>
|
|
|
|
{{__("Name")}}
|
|
|
|
{{__("Name")}}
|
|
|
@ -62,8 +62,9 @@
|
|
|
|
</th>
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
<th>
|
|
|
|
{{__("Action")}}
|
|
|
|
{{__("Action")}}
|
|
|
|
<a href="{{route('admin.customer.create')}}" class="btn btn-success float-start"><i
|
|
|
|
</th>
|
|
|
|
class="fa fa-plus"></i></a>
|
|
|
|
<th>
|
|
|
|
|
|
|
|
<input type="checkbox" class="chkall"/>
|
|
|
|
</th>
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</thead>
|
|
|
@ -71,7 +72,6 @@
|
|
|
|
@foreach ($customers as $customer)
|
|
|
|
@foreach ($customers as $customer)
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<input type="checkbox" name="id[]" value="{{$customer->id}}" class="m-2 chkbox"/>
|
|
|
|
|
|
|
|
{{$customer->id}}
|
|
|
|
{{$customer->id}}
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
@ -85,15 +85,16 @@
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<a href="{{route('admin.customer.edit',$customer->id)}}" class="btn btn-primary">
|
|
|
|
<a href="{{route('admin.customer.edit',$customer->id)}}" class="btn btn-primary">
|
|
|
|
<i class="fa fa-edit"></i>
|
|
|
|
<i class="ri-edit-2-line"></i>
|
|
|
|
{{__("Edit")}}
|
|
|
|
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
<a href="{{route('admin.customer.delete',$customer->id)}}"
|
|
|
|
<a href="{{route('admin.customer.delete',$customer->id)}}"
|
|
|
|
class="btn btn-danger delete-confirm">
|
|
|
|
class="btn btn-danger delete-confirm">
|
|
|
|
<i class="fa fa-times"></i>
|
|
|
|
<i class="ri-close-line"></i>
|
|
|
|
{{__("Delete")}}
|
|
|
|
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
|
|
|
|
<input type="checkbox" name="id[]" value="{{$customer->id}}" class="m-2 chkbox"/>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
@endforeach
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
@ -103,5 +104,8 @@
|
|
|
|
<div class="text-center pt-3">
|
|
|
|
<div class="text-center pt-3">
|
|
|
|
{{$customers->appends(request()->input())->links()}}
|
|
|
|
{{$customers->appends(request()->input())->links()}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<a class="btn-add" href="{{route('admin.customer.create')}}">
|
|
|
|
|
|
|
|
<i class="ri-add-line"></i>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|
|
|
|
@endsection
|
|
|
|