@extends('admin.layout.index') @section('title') لیست محصولات @endsection @section('style') @endsection @section('script') @endsection @section('content')
# | نام | کد کالا | hit | نام دسته بندی | نام برند | تصویر اصلی | مشخصات فنی | رنگ بندی | اقلام افزوده | ویرایش | نمایش | فروش ویژه | محصولات جدید | تعداد | اولویت نمایش | قیمت (تومان) | Copy |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $products->firstItem() + $key }} |
@if(($product->percentSalePrice!=0 && $product->DateOnSaleTo>Carbon\Carbon::now() && $product->DateOnSaleFrom![]() |
{{ $product->product_code==null ? '-' : $product->product_code }} | {{ $product->hit }} | @foreach($product->Categories as $cat) {{ $cat->name }} {{ $loop->last ? '' : '/' }} @endforeach | @foreach($product->Brands as $index => $brand) {{ $brand->name }} @if($index < count($product->Brands) - 1) {{ '-' }} @endif @endforeach |
|
|
{{ $product->is_active }} | {{ $product->specialSale }} | {{ $product->Set_as_new }} | {{ $product->quantity }} | {{ number_format($product->price) }} |