Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

edit so tha latex will work

  • Loading branch information...
commit 89e3eba22b037c023f2c6bdfddcc0bd074831a8e 1 parent 122a87e
Sebastian Muszytowski authored
View
2  actions/order/printOrder.php
@@ -105,7 +105,7 @@
$html = '<html><body><script type="text/javascript">window.opener.location.reload();window.close();</script></body></html>';
//$html = var_dump(Order::getOrder(11));
$latexorderids = array();
- foreach ($limitedOrders as $order){
+ foreach ($orders as $order){
$latexorderids[] = $order["orderid"];
}
Order::markAsOrdered($latexorderids,$orderSerivce["id"]);
View
6 data/zettel/order.cls
@@ -50,7 +50,8 @@
\setlength\LTright{0pt}
\begin{longtable}{@{\extracolsep{0mm}}lrrc}
\changefont{phv}{b}{sc}Bezeichnung&\changefont{phv}{b}{sc}Preis&\changefont{phv}{b}{sc}Total&\changefont{phv}{b}{sc}Erhalten\\[10pt]
- \hline\\[-6.5pt]
+ \\[-6.5pt]
+ \hline
}
%Finish order
\newcommand{\finishorder}{
@@ -59,7 +60,7 @@
%<quantity> <order code> <name> <price> <total>
\newcommand{\addorder}[5]{
\\
- \hline{}
+ \hline
\\
\changefont{phv}{b}{n}#1x\hspace{-6pt}\changefont{phv}{m}{n}Nr. #2 "#3"&#4 &#5 &\addboxes{#1}\\[10pt]
}
@@ -101,6 +102,7 @@
&&#1 &\\[6pt]}
%Finish summary
\newcommand{\finishsummary}{
+ \\
\hline\hline
\end{longtable}
}
View
6 import.csv
@@ -21,11 +21,11 @@
24,"Lasagne",700,640,"Lasagne",52,600,"Lasagne",52,550,"Lasagne",68,750,"Lasagne",130
31,"gem. Salat o.D.",400,310,"Gemischter Salat ohne Dressing",62,350,"Insalata Mista ohne Dressing",62,300,"gemischter Salat ohne Dressing",112,400,"gemischter Salat ohne Dressing",126
32,"Salat Thunfisch. o.D.",550,520,"Insalata Tonno gross",64,450,"Insalata Tonno gross",64,500,"Salat mit Thunfisch ohne Dressing",106,650,"Salat mit Thunfisch ohne Dressing",128
-33,"Salat Schinken. o.D.",550,550,"Insalata Italiano gross",63,450,"Insalata Italiano gross",63,550,"Capricciosa ohne Thunfisch",104,700,"Salat mit Schinken ohne Dressing",128
+33,"Salat Schinken o.D.",550,550,"Insalata Italiano gross",63,450,"Insalata Italiano gross",63,550,"Capricciosa ohne Thunfisch",104,700,"Salat mit Schinken ohne Dressing",128
34,"gem. Salat Cocktaild.",400,310,"gemischter Salat Cocktaildressing",62,350,"Insalata Mista Cocktaildressing",62,300,"gemischter Salat Cocktaildressing",112,400,"gemischter Salat Cocktaildressing",126
35,"Salat Thunfisch. Cd.",550,520,"Insalata Tonno Cocktaildressing gross",64,450,"Insalata Tonno Cocktaildressing gross",64,500,"Salat mit Thunfisch Cocktaildressing",106,650,"Salat mit Thunfisch Cocktaildressing",128
-36,"Salat Schinken. Cd.",550,550,"Insalata Italiano Cocktaildressing gross",63,450,"Insalata Italiano Cocktaildressing gross",63,550,"Capriciosa ohne Thunfisch Cocktaildressing",104,700,"Salat mit Schinken Cocktaildressing",128
+36,"Salat Schinken Cd.",550,550,"Insalata Italiano Cocktaildressing gross",63,450,"Insalata Italiano Cocktaildressing gross",63,550,"Capriciosa ohne Thunfisch Cocktaildressing",104,700,"Salat mit Schinken Cocktaildressing",128
37,"gem. Salat Jd.",400,310,"gemischter Salat Joghurtdressing",62,350,"Insalata Mista Joghurtdressing",62,300,"gemischter Salat Joghurtdressing",112,400,"gemischter Salat Joghurtdressing",126
38,"Salat Thunfisch Jd.",550,520,"Insalata Tonno Joghurtdressing gross",64,450,"Insalata Tonno Joghurtdressing gross",64,500,"Salat mit Thunfisch Joghurtdressing",106,650,"Salat mit Thunfisch Joghurtdressing",128
-39,"Salat Schinken. Jd.",550,550,"Insalata Italiano Joghurtdressing gross",63,450,"Insalata Italiano Joghurtdressing gross",63,550,"Capriciosa ohne Thunfisch Joghurtdressing",104,700,"Salat mit Schinken Joghurtdressing",128
+39,"Salat Schinken Jd.",550,550,"Insalata Italiano Joghurtdressing gross",63,450,"Insalata Italiano Joghurtdressing gross",63,550,"Capriciosa ohne Thunfisch Joghurtdressing",104,700,"Salat mit Schinken Joghurtdressing",128
41,"Pizzabroetchen",200,190,"Pizzabrötchen mit Kräuterbutter",0,150,"Pizzabrötchen mit Kräuterbutter",0,150,"Pizzabrötchen mit Kräuterbutter",0,250,"Pizzabrötchen mit Kräuterbutter",0
Please sign in to comment.
Something went wrong with that request. Please try again.