From bcc010f29b2cb34783f30c068584e14647b5f813 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Paul=20H=C3=A4nsch?= <paul@plutz.net>
Date: Wed, 28 Nov 2018 17:01:03 +0100
Subject: [PATCH] bugfix: print iban and bic in export

---
 odtgen.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/odtgen.sh b/odtgen.sh
index ed1eb8e..e4c800a 100755
--- a/odtgen.sh
+++ b/odtgen.sh
@@ -12,7 +12,7 @@ odt_manifest(){
 }
 
 odt_stylesheet(){
-  local iban="$2" bic="$3"
+  local iban="$1" bic="$2"
 
   cat <<-EOF
 	<?xml version="1.0" encoding="UTF-8"?>
@@ -46,8 +46,8 @@ odt_stylesheet(){
 	      <style:footer>
 	        <text:p text:style-name="MP1">
 	          <text:span text:style-name="MT1">Bankverbindung - IBAN:</text:span>
-	          <text:span>${iban} |</text:span>
-	          <text:span text:style-name="MT1">BIC:</text:span>
+	          <text:span>${iban}</text:span>
+	          <text:span text:style-name="MT1">| BIC:</text:span>
 	          <text:span>${bic}</text:span>
 	        </text:p>
 	      </style:footer>
-- 
2.39.5