Permalink
Browse files

actually print

  • Loading branch information...
Sebastian Muszytowski
Sebastian Muszytowski committed Nov 10, 2011
1 parent 46455c2 commit 40bd9a42528990282f94e08567ede23eb7163a64
Showing with 2 additions and 1 deletion.
  1. +1 −1 actions/print/printfile.php
  2. +1 −0 lib/Bon.php
@@ -6,5 +6,5 @@
}
-//header("Location: /index.php?action=preorder");
+header("Location: /index.php?action=print");
exit();
View
@@ -4,6 +4,7 @@ class Bon {
static public function doBon($orderid,$order){
Bon::saveLaTeX($orderid, Helper::LaTeXChars(Bon::generateLaTeX($orderid, $order)));
+ Bon::printLaTeX($orderid);
}
static public function generateLaTeX($orderid,$order){

0 comments on commit 40bd9a4

Please sign in to comment.