fixing datatable odner

This commit is contained in:
Daeng Deni Mardaeni 2023-09-05 11:20:31 +07:00
parent e157ad63ef
commit 0a36a55bcc

View File

@ -35,7 +35,7 @@
->pluck('document_id')
->toArray();
$query = $query->whereNotIn('id', $odners)->whereRelation('document_details', function ($query) {
$query->whereNotIn('status', '<', [0, 3, 6, 7, 8]);
$query->whereNotIn('status', [0, 3, 6, 7, 8]);
$query->where('aktif', 1);
});
return (new EloquentDataTable($query))->filter(function ($query) {