@extends('seller.layout') @section('content')
{{ __('Product.Products') }}
@if (count($products)) @foreach ($products as $key => $product) @endforeach
# {{ __('Product.Code') }} {{ __('Product.brand_id') }} {{ __('General.title_ar') }} {{ translate('Photo') }} {{ __('Product.seller_published') }} {{ __('Product.unit_price') }} {{ translate('Options') }}
{{ $key + 1 + ($products->currentPage() - 1) * $products->perPage() }} {{ $product->code }} {{ $product->brand ? $product->brand->{'title_' . App::getLocale()} : '' }} {{ $product->title }} @php $link = getProductFirstPhotoOrAvatar($product->id); @endphp your image {{ $product->unit_price }}
@else {{ __('General.No Data Avalible') }} @endif {{ $products->links() }}
@endsection