diff --git a/resources/views/tex/invoice/bill.tex b/resources/views/tex/invoice/bill.tex index 672deebd..bcaf6d4c 100644 --- a/resources/views/tex/invoice/bill.tex +++ b/resources/views/tex/invoice/bill.tex @@ -14,7 +14,9 @@ \KOMAoptions{fromurl} \setkomavar{fromurl}[Website: ]{<<<$settings->website>>>} @endif +@if($settings->address && $settings->zip && $settings->place) \setkomavar{fromaddress}{<<<$settings->address>>>\\<<<$settings->zip>>> <<<$settings->place>>>} +@endif \begin{document} \begin{letter}{<<< $toName >>>\\<<< $toAddress >>>\\<<< $toZip >>> <<< $toLocation >>>} diff --git a/resources/views/tex/invoice/remember.tex b/resources/views/tex/invoice/remember.tex index 1fcaac81..79005d23 100644 --- a/resources/views/tex/invoice/remember.tex +++ b/resources/views/tex/invoice/remember.tex @@ -14,7 +14,9 @@ \KOMAoptions{fromurl} \setkomavar{fromurl}[Website: ]{<<<$settings->website>>>} @endif +@if($settings->address && $settings->zip && $settings->place) \setkomavar{fromaddress}{<<<$settings->address>>>\\<<<$settings->zip>>> <<<$settings->place>>>} +@endif \begin{document} \begin{letter}{<<< $toName >>>\\<<< $toAddress >>>\\<<< $toZip >>> <<< $toLocation >>>}