public function cekfile()
 {
     $kd_sc = $_POST['kd_ct'];
     $ct = new Cuti($this->registry);
     $ct->set_kode_cuti($kd_sc);
     $d_ct = $ct->get_cuti_by_id($ct);
     if ($d_ct->get_file() != '' && file_exists('files/cuti/' . $d_ct->get_file())) {
         echo 1;
     } else {
         echo 0;
     }
 }