Skip to content

VSN-2685/ feat(reports): add company embedded signing, signature status display, and report table improvements

fatima senan a demandé de fusionner feature/VSN-2685 vers develop

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_SIGNATURE or DRIVER_SIGNED state
  • 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_CONFIG with 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, or FAILED)

Signature Tracking Dialog

  • Updated to display real-time signature status, signer details, and geolocation of each signer when available

Rapports de requête de fusion