@php $default_settings = getDefaultSettings(null, 2) @endphp @if($default_settings->dual_unit != null) @endif @php $row_count = request()->row_count??0; @endphp @foreach ($products as $i => $item) @if($default_settings->dual_unit != null) @endif @endforeach
# {{__('obs.name')}} {{__('obs.local')}} {{__('obs.short_name')}} {{__('obs.item_group')}} {{__('obs.serial')}} {{__('obs.barcode')}} {{__('obs.category_name')}} {{__('obs.buy_price')}} {{__('obs.sell')}} {{__('obs.price')}}{{__('obs.buy_price')}}({{__('obs.primary')}}) {{__('obs.sell_price')}}({{__('obs.primary')}}){{__('obs.fixed_commission')}} {{__('obs.image')}} {{__('obs.status')}} {{__('obs.action')}}
{{ ++$row_count }} {!! active_user() == 1 && $item->availQty ? '('.$item->availQty->avail.")" : "" !!} {{ $item->name_eng }} {{ $item->name_local }} {{ $item->short_name }} {{ $item->itemGroup->name ?? '' }} {{ $item->serial }} {{ $item->barcode }} {{ $item->catByCatCode->name_eng ?? '' }} {{ round($item->buy_price, 2) }} {{ round($item->sell_price, 2) }}{{ round(($item->buy_price * $item->unit_quantity), 2) }} {{ round(($item->sell_price * $item->unit_quantity), 2) }}{{ $item->fixed_commission }} {{-- --}} @if(is_array($item->image)) @foreach($item->image as $image) @endforeach @else @endif @if(checkAuthPermission('product.change-status'))
status == 1) checked @endif />
@endif {{-- @if($item->current_price != null) {{ round(($item->current_price->sell_price * $item->unit_quantity), 2) }} @elseif($item->sale_price != null) {{ round(($item->sale_price->sell_price * $item->unit_quantity), 2) }} @else Not Used @endif --}}
{{-- @if(checkAuthPermission('product.show_child')) --}} {{-- @endif --}} @if(checkAuthPermission('product.edit')) @if( $item->parent_id == null ) @endif @endif
Total Products: {{ number_format($products->total()) }}