changed config to prod, and fetching only today's files from SFTP
This commit is contained in:
@@ -153,7 +153,6 @@ class DataMapper:
|
||||
|
||||
# Pad account number to 17 digits
|
||||
padded_account = cls.pad_account_number(parsed_transaction.get('cust_acct', ''))
|
||||
|
||||
# Process status (check for 'processed' keyword)
|
||||
status = cls.process_status(parsed_transaction.get('sys', ''))
|
||||
|
||||
@@ -163,7 +162,7 @@ class DataMapper:
|
||||
bankcode=bankcode,
|
||||
jrnl_id=parsed_transaction.get('jrnl_no', ''),
|
||||
tran_date=tran_date,
|
||||
cbs_acct=padded_account, # Padded to 17 digits
|
||||
cbs_acct=padded_account,
|
||||
tran_amt=amount,
|
||||
txnind=txnind,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user