Function: isPackageFullySigned()
isPackageFullySigned(
documents,signatures):boolean
Defined in: src/server/services/agreements/documents.ts:64
The seal gate: a package is fully executed once every one of its documents carries BOTH the contractor's signature and the company's counter-signature. Pure over the frozen document set and the signature ledger rows, so the "ready to seal" decision is unit-testable and party-complete (a missing counter-signature, or an extra signature for a non-package kind, is handled correctly).
Parameters
documents
object[]
signatures
object[]
Returns
boolean