{{ __('products.product_details_subtitle') }}
| {{ __('products.size') }} | {{ __('products.unit') }} | {{ __('products.price') }} | {{ __('products.stock') }} | {{ __('products.sale') }} | {{ __('products.final_price') }} | {{ __('products.sale_ends') }} | {{ __('products.actions') }} |
|---|---|---|---|---|---|---|---|
| {{ $variant->productSize->name[app()->getLocale()] }} | {{ $variant->productUnit->name[app()->getLocale()] ??'-' }} | {{ number_format($variant->price ,2) }} | @if($variant->stock_quantity == 0) {{ __('products.out_of_stock') }} @elseif($variant->stock_quantity < 10) {{ __('products.stock_left', ['count' => $variant->stock_quantity]) }} @else {{ $variant->stock_quantity }} @endif | @if($sale) -{{ $sale->percentage }}% @else - @endif | @if($sale) {{ number_format($variant->final_price, 2) }} {{ number_format($variant->price, 2) }} @else {{ number_format($variant->final_price, 2) }} @endif | {{ $sale?->end_date ? \Carbon\Carbon::parse($sale->end_date)->format('M d, Y') : '-' }} | |
| {{ __('products.no_variants_found') }} | |||||||