As the first round of client testing, we found that 'Save Draft' was setting the QC State as 'Completed' rather than 'In Progress'.
Additionally, client would like to see 'Necropsy Pending' status on Animal Details once Death is submitted or Necropsy is under Review.
Related Pull Requests
Changes
Implement customized 'SAVE DRAFT' button with targetQCState property set to 'In Progress'.
Add form config for QCState to have an initial value; otherwise, it defaults to null (esp. for the data entry forms containing form panels, but not for grid panels), causing the QCState Label to be set to 'Completed' in security.js during 'SAVE DRAFT'.
Handle client side error 'Cannot read property "QCStateLabel" from undefined'.
Rationale
As the first round of client testing, we found that 'Save Draft' was setting the QC State as 'Completed' rather than 'In Progress'. Additionally, client would like to see 'Necropsy Pending' status on Animal Details once Death is submitted or Necropsy is under Review.
Related Pull Requests
Changes