order_prefixed_number
Retrieves an order number of fixed length with a two letter order type prefix.
Example
1
{{ '123' | order_prefixed_number: 'sales' }} => SO0000123
Input
| Type | Parameter | Description | Required |
|---|---|---|---|
| string | orderNumber | The order number. Comes before the | sign. | Required |
| string | orderType | The type of the order, eg. sales, purchase … |
Output
| Type | Description |
|---|---|
| string | Prefixed order number |