@extends('layouts.app') @section('content')

{{ __('Product List') }}

@if (request('approve')) @else @endif
@foreach ($shops as $shop) @endforeach
{{ __('Reset') }}
@forelse($products as $key => $product) @empty @endforelse
{{ __('SL') }}. {{ __('Thumbnail') }} {{ __('Product Name') }} {{ __('Shop') }} {{ __('Price') }} {{ __('Discount Price') }} {{ __('Action') }}
{{ ++$key }} {{ Str::limit($product->name, 50, '...') }} {{ $product->shop->name }} {{ showCurrency($product->price) }} {{ showCurrency($product->discount_price) }} @if (!$product->is_approve)
@hasPermission('admin.product.approve') {{ __('Approved') }} @endhasPermission @hasPermission('admin.product.destroy') @endhasPermission
@else
@hasPermission('admin.product.show') @endhasPermission
@endif
{{ __('No Data Found') }}
{{ $products->withQueryString()->links() }}
@csrf @method('DELETE')
@endsection @push('scripts') @endpush