mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
3.2.1
This commit is contained in:
@@ -196,7 +196,7 @@ class ScheduleController extends Controller
|
||||
public function printtopdf($id)
|
||||
{
|
||||
$event = \App\Event::find($id);
|
||||
$pdf = PDF::loadView('admin.schedule.modal.show',['event' => $event]);
|
||||
$pdf = PDF::loadView('admin.schedule.print.event',['event' => $event]);
|
||||
return $pdf->download($event->date_begin.'.pdf');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user