{% extends "base.html" %} {% from "components/ui.html" import page_header %} {% block content %} {% set breadcrumbs = [ {'text': 'Inventory', 'url': url_for('inventory.list_stock_items')}, {'text': 'Reports', 'url': url_for('inventory.reports_dashboard')}, {'text': 'Stock Valuation'} ] %} {{ page_header( icon_class='fas fa-coins', title_text='Stock Valuation Report', subtitle_text='Inventory value by warehouse and category', breadcrumbs=breadcrumbs ) }}
{{ _('Total Value') }}
{{ total_value|format_currency(currency) }}
| {{ _('Warehouse') }} | {{ _('Item') }} | {{ _('SKU') }} | {{ _('Category') }} | {{ _('Quantity') }} | {{ _('Unit Cost') }} | {{ _('Total Value') }} |
|---|---|---|---|---|---|---|
| {{ item_data.stock.warehouse.code }} | {{ item_data.stock.stock_item.name }} | {{ item_data.stock.stock_item.sku }} | {{ item_data.stock.stock_item.category or '—' }} | {{ "%.2f"|format(item_data.quantity) if item_data.quantity is not none else item_data.stock.quantity_on_hand }} | {{ (item_data.cost if item_data.cost is not none else (item_data.stock.stock_item.default_cost or 0))|format_currency(item_data.stock.stock_item.currency_code) }} | {{ item_data.value|format_currency(item_data.stock.stock_item.currency_code) }} |
| {{ _('No items found with cost information.') }} | ||||||
| {{ _('Total Value') }}: | {{ total_value|format_currency(currency) }} | |||||