Skip to content

Commit

Permalink
19336 - update eft transactions to store deposit date and transaction…
Browse files Browse the repository at this point in the history
… date (bcgov#1391)
  • Loading branch information
ochiu authored Jan 30, 2024
1 parent 6d4a94c commit 3954c24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion queue_services/payment-reconciliations/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-e git+https://github.com/bcgov/lear.git@30dba30463c99aaedfdcfd463213e71ba0d35b51#egg=entity_queue_common&subdirectory=queue_services/common
-e git+https://github.com/bcgov/sbc-common-components.git@b93585ea3ac273b9e51c4dd5ddbc8190fd95da6a#egg=sbc_common_components&subdirectory=python
-e git+https://github.com/bcgov/sbc-pay.git@88faa501d2e68c4b39c69ce1ddd8c9a64490aaa6#egg=pay_api&subdirectory=pay-api
-e git+https://github.com/bcgov/sbc-pay.git@6d4a94c8d78f11322487f93eb65ec6e9d5238b35#egg=pay_api&subdirectory=pay-api
Flask-Caching==2.0.2
Flask-Migrate==2.7.0
Flask-Moment==1.0.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,8 @@ def _save_eft_transaction(eft_record: EFTRecord, eft_file_model: EFTFileModel, i
eft_transaction_model.jv_type = getattr(eft_record, 'jv_type', None)
eft_transaction_model.jv_number = getattr(eft_record, 'jv_number', None)
deposit_amount_cad = getattr(eft_record, 'deposit_amount_cad', None)
eft_transaction_model.deposit_date = getattr(eft_record, 'deposit_datetime')
eft_transaction_model.transaction_date = getattr(eft_record, 'transaction_date')
eft_transaction_model.deposit_amount_cents = deposit_amount_cad
eft_transaction_model.save()

Expand Down

0 comments on commit 3954c24

Please sign in to comment.