mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-29 07:53:23 +00:00
feat: Ajout d'un nouvel état dans l'automatique lorsqu'un mandat SEPA
doit être envoyé aux parent
This commit is contained in:
@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user