Invoice tex improvements and fixes
This commit is contained in:
parent
11dcabf553
commit
7ca323cb57
|
@ -2,13 +2,19 @@
|
||||||
|
|
||||||
\setkomavar{subject}{<<< $getSubject >>>}
|
\setkomavar{subject}{<<< $getSubject >>>}
|
||||||
\setkomavar{fromname}[<<<$settings->from>>>]{<<<$settings->from_long>>>}
|
\setkomavar{fromname}[<<<$settings->from>>>]{<<<$settings->from_long>>>}
|
||||||
|
@if($settings->mobile)
|
||||||
|
\KOMAoptions{frommobilephone}
|
||||||
\setkomavar{frommobilephone}[Mobiltelefon: ]{<<<$settings->mobile>>>}
|
\setkomavar{frommobilephone}[Mobiltelefon: ]{<<<$settings->mobile>>>}
|
||||||
|
@endif
|
||||||
|
@if($settings->email)
|
||||||
|
\KOMAoptions{fromemail}
|
||||||
\setkomavar{fromemail}[E-Mail: ]{<<<$settings->email>>>}
|
\setkomavar{fromemail}[E-Mail: ]{<<<$settings->email>>>}
|
||||||
|
@endif
|
||||||
|
@if($settings->website)
|
||||||
|
\KOMAoptions{fromurl}
|
||||||
\setkomavar{fromurl}[Website: ]{<<<$settings->website>>>}
|
\setkomavar{fromurl}[Website: ]{<<<$settings->website>>>}
|
||||||
\setkomavar{fromaddress}{<<<$settings->address>>>}
|
@endif
|
||||||
\setkomavar{place}{<<<$settings->place>>>}
|
\setkomavar{fromaddress}{<<<$settings->address>>>\\<<<$settings->zip>>> <<<$settings->place>>>}
|
||||||
\setkomavar{fromzipcode}{<<<$settings->zip>>>}
|
|
||||||
\setkomavar{fromlogo}{\includegraphics[width=2cm]{logo.png}} % stammeslogo
|
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
\begin{letter}{<<< $toName >>>\\<<< $toAddress >>>\\<<< $toZip >>> <<< $toLocation >>>}
|
\begin{letter}{<<< $toName >>>\\<<< $toAddress >>>\\<<< $toZip >>> <<< $toLocation >>>}
|
||||||
|
@ -16,7 +22,7 @@
|
||||||
\gdef\TotalHT{0}
|
\gdef\TotalHT{0}
|
||||||
\opening{<<< $greeting >>>,}
|
\opening{<<< $greeting >>>,}
|
||||||
|
|
||||||
Hiermit stellen wir Ihnen den aktuellen Mitgliedsbeitrag für den \usekomavar*{fromname} und die DPSG in Rechnung. Dieser setzt sich wie folgt zusammen:
|
hiermit stellen wir Ihnen den aktuellen Mitgliedsbeitrag für den \usekomavar*{fromname} und die DPSG in Rechnung. Dieser setzt sich wie folgt zusammen:
|
||||||
|
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\begin{tabular}{@{}p{0.8\textwidth}|r}
|
\begin{tabular}{@{}p{0.8\textwidth}|r}
|
||||||
|
@ -33,7 +39,7 @@
|
||||||
\begin{tabular}{ll}
|
\begin{tabular}{ll}
|
||||||
Kontoinhaber: & <<<$settings->from_long>>> \\
|
Kontoinhaber: & <<<$settings->from_long>>> \\
|
||||||
IBAN: & <<<$settings->iban>>> \\
|
IBAN: & <<<$settings->iban>>> \\
|
||||||
Bic: & <<<$settings->bic>>> \\
|
BIC: & <<<$settings->bic>>> \\
|
||||||
Verwendungszweck: & <<<$usage>>>
|
Verwendungszweck: & <<<$usage>>>
|
||||||
\end{tabular}
|
\end{tabular}
|
||||||
|
|
||||||
|
@ -44,4 +50,3 @@
|
||||||
\closing{Viele Grüße \\ Der Stammesvorstand}
|
\closing{Viele Grüße \\ Der Stammesvorstand}
|
||||||
\end{letter}
|
\end{letter}
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|
||||||
|
|
|
@ -2,13 +2,19 @@
|
||||||
|
|
||||||
\setkomavar{subject}{<<< $getSubject >>>}
|
\setkomavar{subject}{<<< $getSubject >>>}
|
||||||
\setkomavar{fromname}[<<<$settings->from>>>]{<<<$settings->from_long>>>}
|
\setkomavar{fromname}[<<<$settings->from>>>]{<<<$settings->from_long>>>}
|
||||||
|
@if($settings->mobile)
|
||||||
|
\KOMAoptions{frommobilephone}
|
||||||
\setkomavar{frommobilephone}[Mobiltelefon: ]{<<<$settings->mobile>>>}
|
\setkomavar{frommobilephone}[Mobiltelefon: ]{<<<$settings->mobile>>>}
|
||||||
|
@endif
|
||||||
|
@if($settings->email)
|
||||||
|
\KOMAoptions{fromemail}
|
||||||
\setkomavar{fromemail}[E-Mail: ]{<<<$settings->email>>>}
|
\setkomavar{fromemail}[E-Mail: ]{<<<$settings->email>>>}
|
||||||
|
@endif
|
||||||
|
@if($settings->website)
|
||||||
|
\KOMAoptions{fromurl}
|
||||||
\setkomavar{fromurl}[Website: ]{<<<$settings->website>>>}
|
\setkomavar{fromurl}[Website: ]{<<<$settings->website>>>}
|
||||||
\setkomavar{fromaddress}{<<<$settings->address>>>}
|
@endif
|
||||||
\setkomavar{place}{<<<$settings->place>>>}
|
\setkomavar{fromaddress}{<<<$settings->address>>>\\<<<$settings->zip>>> <<<$settings->place>>>}
|
||||||
\setkomavar{fromzipcode}{<<<$settings->zip>>>}
|
|
||||||
\setkomavar{fromlogo}{\includegraphics[width=2cm]{logo.png}} % stammeslogo
|
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
\begin{letter}{<<< $toName >>>\\<<< $toAddress >>>\\<<< $toZip >>> <<< $toLocation >>>}
|
\begin{letter}{<<< $toName >>>\\<<< $toAddress >>>\\<<< $toZip >>> <<< $toLocation >>>}
|
||||||
|
@ -16,7 +22,7 @@
|
||||||
\gdef\TotalHT{0}
|
\gdef\TotalHT{0}
|
||||||
\opening{<<< $greeting >>>,}
|
\opening{<<< $greeting >>>,}
|
||||||
|
|
||||||
Ihr Mitgliedbeitrag ist noch ausstehend. Dieser setzt sich wie folgt zusammen:
|
ihr Mitgliedbeitrag ist noch ausstehend. Dieser setzt sich wie folgt zusammen:
|
||||||
|
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\begin{tabular}{@{}p{0.8\textwidth}|r}
|
\begin{tabular}{@{}p{0.8\textwidth}|r}
|
||||||
|
@ -33,7 +39,7 @@
|
||||||
\begin{tabular}{ll}
|
\begin{tabular}{ll}
|
||||||
Kontoinhaber: & <<<$settings->from_long>>> \\
|
Kontoinhaber: & <<<$settings->from_long>>> \\
|
||||||
IBAN: & <<<$settings->iban>>> \\
|
IBAN: & <<<$settings->iban>>> \\
|
||||||
Bic: & <<<$settings->bic>>> \\
|
BIC: & <<<$settings->bic>>> \\
|
||||||
Verwendungszweck: & <<<$usage>>>
|
Verwendungszweck: & <<<$usage>>>
|
||||||
\end{tabular}
|
\end{tabular}
|
||||||
|
|
||||||
|
@ -44,4 +50,3 @@
|
||||||
\closing{Viele Grüße \\ Der Stammesvorstand}
|
\closing{Viele Grüße \\ Der Stammesvorstand}
|
||||||
\end{letter}
|
\end{letter}
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue