Revision d16caf22
Von Werner Hahn vor mehr als 2 Jahren hinzugefügt
templates/print/marei/deutsch.tex | ||
---|---|---|
% lieferschein (sales_delivery_order)
|
||
\newcommand{\lieferschein} {Lieferschein}
|
||
|
||
% verkaufsreklamationen (sales_reclamation)
|
||
\newcommand{\vkreklamation}{VK-Reklamation}
|
||
\newcommand{\vkreklamationsformel} {hiermit bestätigen wir Ihnen den Eingang einer Ihrer Reklamation mit folgenden Positionen:}
|
||
|
||
% einkaufs-reklamationen (purchase_reclamation)
|
||
\newcommand{\ekreklamation}{EK-Reklamation}
|
||
\newcommand{\ekreklamationsformel} {folgende Positionen werden reklamiert:}
|
||
|
||
\newcommand{\grund}{Grund}
|
||
|
||
% rechnung (invoice)
|
||
\newcommand{\rechnung} {Rechnung}
|
||
\newcommand{\rechnungskopie} {Rechnungskopie}
|
templates/print/marei/english.tex | ||
---|---|---|
% lieferschein (sales_delivery_order)
|
||
\newcommand{\lieferschein} {Delivery order}
|
||
|
||
% verkaufsreklamationen (sales_reclamation)
|
||
\newcommand{\vkreklamation}{XXXX}
|
||
\newcommand{\vkreklamationsformel} {XXXX}
|
||
|
||
% einkaufs-reklamationen (purchase_reclamation)
|
||
\newcommand{\ekreklamation}{XXXX}
|
||
\newcommand{\ekreklamationsformel} {XXXX}
|
||
|
||
\newcommand{\grund}{XXXX}
|
||
|
||
% rechnung (invoice)
|
||
\newcommand{\rechnung} {Invoice}
|
||
\newcommand{\rechnungskopie} {Invoice copy}
|
templates/print/marei/purchase_reclamation.tex | ||
---|---|---|
\input{insettings.tex}
|
||
|
||
% laufende Kopfzeile:
|
||
\ourhead{\kundennummer}{$( KiviLatex.filter(reclamation.customervendor.number) )$}{\auftragsbestaetigung}{$( KiviLatex.filter(reclamation.record_number) )$}{$( reclamation.transdate_as_date )$}
|
||
\ourhead{\kundennummer}{$( KiviLatex.filter(reclamation.customervendor.number) )$}{\ekreklamation}{$( KiviLatex.filter(reclamation.record_number) )$}{$( reclamation.transdate_as_date )$}
|
||
|
||
\setkomavar*{date}{\datum}
|
||
\setkomavar{date}{$( reclamation.transdate_as_date )$}
|
||
... | ... | |
%\setkomavar{fromphone}{$( KiviLatex.filter(reclamation.employee.deleted_tel) )$}
|
||
%\setkomavar{fromemail}{$( KiviLatex.filter(reclamation.employee.deleted_email) )$}
|
||
\setkomavar{title}{
|
||
\auftragsbestaetigung~
|
||
\ekreklamation~
|
||
\nr~$( KiviLatex.filter(reclamation.record_number) )$%
|
||
}
|
||
|
||
... | ... | |
|
||
\begin{letter}{
|
||
%TODO(Tamino): what name, street, ... ?
|
||
$( name )$\strut\\
|
||
$( IF (department_1) )$$( department_1 )$\\$( END )$%
|
||
$( IF (department_2) )$$( department_2 )$\\$( END )$%
|
||
$( reclamation.customer.name )$\strut\\
|
||
$( IF (reclamation.customer.department_1) )$$( reclamation.customer.department_1 )$\\$( END )$%
|
||
$( IF (reclamation.customer.department_2) )$$( reclamation.customer.department_2 )$\\$( END )$%
|
||
$( reclamation.contact.cp_givenname )$ $( reclamation.contact.cp_name )$\strut\\
|
||
$( street )$\strut\\
|
||
$( zipcode )$ $( city )$\strut\\
|
||
$( country )$ \strut
|
||
$( reclamation.customer.street )$\strut\\
|
||
$( reclamation.customer.zipcode )$ $( city )$\strut\\
|
||
$( reclamation.customer.country )$ \strut
|
||
}
|
||
|
||
% Bei Kontaktperson Anrede nach Geschlecht unterscheiden.
|
||
... | ... | |
}
|
||
\thispagestyle{kivitendo.letter.first}
|
||
|
||
\auftragsformel
|
||
\ekreklamationsformel
|
||
|
||
\begin{PricingTabular*}
|
||
% eigentliche Tabelle
|
||
... | ... | |
$( IF (item.reqdate) )$\ExtraDescription{\lieferdatum: $( item.reqdate_as_date )$}$( END )$%
|
||
$( IF (item.serialnumber) )$\ExtraDescription{\seriennummer: $( KiviLatex.filter(item.serialnumber) )$}$( END )$%
|
||
$( IF (item.projectnumber) )$\ExtraDescription{\projektnummer: $( KiviLatex.filter(item.projectnumber) )$}$( END )$%
|
||
$( IF (item.reason.description) )$\ExtraDescription{\grund: $( KiviLatex.filter(item.reason.description) )$}$( END )$%
|
||
$( IF (item.reason_description_ext) )$\ExtraDescription{$( KiviLatex.filter(item.reason_description_ext) )$}$( END )$%
|
||
&%
|
||
$( item.qty_as_number )$ $( item.unit )$ &%
|
||
$( item.sellprice_as_number )$&%
|
||
% TODO(Tamino): discount in '%'
|
||
\Ifstr{$( p_discount )$}{0}{}{\sffamily\scriptsize{(-$( p_discount )$\,\%)}}%
|
||
\Ifstr{$( item.discount_as_number )$}{0}{}{\sffamily\scriptsize{(-$( item.discount_as_percent )$\%)}}%
|
||
% TODO(Tamino): linetotal
|
||
\normalsize
|
||
$( LxERP.format_amount(item.linetotal, 2, 0) )$\tabularnewline
|
||
$( END )$%
|
||
}%
|
||
... | ... | |
\lieferungErfolgtAm ~$( reclamation.reqdate_as_date )$.
|
||
$( END )$%
|
||
|
||
\textit{\auftragpruefen}
|
||
|
||
%\closing{\gruesse}
|
||
|
templates/print/marei/sales_reclamation.tex | ||
---|---|---|
|
||
\documentclass[paper=a4,fontsize=10pt]{scrartcl}
|
||
\usepackage{kiviletter}
|
||
|
||
$( KiviLatex.required_packages_for_html )$
|
||
|
||
% Variablen, die in settings verwendet werden
|
||
\newcommand{\lxlangcode} {$( template_meta.language.template_code )$}
|
||
... | ... | |
\input{insettings.tex}
|
||
|
||
% laufende Kopfzeile:
|
||
\ourhead{\kundennummer}{$( KiviLatex.filter(reclamation.customervendor.number) )$}{\auftragsbestaetigung}{$( KiviLatex.filter(reclamation.record_number) )$}{$( reclamation.transdate_as_date )$}
|
||
\ourhead{\kundennummer}{$( KiviLatex.filter(reclamation.customervendor.number) )$}{\vkreklamation}{$( KiviLatex.filter(reclamation.record_number) )$}{$( reclamation.transdate_as_date )$}
|
||
|
||
\setkomavar*{date}{\datum}
|
||
\setkomavar{date}{$( reclamation.transdate_as_date )$}
|
||
... | ... | |
%\setkomavar{fromphone}{$( KiviLatex.filter(reclamation.employee.deleted_tel) )$}
|
||
%\setkomavar{fromemail}{$( KiviLatex.filter(reclamation.employee.deleted_email) )$}
|
||
\setkomavar{title}{
|
||
\auftragsbestaetigung~
|
||
\vkreklamation~
|
||
\nr~$( KiviLatex.filter(reclamation.record_number) )$%
|
||
}
|
||
|
||
... | ... | |
|
||
\begin{letter}{
|
||
%TODO(Tamino): what name, street, ... ?
|
||
$( name )$\strut\\
|
||
$( IF (department_1) )$$( department_1 )$\\$( END )$%
|
||
$( IF (department_2) )$$( department_2 )$\\$( END )$%
|
||
$( reclamation.customer.name )$\strut\\
|
||
$( IF (reclamation.customer.department_1) )$$( reclamation.customer.department_1 )$\\$( END )$%
|
||
$( IF (reclamation.customer.department_2) )$$( reclamation.customer.department_2 )$\\$( END )$%
|
||
$( reclamation.contact.cp_givenname )$ $( reclamation.contact.cp_name )$\strut\\
|
||
$( street )$\strut\\
|
||
$( zipcode )$ $( city )$\strut\\
|
||
$( country )$ \strut
|
||
$( reclamation.customer.street )$\strut\\
|
||
$( reclamation.customer.zipcode )$ $( city )$\strut\\
|
||
$( reclamation.customer.country )$ \strut
|
||
}
|
||
|
||
% Bei Kontaktperson Anrede nach Geschlecht unterscheiden.
|
||
... | ... | |
}
|
||
\thispagestyle{kivitendo.letter.first}
|
||
|
||
\auftragsformel
|
||
\vkreklamationsformel
|
||
|
||
\begin{PricingTabular*}
|
||
% eigentliche Tabelle
|
||
... | ... | |
$( item.position )$ &%
|
||
$( item.part.partnumber )$ &%
|
||
\textbf{ $( KiviLatex.filter(item.description) )$ }%
|
||
$( IF (item.longdescription) )$\ExtraDescription{$( KiviLatex.filter(item.longdescription) )$}$( END )$%
|
||
$( IF (item.longdescription) )$\ExtraDescription{$( KiviLatex.filter_html(item.longdescription) )$}$( END )$%
|
||
$( IF (item.reqdate) )$\ExtraDescription{\lieferdatum: $( item.reqdate_as_date )$}$( END )$%
|
||
$( IF (item.serialnumber) )$\ExtraDescription{\seriennummer: $( KiviLatex.filter(item.serialnumber) )$}$( END )$%
|
||
$( IF (item.projectnumber) )$\ExtraDescription{\projektnummer: $( KiviLatex.filter(item.projectnumber) )$}$( END )$%
|
||
$( IF (item.reason.description) )$\ExtraDescription{\grund: $( KiviLatex.filter(item.reason.description) )$}$( END )$%
|
||
$( IF (item.reason_description_ext) )$\ExtraDescription{$( KiviLatex.filter(item.reason_description_ext) )$}$( END )$%
|
||
&%
|
||
$( item.qty_as_number )$ $( item.unit )$ &%
|
||
$( item.sellprice_as_number )$&%
|
||
% TODO(Tamino): discount in '%'
|
||
\Ifstr{$( p_discount )$}{0}{}{\sffamily\scriptsize{(-$( p_discount )$\,\%)}}%
|
||
\Ifstr{$( item.discount_as_number )$}{0}{}{\sffamily\scriptsize{(-$( item.discount_as_percent )$\%)}}%
|
||
% TODO(Tamino): linetotal
|
||
\normalsize
|
||
$( LxERP.format_amount(item.linetotal, 2, 0) )$\tabularnewline
|
||
$( END )$%
|
||
}%
|
||
... | ... | |
\lieferungErfolgtAm ~$( reclamation.reqdate_as_date )$.
|
||
$( END )$%
|
||
|
||
\textit{\auftragpruefen}
|
||
|
||
%\closing{\gruesse}
|
||
|
Auch abrufbar als: Unified diff
Druckvorlagen Anpassungen