PhoenixKitWarehouse.Web.InventoriesLive (PhoenixKitWarehouse v0.1.0)

Copy Markdown View Source

LiveView for the Warehouse Stocktakes (inventories) page.

Renders the inventories history list with full table parity — global search, per-column filtering, sorting, and configurable columns, backed by Andi.Warehouse.InventoryColumnConfig.

The "In stock" default view has been moved to Warehouse.StockLive at /admin/warehouse. The shared tab bar lives in AndiWeb.Components.WarehouseHeader.

Admin-chrome pattern: use PhoenixKitWeb, :live_view, self-wrapping render/1 with LayoutWrapper.app_layout so the page title lands in the global admin header (see the :self_wrapped_layout on_mount). No streams. Navigation via PhoenixKit.Utils.Routes.path/1.

Summary

Functions

on_mount(atom, params, session, socket)