| # | Name | Image | Normal Price | Discounted Price | Merchant Price | Quantity | Is Bestdeal | Category | |
|---|---|---|---|---|---|---|---|---|---|
| {{ $key + $products->firstItem()}} | {{ $product->model }} | 
                                    @if (isset($product->images[0]))
                                         
                                    @endif
                                 | 
                                {{ $product->inventory && $product->inventory->normal_price ? $product->inventory->normal_price : '-' }} | {{ $product->inventory && $product->inventory->discounted_price ? $product->inventory->discounted_price : '-' }} | @foreach ($product->prices as $price) {{ $price->merchantClass->name }} - {{ number_format($price->price) }} @endforeach | {{ $product->inventory && $product->inventory->actual_stock ? $product->inventory->actual_stock : '-' }} | {{ $product->is_bestdeal == 1 ? 'Yes' : 'No' }} | {{ $product->category->name }} @if($product->category->is_customer_also == '1' && $product->category->is_merchant_also == '1') (Customer & Merchant) @elseif($product->category->is_customer_also == '1') (Customer) @elseif($product->category->is_merchant_also == '1') (Merchant) @endif | 
                                     
                                        
                                            remove_red_eye
                                        
                                        
                                            edit
                                        
                                        @if (count($product->orderDetails) > 0 || count($product->serviceRequests) > 0)
                                            
                                        @elseif(count($product->carKnowledges) > 0)
                                            
                                        @else
                                            
                                        @endif
                                     
                                 | 
                            
| No Products Found! | |||||||||