Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 33ae8077

Von Marei (peiTeX) vor etwa 4 Jahren hinzugefügt

  • ID 33ae80773d86157519a284de8c147ba0ec94e3f8
  • Vorgänger c864fa6a
  • Nachfolger 77d85523

marei: restructure pick_list

Unterschiede anzeigen:

templates/print/marei/bin_list.tex
10 10
\KOMAoptions{fontsize=10pt}
11 11
\begin{document}
12 12

  
13
\setkomavar{title}{Lagerliste}
14

  
13
\setkomavar{title}{\lagerliste}
15 14

  
16 15
\setkomavar{firsthead}{
17 16
	\normalsize
templates/print/marei/deutsch.tex
142 142
\newcommand*{\verrechnet}{Verrechnet}
143 143

  
144 144
%lagerliste/bin_list
145
\newcommand*{\lagerliste}{Lagerliste}
145 146
\newcommand*{\lieferanschrift}{Lieferanschrift}
146 147
\newcommand*{\bestellnummer}{Bestellnummer}
147 148
\newcommand*{\kontakt}{Kontakt}
......
150 151
\newcommand*{\lieferungMit}{Lieferung mit}
151 152
\newcommand*{\nummer}{Nummer}
152 153
\newcommand*{\beschreibung}{Beschreibung}
153
\newcommand*{\erh}{Erh}
154
\newcommand*{\erh}{Erh}
155

  
156
%sammelliste
157
\newcommand*{\sammelliste}{Sammelliste}
158
\newcommand*{\lagerausgang}{Lagerausgang}
templates/print/marei/pick_list.tex
1
\documentclass[twoside]{scrartcl}
2
\usepackage[frame]{xy}
3
\usepackage{tabularx}
4
\usepackage[utf8]{inputenc}
5
\usepackage{graphicx}
6
\setlength{\voffset}{0.5cm}
7
\setlength{\hoffset}{-2.0cm}
8
\setlength{\topmargin}{0cm}
9
\setlength{\headheight}{0.5cm}
10
\setlength{\headsep}{1cm}
11
\setlength{\topskip}{0pt}
12
\setlength{\oddsidemargin}{1.0cm}
13
\setlength{\evensidemargin}{1.0cm}
14
\setlength{\textwidth}{17cm}
15
\setlength{\textheight}{24.7cm}
16
\setlength{\footskip}{1cm}
17
\setlength{\parindent}{0pt}
18
\renewcommand{\baselinestretch}{1}
1
\documentclass[twoside,parskip=half-]{scrartcl}
2
\usepackage[reffields,backaddress=false,addrfield=topaligned]{kiviletter}
19 3

  
20
\begin{document}
21

  
22
\newlength{\descrwidth}\setlength{\descrwidth}{9cm}
23
\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
24

  
25
\pagestyle{myheadings}
26
\thispagestyle{empty}
27

  
28
\vspace*{-1.3cm}
29

  
30
\parbox{\textwidth}{
31
  \parbox[b]{.42\textwidth}{
32
    <%company%>%
33

  
34
    <%address%>%
35
  }\hfill
36
  \begin{tabular}[b]{rr@{}}
37
  Tel & <%tel%>\\
38
  Fax & <%fax%>%
39
  \end{tabular}
40

  
41
  \rule[1.5ex]{\textwidth}{0.5pt}
42
}
43

  
44
\vspace*{0.5cm}
4
% Variablen, die in settings verwendet werden
5
\newcommand{\lxlangcode} {<%template_meta.language.template_code%>}
45 6

  
46
\parbox[t]{1cm}{\hfill}
47
\parbox[t]{.5\textwidth}{
48
  \textbf{Lieferanschrift}
49
} \hfill
7
% settings: Einstellungen, Logo, Briefpapier, Kopfzeile, Fusszeile
8
\input{insettings.tex}
50 9

  
51
\vspace{0.7cm}
52

  
53
\parbox[t]{1cm}{\hfill}
54
\parbox[t]{.5\textwidth}{
10
\KOMAoptions{fontsize=10pt}
11
\begin{document}
55 12

  
56
<%shiptoname%> \\
57
<%shiptostreet%> \\
58
<%shiptozipcode%> \\
59
<%shiptocity%> \\
60
<%shiptocountry%>%
13
\setkomavar{title}{\sammelliste}
14

  
15
\setkomavar{firsthead}{
16
	\normalsize
17
	\noindent\begin{tabular}[t]{@{}l@{}}
18
		<%company%>\strut\\
19
		<%address%>
20
	\end{tabular}
21
	\hfill
22
 \begin{tabular}[t]{rr@{}}
23
		Tel & <%tel%>\\
24
		Fax & <%fax%>%
25
	\end{tabular}
26
	\rule{\linewidth}{\heavyrulewidth}
61 27
}
62
\parbox[t]{.4\textwidth}{
63
  <%shiptocontact%>%
64

  
65
  <%if shiptophone%>%
66
  Tel: <%shiptophone%>%
67
  <%end shiptophone%>%
68

  
69
  <%if shiptofax%>%
70
  Fax: <%shiptofax%>%
71
  <%end shiptofax%>%
72 28

  
73
  <%shiptoemail%>%
29
\makeatletter
30
\setkomavar{location}{
31
	\normalsize
32
	<%shiptocontact%>%
33
	<%if shiptophone%>%
34
	\\\textTelefon : <%shiptophone%>
35
	<%end shiptophone%>%
36
	<%if shiptofax%>%
37
	\\\textFax : <%shiptofax%>
38
	<%end shiptofax%>%
39
	\\%
40
	<%shiptoemail%>%
41
	}
42
\makeatother
43

  
44
\setkomavar{backaddress}{\lieferanschrift}
45

  
46
\begin{letter}{
47
	<%shiptoname%>\ifhmode\\\fi
48
	<%shiptostreet%>\ifhmode\\\fi
49
	<%shiptozipcode%>\ifhmode\\\fi
50
	<%shiptocity%>\ifhmode\\\fi
51
	<%shiptocountry%>
74 52
}
75
\hfill
76 53

  
77
\vspace{1cm}
54
\opening{}
78 55

  
79
\textbf{S A M M E L L I S T E}
80
\hfill
81 56

  
82
\vspace{1cm}
83

  
84
\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
85
  \textbf{BestellNr. \#} & \textbf{Datum} & \textbf{Kontakt}
57
\begin{SimpleTabular}[colspec=*6X,headline={\bfseries\bestellnummer&\bfseries\datum&\bfseries\kontakt
86 58
  <%if warehouse%>%
87
  & \textbf{Lager}
59
  &\bfseries\lager%
88 60
  <%end warehouse%>%
89
  & \textbf{Lagerplatz} & \textbf{Lieferung mit} \\ [0.5em]
90
  \hline
61
  &\bfseries\lagerplatz&\bfseries\lieferungMit}]
62

  
91 63
  <%ordnumber%>%
64
  &%
92 65
  <%if shippingdate%>%
93
  & <%shippingdate%>%
66
	<%shippingdate%>%
94 67
  <%end shippingdate%>%
95 68
  <%if not shippingdate%>%
96
  & <%orddate%>%
69
	<%orddate%>%
97 70
  <%end shippingdate%>%
98 71
  & <%employee%>%
99 72
  <%if warehouse%>%
100 73
  & <%warehouse%>%
101 74
  <%end warehouse%>%
102 75
  & <%shippingpoint%> & <%shipvia%> \\
103
  \hline
104
\end{tabularx}
76
\end{SimpleTabular}
105 77

  
106
\vspace{1cm}
78
\bigskip
107 79

  
108
\begin{tabular*}{\textwidth}{@{}rlp{\descrwidth}@{\extracolsep\fill}rcll@{}}
109
  \textbf{Pos} & \textbf{Nummer} & \textbf{Beschreibung} &
110
  \textbf{Menge} & \textbf{Lagerausgang} & & \textbf{Lagerplatz} \\
111
<%foreach number%>%
112
  <%runningnumber%> & <%number%> & <%description%> &
113
  <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
114
<%end number%>%
115
\end{tabular*}
80
\begin{SimpleTabular}[colspec=rlXrcll,headline={\bfseries\position&\bfseries\nummer&\bfseries\beschreibung&\bfseries\menge&\bfseries\lagerausgang&&\bfseries\lagerplatz}]
81
<%foreach number%>
82
<%runningnumber%> & <%number%> & <%description%> &
83
<%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
84
<%end number%>
85
\end{SimpleTabular}
116 86

  
117

  
118
\parbox{\textwidth}{
119
\rule{\textwidth}{2pt}
120
}
87
\end{letter}
121 88

  
122 89
\end{document}
123 90

  

Auch abrufbar als: Unified diff