IO-990 Refactor job closing.

This commit is contained in:
Patrick Fic
2021-05-05 09:35:22 -07:00
parent 6469cb7e87
commit 1a9eddf7c6
6 changed files with 54 additions and 33 deletions

View File

@@ -0,0 +1,4 @@
export default function IsJobReadOnly(job) {
if (!job) return false;
return job.date_exported || job.date_invoiced || job.voided;
}