Work on better partials matching.

This commit is contained in:
Dominik Pantůček 2023-07-29 15:51:15 +02:00
parent 9ca16fe6c5
commit ec804535c0
2 changed files with 9 additions and 6 deletions

View file

@ -25,6 +25,9 @@
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
# Not usable anymore, kept for reference
exit 0
# REST API endpoint
APIURI=https://www.fio.cz/ib_api/rest
@ -219,7 +222,7 @@ get_header_field() {
# $1 - account number
make_acc_header() {
first="`first_acc_part $1`"
last="`last_acc_part $2`"
last="`last_acc_part $1`"
firstfname="$BANK_DIR_PARTS/$first"
lastfname="$BANK_DIR_PARTS/$last"
make_acc_header_static "$firstfname"