Commit graph

4 commits

Author SHA1 Message Date
Cursor Agent
93dda60425
fix(uplifts): serialize evidence photo count with the work-order lock
Overlapping evidence uploads could both read nine photos and both save.
The count and the insert now run under ExecuteWorkOrderMutationAsync, the
same gate the dispatcher media path uses.

Co-authored-by: Arthur Bassi <bassi-arthurr@users.noreply.github.com>
2026-10-05 15:01:59 +00:00
Cursor Agent
98bd45423d
fix(uplifts): count evidence photos and require request permission
Uplift evidence uploads now share the work-order photo limit and the
RequestUplifts check used when creating an uplift.

Co-authored-by: Arthur Bassi <bassi-arthurr@users.noreply.github.com>
2026-10-05 14:31:04 +00:00
Cursor Agent
b11b66538a
fix(uplifts): resolve evidence without a primary dispatch
Upload and status use the same dispatch create already selects, so a work
order with no primary can still attach evidence. Status no longer rejects a
terminal work order or dispatch, and create, cancel, and revoke return the
stored evidence file name and attachments.

Co-authored-by: Arthur Bassi <bassi-arthurr@users.noreply.github.com>
2026-10-01 14:55:07 +00:00
Arthur Bassi
31d4352a23 fix(work-orders): accept a scanned uplift evidence file (SH-388)
Dispatchers can attach one evidence file, and create links it only
after that document has passed scanning.
2026-09-24 14:34:07 -03:00