@extends('layouts.admin-master') @section('title', 'Product list') @section('css-top') @endsection @section('css') @endsection @section('content')
| # | Product | Seller | Sales | Price | Stock | Upload_By | Status | Actions |
|---|---|---|---|---|---|---|---|---|
| {{(($products->perPage() * $products->currentPage() - $products->perPage()) + ($index+1) )}} | |
@if($product->vendor) {{$product->vendor->shop_name}}@else Seller not found. @endif
{{Carbon\Carbon::parse($product->created_at)->format(Config::get('siteSetting.date_format'))}} |
{{ $product->sales }} | {{Config::get('siteSetting.currency_symble')}}{{$product->pricing}} | {!!($product->stock > 0) ? $product->stock : 'Stock Out' !!} | {{ ($product->user) ? $product->user->name : 'seller' }} @if($product->updated_by) |
{{$product->status}} |
|
| No Products Found. |