update
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user