This commit is contained in:
2021-06-21 15:14:35 +02:00
parent ab0f65e247
commit 66db7b4748
12 changed files with 207 additions and 300 deletions

View File

@@ -86,3 +86,12 @@ export const getTodayHours = (workingHours) => {
return workingHours.pn;
}
};
export const validateNIP = (nip) => {
const separateNumbers = nip.split('');
if(separateNumbers.lenght === 10){
} else {
return false;
}
}