PhoenixKitWarehouse.Web.InventoryFormLive (PhoenixKitWarehouse v0.1.0)

Copy Markdown View Source

LiveView for creating and editing inventory documents.

Handles:

  • :new — creates a draft and push_navigate to :edit path.
  • :edit — loads an existing document; :general tab.
  • :items — count sheet + add picker (draft only).
  • :files — MediaBrowser; storage folder resolved asynchronously.
  • :comments — inventory comments thread.

Uses the admin-chrome pattern: use PhoenixKitWeb, :live_view + <.admin_page_header>. No <Layouts.app>, no streams. All navigation paths wrapped in PhoenixKit.Utils.Routes.path/1.