@extends('layouts.back-end.app') @section('title',$seller?->shop->name ?? translate("shop_name_not_found")) @section('content')

{{translate('vendor_details')}}

@if ($seller->status=="pending")

{{translate('vendor_request_for_open_a_shop')}}
@csrf
@csrf
@endif
{{translate('products')}} {{$products->total()}}
@foreach($products as $k=>$product) @endforeach
{{translate('SL')}} {{translate('product Name')}} {{translate('product_Type')}} {{translate('selling_price')}} {{translate('featured')}} {{translate('active_status')}} {{translate('action')}}
{{$products->firstItem()+$k}}
{{ substr($product['name'], 0, 20) }}{{ strlen($product['name']) > 20 ? '...' : '' }}
@if($product?->clearanceSale)
{{ translate('Clearance_Sale') }}
@endif
{{translate(str_replace('_',' ',$product['product_type']))}} {{setCurrencySymbol(amount: usdToDefaultCurrency(amount: $product['unit_price']))}} @php($product_name = 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