X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=odtgen.sh;h=67232a9659cfcda9e465712ec51a9d6edde8634b;hb=95b87c108d4b5829bb3184e3a2bd312140d87bbd;hp=ed1eb8ef8ad350bd771506298477256a1f453a75;hpb=9ca8d2f3992f2009e988321dc3066e482cc8d12b;p=invoices
diff --git a/odtgen.sh b/odtgen.sh
index ed1eb8e..67232a9 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}
@@ -69,16 +69,16 @@ odt_content(){
-
+
-
+
-
+
-
+
@@ -127,16 +127,16 @@ odt_content(){
$(HTML "$sender" |sed -r 's;(
\;)?
\;;;g')$(HTML "$sender" |sed -r 's;(
\;)?
\;|(?[Dd]\;)??[aA]\;|\r?$;;g')
$(HTML "$client" |sed -r 's;(
\;)?
\;;;g')$(HTML "$client" |sed -r 's;(
\;)?
\;|(?[Dd]\;)??[aA]\;|\r?$;;g')
- Rechnung ${issuance}
+ Rechnung ${number}
@@ -180,7 +180,7 @@ odt_content(){
${time}
- ${item}
+ ${work}
${hours}