Is there a problem if you use the product id? which i suppose you have one in your product table
{{ $key+1+(($employees->getCurrentPage()-1)*$employees->getPerPage()) }}
Change $key with $index and $employees with your collection
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community