salaryAmount

This commit is contained in:
CHIEFSOFT\ameye
2025-06-19 06:09:52 -04:00
parent 500e749acb
commit 11aab30a19
+1 -2
View File
@@ -45,8 +45,7 @@ class Salary(db.Model):
try:
new_data = cls(
customer_id=data.get('customerId'),
amount=data.get('amount', 0.0),
amount=data.get('salaryAmount', 0.0),
status=data.get('status'),
salary_date = datetime.strptime(data.get('salaryDate'), "%Y-%m-%d").date() if data.get('salaryDate') else None,
account_id=data.get('accountId')