@include('flash_msg')
{{--
# | USER NAME | SUB TOTAL AMOUNT | GST AMOUNT | COUPON CODE | COUPON AMOUNT | GRANT TOTAL |
---|---|---|---|---|---|---|
{{ ++$key }} | @if ($value->user) {{ $value->user->name }} @else User not found @endif | {{ $value->subTotalAmount }} | {{ $value->gstAmount }} | {{ $value->couponCode}} | {{ $value->couponAmount }} | {{ $value->grantTotal }} |
No Orders display. | ||||||
# | User Name | Sub Total Amount | Gst Amount | Coupon Code | Coupon Amount | Grant Total |
Displaying {{$orders->count()}} of {{ $orders->total() }} Add Orders.
{{ $memberships->appends(request()->all())->links() }}
--}}
-
@if ($orders->currentPage() > 1)
- < @endif @if ($orders->currentPage() > 3)
- 1
- ... @endif @foreach(range(max(1, $orders->currentPage() - 2), min($orders->lastPage(), $orders->currentPage() + 2)) as $page)
- {{ $page }} @endforeach @if ($orders->currentPage() < $orders->lastPage() - 2)
- ...
- {{ $orders->lastPage() }} @endif @if ($orders->hasMorePages())
- > @endif