Not good idea but maybe using controller to get table and in the view you can filter by where clause. example : controller.php
$ticket = DB::table('tiket');
and in the view you can using where clause. view.blade.php
@php
$ticket->where('tanggal', $tgl)->where('id_jadwal', $jadwal)->first();
@endphp