@if (@isset($data) && !@empty($data) && count($data) >0 ) @php $i=1; @endphp {{-- --}} {{-- --}} @foreach ($data as $product) {{-- عرض نوع المنتج بناءً على اللغة --}} {{-- عرض العلامة التجارية بناءً على اللغة --}} {{-- --}} {{-- --}} @endforeach
# {{__('home.productNo')}} {{__('home.product')}} {{__('home.branch')}} {{__('supprocesses.product_type')}} {{__('supprocesses.brand')}} {{__('home.groups')}} {{__('home.productlocation')}} {{__('home.quantity')}} {{__('home.purchaseproductwithouttax')}}{{__('home.Wholesale_price')}}{{__('home.sellingproduct without tax')}} {{__('home.refnumber')}}{{__('home.notesClient')}}{{ __('home.operations') }}
{{ $product->id }} {{ $product->Product_Code }} {{ $product->product_name }} {{ $product->branch->name }} @if($product->productType) {{ app()->getLocale() == 'ar' ? $product->productType->name_ar : $product->productType->name_en }} @else - @endif @if($product->brand) {{ app()->getLocale() == 'ar' ? $product->brand->name_ar : $product->brand->name_en }} @else - @endif {{ $product->product_group_data->group_ar }} {{ $product->Product_Location }} {{ $product->numberofpice }} {{ $product->purchasingـprice }}{{ $product->Wholesale_price }}{{ $product->sale_price }} {{ $product->refnumber==null?__('home.notdata'):str_replace("+"," - ",$product->refnumber) }}{{ $product->notes }}{{ __('home.delete') }} {{-- {{__('home.barcode')}} --}}

@else
{{__('home.notfounddata')}}
@endif