@extends('layouts.back-end.app') @section('title',$seller->shop ? $seller->shop->name : \App\CPU\translate("shop name not found")) @push('css_or_js') @endpush @section('content')
{{\App\CPU\translate('Back_to_seller_list')}}
@if ($seller->status=="pending")

{{\App\CPU\translate('Seller_request_for_open_a_shop.')}}
@csrf
@csrf
@endif

{{\App\CPU\translate('products')}}

({{$products->total()}})

@foreach($products as $k=>$p) @endforeach
{{\App\CPU\translate('SL#')}} {{\App\CPU\translate('Product Name')}} {{\App\CPU\translate('purchase_price')}} {{\App\CPU\translate('selling_price')}} {{\App\CPU\translate('featured')}} {{\App\CPU\translate('Active')}} {{\App\CPU\translate('status')}} {{\App\CPU\translate('Action')}}
{{$products->firstItem()+$k}} {{substr($p['name'],0,20)}}{{strlen($p['name'])>20?'...':''}} {{\App\CPU\BackEndHelper::set_symbol(\App\CPU\BackEndHelper::usd_to_currency($p['purchase_price']))}} {{\App\CPU\BackEndHelper::set_symbol(\App\CPU\BackEndHelper::usd_to_currency($p['unit_price']))}} {{\App\CPU\translate('Edit')}} {{\App\CPU\translate('Delete')}}
@csrf @method('delete')
@if(count($products)==0)
Image Description

{{\App\CPU\translate('No_data_to_show')}}

@endif
@endsection @push('script') @endpush