feat: Ajout d'un nouvel état dans l'automatique lorsqu'un mandat SEPA

doit être envoyé aux parent
This commit is contained in:
N3WT DE COMPET
2025-04-27 13:40:48 +02:00
parent 3c62cc9ad2
commit 545349c7db
14 changed files with 214 additions and 153 deletions

View File

@ -1,10 +1,10 @@
/**
*
* @param {*} phoneString au format E.164
* @param {*} toFormat L=Country code, X=Number Format="LX XX XX XX XX"
* @param {*} toFormat L=Country code, X=Number Format="L X XX XX XX XX"
* @returns
*/
export function formatPhoneNumber(phoneString, toFormat = 'LX XX XX XX XX') {
export function formatPhoneNumber(phoneString, toFormat = 'L X XX XX XX XX') {
if (!phoneString) return;
// Vérifier si le numéro est au format international
if (!validateE164PhoneNumber(phoneString)) {