|
|
@ -9,11 +9,11 @@
|
|
|
|
@include('starter-kit::component.err')
|
|
|
|
@include('starter-kit::component.err')
|
|
|
|
<form action="{{route('admin.discount.bulk')}}" method="post" class="bulk-action">
|
|
|
|
<form action="{{route('admin.discount.bulk')}}" method="post" class="bulk-action">
|
|
|
|
@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>
|
|
|
|
{{__("Type")}}
|
|
|
|
{{__("Type")}}
|
|
|
@ -29,8 +29,9 @@
|
|
|
|
</th>
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
<th>
|
|
|
|
{{__("Action")}}
|
|
|
|
{{__("Action")}}
|
|
|
|
<a href="{{route('admin.discount.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>
|
|
|
@ -38,7 +39,6 @@
|
|
|
|
@foreach ($discounts as $n)
|
|
|
|
@foreach ($discounts as $n)
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<input type="checkbox" name="id[]" value="{{$n->id}}" class="m-2 chkbox"/>
|
|
|
|
|
|
|
|
{{$n->id}}
|
|
|
|
{{$n->id}}
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
@ -70,15 +70,16 @@
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<a href="{{route('admin.discount.edit',$n->id)}}" class="btn btn-primary">
|
|
|
|
<a href="{{route('admin.discount.edit',$n->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.discount.delete',$n->id)}}"
|
|
|
|
<a href="{{route('admin.discount.delete',$n->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="{{$n->id}}" class="m-2 chkbox"/>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
@endforeach
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
@ -89,4 +90,7 @@
|
|
|
|
{{$discounts->links()}}
|
|
|
|
{{$discounts->links()}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<a class="btn-add" href="{{route('admin.discount.create')}}">
|
|
|
|
|
|
|
|
<i class="ri-add-line"></i>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
@endsection
|
|
|
|
@endsection
|
|
|
|