changed config to prod, and fetching only today's files from SFTP

This commit is contained in:
2026-02-11 14:20:12 +05:30
parent 81ad34fd65
commit 2e07dcc96a
5 changed files with 14 additions and 270 deletions

View File

@@ -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,
)