Modules
PhoenixKit module: multi-warehouse stock scope, stocktakes, transfers with cancel reverse-posting, deficit control with min-stock settings, turnover report, internal orders, supplier orders, goods receipts, and goods issues.
Single entry point for warehouse module activities.
Shared column-registry engine for warehouse list LiveViews.
Column registry for the goods issues list LiveView.
Column registry for the goods receipts list LiveView.
Column registry for the internal orders list LiveView.
Column registry for the warehouse stocktakes (inventory documents) list LiveView.
Column registry for the warehouse stock-balances ("In stock") flat list LiveView.
Column registry for the supplier orders list LiveView.
Column registry for the transfers list LiveView.
Thin isolation layer over PhoenixKitComments for every warehouse document
kind.
Computes, per source document, how much quantity per item has already been committed to non-deleted downstream documents referencing it — used so that selecting the same source into a second (or later) document only adds what's still outstanding, instead of duplicating the full original quantity.
Stateless derivation of purchase price proposals for posted goods receipts.
Context for computing per-item stock deficits (§5, full variant).
Resolves warehouse document UUIDs to human-readable labels and admin paths.
Gettext backend for phoenix_kit_warehouse.
Context for managing goods issues (materials written off to production).
Context for managing goods receipts (goods arrival onto the warehouse).
Context for managing internal orders (warehouse demand documents).
Context for managing warehouse inventory documents.
Module-owned versioned migrations for phoenix_kit_warehouse — the
decentralized-migrations protocol that core's mix phoenix_kit.update
discovers via migration_module/0. This follows the canonical shape
documented in phoenix_kit_hello_world's README ("Versioned migrations",
"Adopting a table core already creates") and its
mix phoenix_kit_hello_world.audit_migrations task: two readers
(migrated_version/1 for migration context, migrated_version_runtime/1
for Mix-task context), up/1 re-reading the version before it changes
anything, and a namespaced COMMENT ON TABLE marker on one anchor table
for a chain that spans eight. phoenix_kit_billing (v4_statements/2,
ten adopted tables in one version) and phoenix_kit_dashboards (one
adopted table) are the closest sibling examples of this exact adoption
situation.
Context for the per-item minimum stock threshold (§5, deficit tracking).
Generic registry/dispatch for the source_refs decoupling contract.
Context for managing warehouse stock balances.
Resolves (and creates if missing) the PhoenixKit Storage folder for a warehouse document.
Context for managing supplier orders (purchase orders to a single supplier).
Context for managing transfers (stock moved between two warehouses).
Context for the warehouse turnover report (§8, no export — see
Web.TurnoverReportLive).
Minimal per-user, per-scope view-preference store — the "smallest viable"
replacement for Andi.UserViewConfigs (design doc, cross-dependency table).
use-macro that injects column-management handle_event/3 callbacks into a
LiveView. Generic across scopes — pass the column-config module and scope via
options
Function component for the "Customize columns" modal used by Andi list LVs.
Presentation helper for warehouse document comment threads. panel/1
embeds the ready-made PhoenixKitComments.Web.CommentsComponent.
Inline filter input components rendered in a list LiveView's toolbar, one per active filter. Each chip
Shared "related documents" card fragment for warehouse document forms.
The clickable column header every warehouse list table uses.
Warehouse-specific catalogue tree components.
Shared tab navigation for the Warehouse section.
LiveView for creating and editing goods issues.
LiveView for the Goods Issues list page.
LiveView for creating and editing goods receipts.
LiveView for the Goods Receipts list page.
LiveView for creating and editing internal orders.
LiveView for the Internal Orders list page.
LiveView for the Warehouse Stocktakes (inventories) page.
LiveView for creating and editing inventory documents.
Builds the scope the catalogue's ItemSelectorModal gets from a
warehouse document form.
Warehouse-location settings page (/admin/settings/warehouse).
LiveView for the Warehouse "In stock" page.
LiveView for creating and editing supplier orders.
LiveView for the Supplier Orders list page.
LiveView for creating and editing transfers (stock moved between two warehouses).
LiveView for the Transfers list page.
LiveView for the Warehouse "Turnover" report (§8, no export).
Resolves the user uuids a warehouse document carries (created_by_uuid,
performed_by_uuid) into names fit for a list column.