@inject('transactionUtil', 'App\Utils\TransactionUtil')
| SKU | @lang('business.product') | @lang('business.location') | @lang('sale.unit_price') | @lang('report.current_stock') | @lang('lang_v1.total_stock_price') | @lang('report.total_unit_sold') |
|---|---|---|---|---|---|---|
| {{ $product->sku }} | @php $name = $product->product; if ($product->type == 'variable') { $name .= ' - ' . $product->product_variation . '-' . $product->variation_name; } @endphp {{ $name }} | {{ $product->location_name }} | {{ $product->unit_price ?? 0 }} | {{ $product->stock ?? 0 }}{{ $product->unit }} | {{ $product->unit_price * $product->stock }} | {{ $product->total_sold ?? 0 }}{{ $product->unit }} |