@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 ?: 'Unassigned' }} | {{ \App\Models\SystemSetting::formatMoney($product->retail_price) }} | {{ number_format($product->stock_quantity, 2) }} | {{ \App\Models\SystemSetting::formatMoney($buyingValue) }} | {{ \App\Models\SystemSetting::formatMoney($sellingValue) }} | {{ \App\Models\SystemSetting::formatMoney($potentialProfit) }} | {{ number_format($product->total_units_sold, 2) }} | {{ number_format($product->total_units_transferred, 2) }} | {{ number_format($product->total_units_adjusted, 2) }} |
| No inventory products found. | |||||||||||
| Totals | {{ number_format($totals->available_stock, 2) }} | {{ \App\Models\SystemSetting::formatMoney($totals->buying_value) }} | {{ \App\Models\SystemSetting::formatMoney($totals->selling_value) }} | {{ \App\Models\SystemSetting::formatMoney($totals->potential_profit) }} | {{ number_format($totals->sold, 2) }} | {{ number_format($totals->transferred, 2) }} | {{ number_format($totals->adjusted, 2) }} | ||||