Skip to content

Commit

Permalink
Merge pull request Attendize#252 from JapSeyz/sponsors
Browse files Browse the repository at this point in the history
Sponsors
  • Loading branch information
Dave Earley authored Dec 1, 2016
2 parents f109e0e + 5055992 commit 6409266
Show file tree
Hide file tree
Showing 20 changed files with 883 additions and 98 deletions.
7 changes: 5 additions & 2 deletions app/Handlers/QueueHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,11 @@ public function handleOrder($job, $data)
exit($pdf_file);

PDF::setOutputMode('F'); // force to file
PDF::html('Public.ViewEvent.Partials.PDFTicket', $data, $pdf_file);

if(count($this->event->ticket_sponsors)) {
PDF::html('Public.ViewEvent.Partials.PDFSponsorTicket', $data, $pdf_file);
} else {
PDF::html('Public.ViewEvent.Partials.PDFTicket', $data, $pdf_file);
}
//1
$this->orderMailer->sendOrderNotification($order);
//2
Expand Down
Loading

0 comments on commit 6409266

Please sign in to comment.