X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=odtgen.sh;h=e4c800a73e15f0c2d640b17570d887416ebedf0e;hb=bcc010f29b2cb34783f30c068584e14647b5f813;hp=c0f244825b74fad45a4d4e490c11cee03e5181ef;hpb=1d50621aa549b7a5c673a72de1dc74f368a5c58a;p=invoices diff --git a/odtgen.sh b/odtgen.sh index c0f2448..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 @@ -46,8 +46,8 @@ odt_stylesheet(){ Bankverbindung - IBAN: - ${iban} | - BIC: + ${iban} + | BIC: ${bic} @@ -286,7 +286,7 @@ genodt(){ genpdf(){ local id="$1" genodt "$id" - writer --convert-to pdf --outdir "export/" "export/${id}.odt" >/dev/null + lowriter --convert-to pdf --outdir "export/" "export/${id}.odt" >/dev/null rm "export/${id}.odt" }