Choix du nombre d'exemplaires a l'impression

- Boutons +/- pour choisir le nombre d'exemplaires (1 a copies_max)
- copies_max configurable dans le backoffice (defaut: 5)
- Backend limite les copies au max configure

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-21 23:15:10 +01:00
parent f9c600c026
commit bffdf52c56
6 changed files with 95 additions and 10 deletions

View File

@@ -369,6 +369,55 @@ html, body {
font-size: 2.5rem;
}
/* Choix exemplaires impression */
.form-impression {
display: flex;
gap: 1rem;
align-items: center;
margin: 1rem 0;
}
.exemplaires-choix {
display: flex;
align-items: center;
gap: 0.5rem;
}
.btn-exemplaire {
width: 48px;
height: 48px;
border-radius: 50%;
border: 2px solid var(--primaire);
background: transparent;
color: var(--primaire);
font-size: 1.5rem;
font-weight: 700;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: var(--transition);
}
.btn-exemplaire:active {
background: var(--primaire);
color: #fff;
transform: scale(0.9);
}
#nb-exemplaires {
font-size: 2.5rem;
font-weight: 700;
color: var(--texte);
min-width: 50px;
text-align: center;
}
.exemplaires-label {
color: var(--texte-secondaire);
font-size: 1rem;
}
.form-email {
display: flex;
gap: 0.8rem;