VSN-2685/ feat(reports): add company embedded signing, signature status display, and report table improvements
This MR adds changes to support the embedded DocuSign signing flow and improve report management UX.
Signing flow
- Added "Sign" button on report rows, visible only when the company has not yet signed and the report is in
PENDING_SIGNATUREorDRIVER_SIGNEDstate - Clicking the button fetches an embedded signing URL and opens it in the current tab
and opens it in the current tab (company signs directly in the BO)
Report status display
- Extended
REPORT_STATUS_CONFIGwith signature-related statuses:PENDING_SIGNATURE,COMPANY_SIGNED,DRIVER_SIGNED,COMPLETED,DECLINED - Edit button disabled for inspections/reports currently in an active signing process (not yet
COMPLETED,DECLINED, orFAILED)
Signature Tracking Dialog
- Updated to display real-time signature status, signer details, and geolocation of each signer when available