@php $items = DB::table('items')->where('status', 'enable')->where('type', 'own') ->where('item_category_id',1)->orderBy('name')->get(); dd($items); @endphp @php $i=0; @endphp @foreach ($items as $item) @endforeach
# Name Price
{{++$i}} {{$item->name}}
{{$item->name_tamil}}
{{$item->name_sinhala}}