Commit f5bc11a3 by Siti Aisah

fix get unit penelaah

parent f6f5fe63
......@@ -9,7 +9,7 @@ class SakuController extends Controller
{
public function index() {
$penelaah = DB::table('tr_penelaah')->get();
$penelaah = DB::table('tr_penelaah')->orderBy('id_pengajuan')->get();
$data = [
'penelaah' => $penelaah
......
......@@ -108,7 +108,7 @@ public function store(Request $request){
'nik' => $sdm->noktp,
'nama' => $isdm->namalengkap,
'nip' => $isdm->nip,
'unit' =>$isdm->namaparentsatker
'unit' => $isdm->namaparentsatker
];
Penelaah::query()->create($saku);
......
......@@ -20,6 +20,7 @@ class Penelaah extends Model
'id_pengajuan',
'nik',
'nama',
'nip'
'nip',
'unit'
];
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment