Adding work item ticket number into to list

This commit is contained in:
John Lyon-Smith
2018-04-06 17:13:09 -07:00
parent 1f869ef4cc
commit a60abff226
3 changed files with 17 additions and 2 deletions

View File

@@ -44,3 +44,9 @@ export const workItemTypeEnum = [
{ value: "inspection", text: "Inspection" },
{ value: "complaint", text: "Complaint" },
]
export const pad = (num, size) => {
var s = num + ""
while (s.length < size) s = "0" + s
return s
}