Module: Spree::Receivables::DraftEditing

Included in:
PurchaseOrders::Update, StockTransfers::Update
Defined in:
app/workflows/spree/receivables/draft_editing.rb

Overview

Edits a draft purchase order or transfer. Past draft the document is a matter of record, so the edit is refused rather than quietly rewriting something a supplier or warehouse is already acting on. The including workflow names the document (receivable) and the line columns callers may set (item_attributes).