existingTemplateIds in attik-frontend/src/app/tools/inspections/[id]/components/Agreements.tsx and AddAgreementModal.tsx still treats archived agreements as blocking the template.POST paths under attik-backend/src/routes/agreements.ts) can create multiple rows; the gap is consistent product rules (dedupe, portal visibility, locks, activity).Frontend (attik-frontend)
src/app/tools/inspections/[id]/components/Agreements.tsx and AddAgreementModal.tsx — template dedupe and add flows.Backend (attik-backend)
src/routes/agreements.ts, src/models/agreementSchema.js / agreement templates — archive visibility, portal queries, and creation endpoints.attik-frontend/src/app/tools/inspections/[id]/components/Agreements.tsxattik-frontend/src/app/tools/inspections/[id]/components/AddAgreementModal.tsxattik-backend/src/routes/agreements.tsPlease authenticate to join the conversation.
Completed
Main App
30 days ago
Linear
Get notified by email when there are changes.
Completed
Main App
30 days ago
Linear
Get notified by email when there are changes.