Refactor CBankverbindungen entity: remove IBAN validation formula and update metadata; adjust cache timestamps
This commit is contained in:
@@ -10,12 +10,10 @@
|
||||
"type": "varchar",
|
||||
"required": false,
|
||||
"maxLength": 42,
|
||||
"pattern": "/^[A-Z]{2}[0-9]{2}[\\s]?[A-Z0-9]{4}[\\s]?[A-Z0-9]{4}[\\s]?[A-Z0-9]{4}[\\s]?[A-Z0-9]{4}[\\s]?[A-Z0-9]{0,4}[\\s]?[A-Z0-9]{0,2}$/i",
|
||||
"tooltip": true,
|
||||
"isCustom": true,
|
||||
"copyToClipboard": true,
|
||||
"audited": true,
|
||||
"options": []
|
||||
"audited": true
|
||||
},
|
||||
"bic": {
|
||||
"type": "varchar",
|
||||
@@ -145,9 +143,6 @@
|
||||
"orderBy": "createdAt",
|
||||
"order": "desc"
|
||||
},
|
||||
"formula": {
|
||||
"beforeSaveApiScript": "// IBAN-Validierung mit Modulo-97-Algorithmus\nif (!string\\isEmpty(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}"
|
||||
},
|
||||
"indexes": {
|
||||
"name": {
|
||||
"columns": [
|
||||
|
||||
Reference in New Issue
Block a user