@php // تعيين اللغة لضمان استمرارها في طلبات الـ AJAX app()->setLocale($getLocale); @endphp @if (isset($data) && !empty($data) && count($data) > 0)
| # | {{ __('home.productNo') }} | {{ __('home.product') }} | {{ __('home.productlocation') }} | {{ __('home.quantity') }} | @can('System setting'){{ __('home.purchaseproductwithouttax') }} | @endcan{{ __('home.sellingproduct without tax') }} | {{ __('home.notesClient') }} | {{ __('home.Add') }} |
|---|---|---|---|---|---|---|---|---|
| {{ $product->id }} | {{ $product->Product_Code }} | {{ $product->product_name }} | {{ $product->Product_Location }} | @if($product->numberofpice <= 0) {{ $product->numberofpice }} / {{ __('home.notavailable') }} @else {{ $product->numberofpice }} @endif | @can('System setting'){{ $product->purchasingـprice }} | @endcan{{ $product->sale_price }} | {{ $product->notes }} |
@php
$count = App\Models\products::where('main_product', $product->main_product)->where('main_product', '!=', 0)->count();
@endphp
@if($count > 1)
@endif
|