@php
$itemName=($row->vm_name!="")?" - ".$row->vm_name:"";
@endphp
{{ $row->itm_name .$itemName }}
@if($row->vitem_id)
@endif
@php
$extraIds=[];
@endphp
@if(isset($extraIngredients[$row->itm_id]) && count($extraIngredients[$row->itm_id]) > 0)
@php
$extraCount = count($extraIngredients[$row->itm_id]);
@endphp
@foreach($extraIngredients[$row->itm_id] as $detail)
@php
$groupName = $detail['group_name'];
$maxSelectExtra = $detail['max_select'];
$minSelectExtra = $detail['min_select'];
@endphp
@if($detail['is_default'] == 1)
@php
// $extraIds .= $detail['id'].',';
array_push($extraIds,$detail['id']);
$addedExtra .= '+'.trim($detail['name']).', ';
$totalExtraPrice += $detail['price'];
@endphp
@endif
@endforeach
{{ rtrim($addedExtra , ', ') }}
{{-- means design with image extra items --}}
@foreach($extraIngredients[$row->itm_id] as $detail)
 }})
{{ $detail['name'] }}
{{ numberFormat($detail['price']) }}
@if($detail['is_default'] == 0)
@else
@endif
@endforeach
@endif