* qual: Move the function checking Spanish Tax Identification Numbers from societe.class.php to profid.lib.php
Create the function isValidTinForES($str)
* qual: Update societe.class.php using function isValidTinForES($str) from profid.lib.php
* phpcs
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* qual: Update profid.lib.php - move functions checking profid from societe.class.php
- One function checking the Tax Identification Number for PT (called NIF)
- One function checking the Tax Identification Number for DZ (called NIF)
- One function checking the Tax Identification Number for BE (called NN)
* qual: Update societe.class.php - use the isValidTinXX() functions from profid.lib.php
isValidTinForPT($this->idprof1)
isValidTinForDZ($this->idprof1)
isValidTinForBE($this->idprof1)
* typo