]> git.plutz.net Git - invoices/commitdiff
bugfix: print iban and bic in export
authorPaul Hänsch <paul@plutz.net>
Wed, 28 Nov 2018 16:01:03 +0000 (17:01 +0100)
committerPaul Hänsch <paul@plutz.net>
Wed, 28 Nov 2018 16:01:03 +0000 (17:01 +0100)
odtgen.sh

index ed1eb8ef8ad350bd771506298477256a1f453a75..e4c800a73e15f0c2d640b17570d887416ebedf0e 100755 (executable)
--- 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>