feat(front) : onglet contact prestataire (ERP-142) #104
Reference in New Issue
Block a user
Delete Branch "feature/ERP-142-onglet-contact-prestataire"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Empilée sur ERP-141 (#103).
Périmètre ERP-142
Onglet Contact de l'écran
/providers/new— saisie multi-contacts (blocs ajoutables) via la sous-ressource contacts.ProviderContactBlock.vue(miroirSupplierContactBlock) : Nom / Prénom / Fonction / Email / Téléphone (x1, +1 révélable, max 2), erreurs 422 par champ (prop:errors).useProviderFormétendu : étatcontacts,canAddContact(RG-3.04),addContact/removeContact,submitContacts(POST/providers/{id}/contactspour les nouveaux, PATCH/provider_contacts/{id}pour les existants, groupeprovider:write:contacts),submitRows(erreurs collectées par ligne, non bloquant).firstNameinline.utils/forms/providerContact.ts(isProviderContactBlank,buildProviderContactPayload).technique.providers.form.contact/confirmDelete+toast.updateSuccess.Vérifications
nuxi typecheck: 0 erreur sur les fichiers source du ticket.Review — RAS, bon pour merge.
Onglet Contact conforme :
ProviderContactBlockenMalio*, collection inline (ajout désactivé tant que le dernier bloc est vide — RG-3.04)./providers/{id}/contacts(nouveaux) / PATCH/provider_contacts/{id}(existants), erreurs 422 collectées par index (contactErrors), pas d'arrêt au premier échec (ERP-101).8e24405423toad4bbab372ad4bbab372to564114b265