public function getTest($value = '')
 {
     $dokumen = Dokumen::all();
     foreach ($dokumen->folder as $value) {
         dd($value->nama_folder);
     }
 }
 public function getTestDokumen()
 {
     $dokumen = Dokumen::where("id", 1)->firstOrFail();
     if (\Gate::denies('view-dokumen', $dokumen)) {
         abort(404);
     }
     echo "string";
 }
 public function cariFolders($input)
 {
     $folders = Dokumen::findSap($input);
     // $folders->setPath("?q=$input&");
     return $folders;
 }