Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Version 2.4.3 to 2.4.4

Only if you dont use the default-invoice-template.tex!

...

  • placeholder 'canceled_to' is now used for cancelation date of contract - so change if-then-else condition & text placeholder in LaTeX invoice template (for output when contract was canceled) like so

    Code Block
    languagebash
    # replace
    \ifthenelse{\equal{{last\_cancel\_date}}{}}
        {Der Vertrag wurde gekündigt zum: {end\_of\_term}.}
    %else
    {
        \begin{tabular} {@{}ll}
            % Vertragsbeginn: {start\_of\_term}\\
            Tariflaufzeit: & {maturity}\\
            Nächstmögliches Laufzeitende: & {end\_of\_term}\\
            Kündigungsfrist: & {period\_of\_notice}\\
            Spätester Kündigungszeitpunkt: & {last\_cancel\_date}\\
        \end{tabular}
    }
    # by 
    \ifthenelse{\equal{{canceled\_to}}{}}
    {
        \begin{tabular} {@{}ll}
            % Vertragsbeginn: {start\_of\_term}\\
            Tariflaufzeit: & {maturity}\\
            Nächstmögliches Laufzeitende: & {end\_of\_term}\\
            Kündigungsfrist: & {period\_of\_notice}\\
            Spätester Kündigungszeitpunkt: & {last\_cancel\_date}\\
        \end{tabular}
    }
    %else
    {Der Vertrag wurde gekündigt zum: {canceled\_to}.}