Split bic.
This commit is contained in:
parent
7093dff61a
commit
55eac29de5
1 changed files with 4 additions and 0 deletions
|
@ -169,6 +169,7 @@ split_year() {
|
|||
dateEnd=`get_header_field $CSVNAME dateEnd`
|
||||
idFrom=`get_header_field $CSVNAME idFrom`
|
||||
idTo=`get_header_field $CSVNAME idTo`
|
||||
bic=`get_header_field $CSVNAME bic`
|
||||
|
||||
# Special handling of balances - in 1/100 of currency
|
||||
currentBalanceTmp=${openingBalance#*;}
|
||||
|
@ -188,6 +189,9 @@ split_year() {
|
|||
echo "$bankId"
|
||||
echo "$currency"
|
||||
echo "$iban"
|
||||
if ! [ -z "$bic" ] ; then
|
||||
echo "$bic"
|
||||
fi
|
||||
OPENINGBALANCE=`format_100 $currentBalance`
|
||||
echo "openingBalance;$OPENINGBALANCE"
|
||||
for tr in `grep "^[0-9]*;...$MONTH.$YEAR;" "$CSVNAME" | cut -f3 -d';'|sed 's/,//'` ; do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue