@extends('layouts.back-end.app') @section('title', translate('product_List')) @section('content')

@if($type == 'in_house') {{ translate('in_House_Product_List') }} @elseif($type == 'seller') {{ translate('vendor_Product_List') }} @endif {{ $products->total() }}

{{ translate('filter_Products') }}

@if (request('type') == 'seller')
@endif
{{ translate('reset') }}
@foreach($products as $key=>$product) @endforeach
{{ translate('SL') }} {{ translate('product Name') }} {{ translate('product Type') }} {{ translate('unit_price') }} {{ translate('show_as_featured') }} {{ translate('active_status') }} {{ translate('action') }}
{{ $products->firstItem()+$key}} {{ Str::limit($product['name'], 20) }} {{ translate(str_replace('_',' ',$product['product_type'])) }} {{setCurrencySymbol(amount: usdToDefaultCurrency(amount: $product['unit_price']), currencyCode: getCurrencyCode()) }} @php($productName = str_replace("'",'`',$product['name']))
@csrf
@csrf
@csrf @method('delete')
{{ $products->links() }}
@if(count($products)==0) @include('layouts.back-end._empty-state',['text'=>'no_product_found'],['image'=>'default']) @endif
@endsection