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