update
parent
cee060c0f1
commit
8ea23a1362
|
|
@ -72,9 +72,9 @@ class HomeController extends Controller
|
|||
->value('total_resource');
|
||||
|
||||
$data['total'] = Dataset::where('instansi_id', session('instansi_id'))
|
||||
->where('status','1')
|
||||
->where('status',1)
|
||||
->where('tahun',date('Y'))
|
||||
->whereIn('template_id', json_decode(session('resource_data')))->count();
|
||||
->whereIn('ms_tabel_data_id', json_decode(session('resource_data')))->count();
|
||||
|
||||
// $data['total'] = Instansi::where('MsInstansiId',session('instansi_id'))->join('dataset as d', 'd.instansi_id', '=', 'ms_instansi.MsInstansiId')
|
||||
// ->whereRaw("ms_instansi.resource_data IS NOT NULL
|
||||
|
|
|
|||
Loading…
Reference in New Issue