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

{{ __('Product List') }}

@if ($flashSale)
{{ __('Flash Sale Coming Soon') }}
{{ $flashSale->name }}
Days
00
Hours
00
Minutes
00
Seconds
00
@hasPermission('shop.flashSale.show') Add Product @endhasPermission
@endif
{{ __('Filter Products') }}
@foreach ($categories as $category) @endforeach
@foreach ($brands as $brand) @endforeach
@foreach ($colors as $color) @endforeach
{{ __('Reset') }}
@hasPermission('shop.product.create') {{ __('Create New') }} @endhasPermission
@hasPermission('shop.product.toggle') @endhasPermission @forelse($products as $key => $product) @hasPermission('shop.product.toggle') @endhasPermission @empty @endforelse
{{ __('SL') }} {{ __('Thumbnail') }} {{ __('Product Name') }} {{ __('Price') }} {{ __('Discount Price') }} {{ __('Verify Status') }} {{ __('Status') }}{{ __('Action') }}
{{ ++$key }}
{{ Str::limit($product->name, 50, '...') }} {{ showCurrency($product->price) }} {{ showCurrency($product->discount_price) }} @if ($product->is_approve) {{ __('Approved') }} @else {{ __('Pending') }} @endif
@hasPermission('shop.product.show') @endhasPermission @hasPermission('shop.product.barcode') @endhasPermission @hasPermission('shop.product.edit') @endhasPermission
{{ __('No Data Found') }}
{{ $products->links() }}
@endsection @push('scripts') @if ($flashSale) @endif @endpush @push('css') @endpush