diff --git a/DataTables/DocumentDataTable.php b/DataTables/DocumentDataTable.php index fb1e1ee..84bb3ea 100644 --- a/DataTables/DocumentDataTable.php +++ b/DataTables/DocumentDataTable.php @@ -54,8 +54,7 @@ $query->orWhereRelation('document.sub_sub_job', 'kode', 'like', "%" . $search['value'] . "%"); $query->orWhereRelation('document.sub_sub_job', 'name', 'like', "%" . $search['value'] . "%"); - $query->orWhere('tanggal_dokumen', 'like', "%" . $search['value'] . "%"); - $query->orWhere('tanggal_upload', 'like', "%" . $search['value'] . "%"); + $query->orWhere('created_at', 'like', "%" . $search['value'] . "%"); $query->orWhere('nama_nasabah', 'like', "%" . $search['value'] . "%"); $query->orWhere('no_rekening', 'like', "%" . $search['value'] . "%"); $query->orWhere('no_cif', 'like', "%" . $search['value'] . "%");