Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatAccountNumber ¶
Left-pads an all-digit account number to five digits ("8841" -> "08841"), mirroring the dashboard's formatAccountNumber. A leading "0" or any non-digit leaves it untouched — record numbers pad to six.
func FormatRecordNumber ¶
FormatRecordNumber left-pads the numeric first segment of a record number to six digits, mirroring the dashboard's formatRecordNumber. A first segment that begins with an ASCII letter (e.g. an "SO-" prefix) is left untouched.
Examples: "123" -> "000123", "123-45" -> "000123-45", "SO-001" -> "SO-001".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.