This commit is contained in:
Dwi Swandhana
2026-03-06 12:58:40 +07:00
parent 9bd38a470e
commit 5f37ce8def
5 changed files with 333 additions and 85 deletions
@@ -89,13 +89,10 @@ class FrontpageController extends Controller
'poli.subpoli',
'poli.modaliti2'
)
->where(function($q) {
$q->whereNull('periksa.status')
->orWhere(function($sub) {
$sub->where('periksa.status', '<>', 'Selesai')
->where('periksa.status', 'not like', 'Dibatalkan%');
});
})
->whereNotNull('periksa.status')
->where('periksa.status', '<>', '')
->whereRaw('LOWER(periksa.status) <> ?', ['selesai'])
->whereRaw('LOWER(periksa.status) not like ?', ['%dibatalkan%'])
->whereNotNull('periksa.daftar')
->orderBy('periksa.daftar', 'ASC')
->get();