start added

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