PhoenixKitWarehouse.Web.GoodsReceiptFormLive (PhoenixKitWarehouse v0.1.0)

Copy Markdown View Source

LiveView for creating and editing goods receipts.

Handles:

  • :new — creates an empty draft and redirects to :edit.
  • :edit — loads an existing receipt; :general tab.
  • :lines — verification sheet: ordered_quantity (read-only) beside editable received_quantity.
  • :files — MediaBrowser; storage folder resolved asynchronously.
  • :comments — goods receipt 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.