update
parent
0c153a61e3
commit
f8aee0974b
|
|
@ -105,7 +105,7 @@ class HomeController extends Controller
|
|||
foreach ($data as $key => $row) {
|
||||
//cek upload
|
||||
$status = '';
|
||||
$cek = Dataset::where('ms_tabel_data_id',$row->MsTabelDataId)->where('tahun',date('Y'))->first();
|
||||
$cek = Dataset::where('instansi_id',session('instansi_id'))->where('ms_tabel_data_id',$row->MsTabelDataId)->where('tahun',date('Y'))->first();
|
||||
if(@$cek){
|
||||
if(@$cek->status == 1){
|
||||
$status = ' <small class="p-1 w-full flex bg-emerald-500 text-white rounded" title="Valid">Valid</small>';
|
||||
|
|
|
|||
Loading…
Reference in New Issue