Project

General

Profile

Actions

Feature #92

closed
RA

Feature #82: Améliorer la génération de PDF pour les contrats avec design professionnel et signatures configurables

Backend — numéro de contrat unique + enregistrement/téléchargement/envoi email

Feature #92: Backend — numéro de contrat unique + enregistrement/téléchargement/envoi email

Added by Redmine Admin about 2 months ago. Updated about 1 month ago.

Status:
Shipped
Priority:
Normal
Assignee:
-
Start date:
06/15/2026
Due date:
% Done:

0%

Estimated time:
spec_ref:
build_status:
build_number:
ci_run_url:
scan_status:
scan_report_url:
deploy_status:
deployed
preprod_url:
deployed_at:
06/23/2026
branch:
feat/92-contract-numbering
pr_url:
https://github.com/Scobby-organisation/scobby/pull/14
security_key:
severity:
paused:

Description

Parent : #82. Dépend du moteur de rendu (#82-rendu).

Numéro de contrat unique auto-incrémenté (CONTRAT-AAAA-NNN) via **séquence Postgres atomique**, affiché en pied de page. Après contre-signature : enregistrer le PDF (`internal_signed_pdf_url`), le rendre téléchargeable et l'envoyer par email via l'EmailPort Resend.

## Acceptance criteria
- [ ] Numéro unique auto-incrémenté persisté ; **deux contrats générés en concurrence ne partagent jamais un numéro**.
- [ ] Numéro affiché en pied de page.
- [ ] Après contre-signature : PDF enregistré (URL persistée), téléchargeable, envoyé par email via Resend.
- [ ] Tests backend (TDD) + lint/typecheck verts.

RA Updated by Redmine Admin about 2 months ago Actions #1

  • branch set to feat/92-contract-numbering
  • Status changed from Submitted to In development

Dev démarré (worktree sur `origin/dev`, qui contient #90 + #91). Submitted → In development. Numéro de contrat unique + enregistrement/téléchargement/envoi email (#82).

RA Updated by Redmine Admin about 2 months ago Actions #2

  • Status changed from In development to QA
  • pr_url set to https://github.com/Scobby-organisation/scobby/pull/14

PR #14 ouverte vers `dev` (rebasée sur dev, app.module.ts réconcilié avec #89). In development → QA. Numéro unique atomique + délivrance : 5 unit + 4 e2e (concurrence), server 84/84, lint/build verts.

RA Updated by Redmine Admin about 2 months ago Actions #3

  • Status changed from QA to Preprod

Déployé en préprod (https://preprod-scobby.omdev.tech). Passage QA → Preprod.

RA Updated by Redmine Admin about 1 month ago Actions #4

  • Status changed from Preprod to Ready to ship

Livré sur master (dev = preprod = master). Commit `b2aaa9bd` (PR #14) — feat(contracts): numéro de contrat unique + délivrance. Passage en **Ready to ship** — *Shipped* après confirmation du gate prod manuel (Jenkins) sur scobby.fr.

RA Updated by Redmine Admin about 1 month ago Actions #5

  • Status changed from Ready to ship to Shipped
  • deploy_status set to deployed
  • deployed_at set to 06/23/2026

Déploiement PROD confirmé live sur scobby.fr (gate manuel Jenkins approuvé le 2026-06-23). Passage en **Shipped**.

Actions

Also available in: PDF Atom