mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 18:59:09 -04:00
Merge branch '3.2.2' into '3.2.3'
Bug Fix See merge request TheGamecraft/c-cms!63
This commit is contained in:
@@ -196,7 +196,8 @@ class ScheduleController extends Controller
|
||||
public function printtopdf($id)
|
||||
{
|
||||
$event = \App\Event::find($id);
|
||||
$pdf = PDF::loadView('admin.schedule.print.event',['event' => $event]);
|
||||
//return view('admin.schedule.print.event',['event' => $event]);
|
||||
$pdf = PDF::loadView('admin.schedule.print.event',['event' => $event])->setPaper('8.5x11', 'landscape');
|
||||
return $pdf->download($event->date_begin.'.pdf');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user