@forelse ($barcodes as $key => $barcode) {{ $key + 1 }} {{ $barcode->name }} {{ $barcode->country_code }} {{ $barcode->manufacturer_code }} {{ $barcode->product_code }} {{ date('d-m-Y h:i:s A', strtotime($barcode->created_at)) }} Edit @empty No barcode found @endforelse