@extends('layouts.app') @section('content')
| Barcode | Product Name | Category | Branch | Unit Selling Price | Available Stock | Current Stock Value By Buying Price | Current Stock Value By Selling Price | Potential Profit | Total Units Sold | Total Units Transferred | Total Units Adjusted |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $product->barcode ?: '-' }} | {{ $product->name }} | {{ $product->category?->name ?: '-' }} | {{ $product->branch?->name ?: 'All branches' }} | {{ \App\Models\SystemSetting::formatMoney($product->retail_price) }} | {{ \App\Models\SystemSetting::formatNumber($product->stock_quantity) }} | {{ \App\Models\SystemSetting::formatMoney($buyingValue) }} | {{ \App\Models\SystemSetting::formatMoney($sellingValue) }} | {{ \App\Models\SystemSetting::formatMoney($potentialProfit) }} | {{ \App\Models\SystemSetting::formatNumber($product->total_units_sold) }} | {{ \App\Models\SystemSetting::formatNumber($product->total_units_transferred) }} | {{ \App\Models\SystemSetting::formatNumber($product->total_units_adjusted) }} |
| No inventory products found. | |||||||||||
| Totals | {{ \App\Models\SystemSetting::formatNumber($totals->available_stock) }} | {{ \App\Models\SystemSetting::formatMoney($totals->buying_value) }} | {{ \App\Models\SystemSetting::formatMoney($totals->selling_value) }} | {{ \App\Models\SystemSetting::formatMoney($totals->potential_profit) }} | {{ \App\Models\SystemSetting::formatNumber($totals->sold) }} | {{ \App\Models\SystemSetting::formatNumber($totals->transferred) }} | {{ \App\Models\SystemSetting::formatNumber($totals->adjusted) }} | ||||