@extends('layouts.back-end.app') @section('title', \App\CPU\translate('Product List')) @push('css_or_js') @endpush @section('content')

@if($type == 'in_house') {{\App\CPU\translate('In-House_Product_List')}} @elseif($type == 'seller') {{\App\CPU\translate('Seller_Product_List')}} @endif {{ $pro->total() }}

@if($type == 'in_house')
{{\App\CPU\translate('Limited Sotcks')}} @endif @if (!isset($request_status)) {{\App\CPU\translate('Add_New_Product')}} @endif
@foreach($pro as $k=>$p) @endforeach
{{\App\CPU\translate('SL')}} {{\App\CPU\translate('Product Name')}} {{\App\CPU\translate('Product Type')}} {{\App\CPU\translate('purchase_price')}} {{\App\CPU\translate('selling_price')}} {{\App\CPU\translate('Show_as_featured')}} {{\App\CPU\translate('Active')}} {{\App\CPU\translate('status')}} {{\App\CPU\translate('Action')}}
{{$pro->firstItem()+$k}} {{\Illuminate\Support\Str::limit($p['name'],20)}} {{\App\CPU\translate(str_replace('_',' ',$p['product_type']))}} {{\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']))}}
@csrf @method('delete')
{{$pro->links()}}
@if(count($pro)==0)
Image Description

{{\App\CPU\translate('No data to show')}}

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