Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mizrahi: Repaired balance / account number reading #803

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

BackSlasher
Copy link
Contributor

Summary:
The good people at Mizrahi changed their field structure. The account number needs to be read from pure HTML now, and "YitraLeloChekim" is gone, so I'm moving to "Yitra"

Test Plan:
BEFORE my change, testing on my Mizrahi account resulted in:

"account","balance","type","identifier","date","processedDate","originalAmount","originalCurrency","chargedAmount","description","status"
,"account balance: NaN","normal",18813,"09/08/2023","09/08/2023",-99999,"ILS",-999999,"העברת יומן","completed"
,"account balance: NaN","normal",99210,"08/08/2023","08/08/2023",999999,"ILS",999999,"<200f>משכורת (י)","completed"

AFTER:

"account","balance","type","identifier","date","processedDate","originalAmount","originalCurrency","chargedAmount","description","status"
"999-999999","account balance: 99999.9","normal",18813,"09/08/2023","09/08/2023",-99999,"ILS",-9999.9,"העברת יומן","completed"
"999-999999","account balance: 99999.9","normal",99210,"08/08/2023","08/08/2023",999999,"ILS",999999,"<200f>משכורת (י)","completed"

Summary:
The good people at Mizrahi changed their field structure.
The account number needs to be read from pure HTML now, and "YitraLeloChekim" is gone, so I'm moving to "Yitra"

Test Plan:
BEFORE my change, testing on my Mizrahi account resulted in:
```
"account","balance","type","identifier","date","processedDate","originalAmount","originalCurrency","chargedAmount","description","status"
,"account balance: NaN","normal",18813,"09/08/2023","09/08/2023",-99999,"ILS",-999999,"העברת יומן","completed"
,"account balance: NaN","normal",99210,"08/08/2023","08/08/2023",999999,"ILS",999999,"<200f>משכורת (י)","completed"
```
AFTER:
```
"account","balance","type","identifier","date","processedDate","originalAmount","originalCurrency","chargedAmount","description","status"
"999-999999","account balance: 99999.9","normal",18813,"09/08/2023","09/08/2023",-99999,"ILS",-9999.9,"העברת יומן","completed"
"999-999999","account balance: 99999.9","normal",99210,"08/08/2023","08/08/2023",999999,"ILS",999999,"<200f>משכורת (י)","completed"
```
@BackSlasher BackSlasher force-pushed the fix-mizrahi-accountnumber branch from c9f97fd to f192203 Compare August 9, 2023 21:04
@esakal esakal merged commit bc841a6 into eshaham:master Aug 10, 2023
@github-actions
Copy link

🎉 This PR is included in version 4.0.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@BackSlasher BackSlasher deleted the fix-mizrahi-accountnumber branch August 10, 2023 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants