تفاصيل الطلب

@foreach($details as $detail) @php $key = (is_object($detail) && $detail->id>0)?$detail->id:$loop->index ; @endphp @livewire('order-details', ['details' => $detail , 'category_id'=>$category_id,'key'=>$loop->index ] , key($key) )
@endforeach