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": [
|
||||
|
||||
@@ -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}"
|
||||
}
|
||||
@@ -349,8 +349,8 @@ return [
|
||||
0 => 'youtube.com',
|
||||
1 => 'google.com'
|
||||
],
|
||||
'cacheTimestamp' => 1769179847,
|
||||
'microtime' => 1769179847.572829,
|
||||
'cacheTimestamp' => 1769180353,
|
||||
'microtime' => 1769180353.404299,
|
||||
'siteUrl' => 'https://crm.bitbylaw.com',
|
||||
'fullTextSearchMinLength' => 4,
|
||||
'appTimestamp' => 1768843902,
|
||||
|
||||
Reference in New Issue
Block a user