Merge branch 'partial_payment' of DigiFi/digifi-BankEmulator into master

This commit is contained in:
2025-10-28 19:24:45 +00:00
committed by Gogs
+2 -4
View File
@@ -26,9 +26,7 @@ class RACCheckService:
validated_data = schema.load(data)
customer_id = validated_data["customerId"]
is_valid = not (
int(customer_id[-1]) in [2, 7, 9]
)
is_valid = True
try:
@@ -42,7 +40,7 @@ class RACCheckService:
total_salary = 0
for i in range(1, salary_count + 1):
salary = ((salary_count + i ) * 7919) % 200000 + 10000
salary = (((salary_count + i) * 7919) % 200000 + 10000) * 5
salary_payments[f"salarypaymenT_{i}"] = salary
total_salary += salary