@foreach ($items as $key => $item) @endforeach
@lang('SL') @lang('Code Number') @lang('Type Name') @lang('Discount Type') @lang('Value Type') @lang('Start Date') @lang('End Date') @lang('Value/Amount/Parcantage') @lang('Status') @lang('Total Product') @lang('Actions')
{{ ($items->currentpage() - 1) * $items->perpage() + $key + 1 }} {{ $item->discount_code }} {{ $item->discount_type_name }} {{ $item->dicount_type }} {{ $item->amount_type }} {{ $item->start_date }} {{ $item->end_date }} {{ $item->value }} {{ $item->status }} {{ $item->total_products }}
@if ($items instanceof \Illuminate\Pagination\LengthAwarePaginator) {{ $items->links('layouts.paginate') }} @endif