Skip to content

Commit

Permalink
actually print
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Muszytowski committed Nov 10, 2011
1 parent 46455c2 commit 40bd9a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion actions/print/printfile.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@


} }


//header("Location: /index.php?action=preorder"); header("Location: /index.php?action=print");
exit(); exit();
1 change: 1 addition & 0 deletions lib/Bon.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Bon {


static public function doBon($orderid,$order){ static public function doBon($orderid,$order){
Bon::saveLaTeX($orderid, Helper::LaTeXChars(Bon::generateLaTeX($orderid, $order))); Bon::saveLaTeX($orderid, Helper::LaTeXChars(Bon::generateLaTeX($orderid, $order)));
Bon::printLaTeX($orderid);
} }


static public function generateLaTeX($orderid,$order){ static public function generateLaTeX($orderid,$order){
Expand Down

0 comments on commit 40bd9a4

Please sign in to comment.