Refactor CBankverbindungen entity: remove IBAN validation formula and update metadata; adjust cache timestamps

This commit is contained in:
2026-01-23 16:00:16 +01:00
parent ac58b51452
commit 15ecc7068f
3 changed files with 6 additions and 8 deletions

View File

@@ -0,0 +1,3 @@
{
"beforeSaveApiScript": "// IBAN-Validierung mit Modulo-97-Algorithmus\nif (iban != null && iban != '') {\n // Leerzeichen entfernen für Validierung\n $ibanClean = string\\replace(iban, ' ', '');\n \n // Mathematische IBAN-Prüfung\n if (!iban\\validate($ibanClean)) {\n recordService\\throwBadRequest('Ungültige IBAN: Die Prüfziffer ist mathematisch falsch. Bitte überprüfen Sie die eingegebene IBAN.');\n }\n}"
}