StockDocumentStatus
in package
Stock document lifecycle statuses (cms_mod_store_stock_documents.status): draft -> posted -> cancelled. Posted document is immutable, correction = cancel().
Single canonical copy shared by all Store layers.
Table of Contents
Constants
- CANCELLED : mixed = 2
- DRAFT : mixed = 0
- POSTED : mixed = 1
- STATUS_NAMES : array<int, string> = [self::DRAFT => 'Draft', self::POSTED => 'Poste...
Methods
- getStatusName() : string|null
Constants
CANCELLED
public
mixed
CANCELLED
= 2
DRAFT
public
mixed
DRAFT
= 0
POSTED
public
mixed
POSTED
= 1
STATUS_NAMES
public
array<int, string>
STATUS_NAMES
= [self::DRAFT => 'Draft', self::POSTED => 'Posted', self::CANCELLED => 'Cancelled']
Methods
getStatusName()
public
static getStatusName(int $status) : string|null
Parameters
- $status : int