Überarbeitung des Stripe Prozesses

This commit is contained in:
2024-08-23 19:54:55 +02:00
parent 7a286e3519
commit 74d5f92aba
18 changed files with 164 additions and 68 deletions

View File

@@ -287,6 +287,12 @@ export function assignProperties(target, source) {
}
return target;
}
export function checkAndUpdate(changed: boolean, condition: boolean, assignment: () => any): boolean {
if (condition) {
assignment();
}
return changed || condition;
}
// -----------------------------
// Criteria Proxy
// -----------------------------