Open psampont opened 6 years ago
Hi, Thank you for opening this issue. The value $accountType determines the account-information of whatever is behind this position. What information does this line have when the value is empty?
Could you provide an example? Or even better could you create a PR? I'm more than happy to accept a PR (accompanied by a unittest ;-) ) for this case.
What information does this line have when the value is empty?
In our case, empty value is equal to a "0" value.
It's difficult for me to send a P.R. because I work on a old version included in CiviBanking.
Hi, Thank you for the additional information.
I'll keep this issue open and make a change to the code the next time I'm working on to the library.
Hi, There is a problem with the statement's date, the parser returns the same value as the transaction date.
Hello,
In our case, the bank statements sent by BPost bank do not fully comply with the CODA standard. For the "account structure" field, in data record 1, at position 2. This field must take a value from 0 to 3. But in our account statements, this field is empty. So, the account information are'nt analysed.
It will be a good thing to provide final else in the function: account.addAccountInfo () in case of a empty $accountType.