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

@@ -10,12 +10,10 @@
"type": "varchar", "type": "varchar",
"required": false, "required": false,
"maxLength": 42, "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, "tooltip": true,
"isCustom": true, "isCustom": true,
"copyToClipboard": true, "copyToClipboard": true,
"audited": true, "audited": true
"options": []
}, },
"bic": { "bic": {
"type": "varchar", "type": "varchar",
@@ -145,9 +143,6 @@
"orderBy": "createdAt", "orderBy": "createdAt",
"order": "desc" "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": { "indexes": {
"name": { "name": {
"columns": [ "columns": [

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}"
}

View File

@@ -349,8 +349,8 @@ return [
0 => 'youtube.com', 0 => 'youtube.com',
1 => 'google.com' 1 => 'google.com'
], ],
'cacheTimestamp' => 1769179847, 'cacheTimestamp' => 1769180353,
'microtime' => 1769179847.572829, 'microtime' => 1769180353.404299,
'siteUrl' => 'https://crm.bitbylaw.com', 'siteUrl' => 'https://crm.bitbylaw.com',
'fullTextSearchMinLength' => 4, 'fullTextSearchMinLength' => 4,
'appTimestamp' => 1768843902, 'appTimestamp' => 1768843902,