@extends('layouts.app') @section('content')
Inventory
Stock value by product with buying value, selling value, movement and potential profit.
Products
{{ number_format($totals->products) }}
Available Stock
{{ number_format($totals->available_stock, 2) }}
Value by Buying Price
{{ \App\Models\SystemSetting::formatMoney($totals->buying_value) }}
Value by Selling Price
{{ \App\Models\SystemSetting::formatMoney($totals->selling_value) }}
Potential Profit
{{ \App\Models\SystemSetting::formatMoney($totals->potential_profit) }}
Reset
@forelse($products as $product) @php($buyingValue = (float) $product->stock_quantity * (float) $product->buying_price) @php($sellingValue = (float) $product->stock_quantity * (float) $product->retail_price) @php($potentialProfit = (float) $product->stock_quantity * max((float) $product->retail_price - (float) $product->buying_price, 0)) @empty @endforelse
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) }}
{{ $products->links('vendor.pagination.jevapos') }}
@endsection