function getIuitpp() { $id_iuitpp = $this->input->post('id_iuitpp'); $results = $this->db->query("SELECT * FROM ppu_iuitpp WHERE id_iuitpp=" . $id_iuitpp)->result_array(); $data = array(); foreach ($results as $r) { $r['tgl_pembuatan'] = tgl_convert($r['tgl_pembuatan']); $r['tgl_penetapan'] = tgl_convert($r['tgl_penetapan']); $data = $r; } return $data; }
function getKursus() { $id_kursus = $this->input->post('id_kursus'); $results = $this->db->query("SELECT * FROM ppnu_kursus WHERE id_kursus=" . $id_kursus)->result_array(); $data = array(); foreach ($results as $r) { $r['tgl_pembuatan'] = tgl_convert($r['tgl_pembuatan']); $r['tgl_penetapan'] = tgl_convert($r['tgl_penetapan']); $r['tgl_berlaku'] = tgl_convert($r['tgl_berlaku']); $data = $r; } return $data; }
function getSitu() { $id_situ = $this->input->post('id_situ'); $results = $this->db->query("SELECT * FROM ppu_situ WHERE id_situ=" . $id_situ)->result_array(); $data = array(); foreach ($results as $r) { $r['tgl_pembuatan'] = tgl_convert($r['tgl_pembuatan']); $r['tgl_penetapan'] = tgl_convert($r['tgl_penetapan']); $r['tgl_berlaku'] = tgl_convert($r['tgl_berlaku']); $data = $r; } return $data; }
function getSiup() { $id_siup = $this->input->post('id_siup'); $results = $this->db->query("Select * from ppu_siup where id_siup=" . $id_siup)->result_array(); $data = array(); foreach ($results as $r) { $r['tgl_pembuatan'] = tgl_convert($r['tgl_pembuatan']); $r['tgl_penetapan'] = tgl_convert($r['tgl_penetapan']); $r['tgl_berlaku'] = tgl_convert($r['tgl_berlaku']); $data = $r; } return $data; }
function getPerluasan() { $id_perluasan = $this->input->post('id_perluasan'); $results = $this->db->query("SELECT * FROM ppu_perluasan WHERE id_perluasan=" . $id_perluasan)->result_array(); $data = array(); foreach ($results as $r) { $r['tgl_pembuatan'] = tgl_convert($r['tgl_pembuatan']); $r['tgl_penetapan'] = tgl_convert($r['tgl_penetapan']); $r['tgl_bap'] = tgl_convert($r['tgl_bap']); $r['tgl_permohonan'] = tgl_convert($r['tgl_permohonan']); $data = $r; } return $data; }
function getHo() { $id_ho = $this->input->post('id_ho'); $results = $this->db->query("SELECT * FROM ppu_ho WHERE id_ho=" . $id_ho)->result_array(); $data = array(); foreach ($results as $r) { $r['tgl_pembuatan'] = tgl_convert($r['tgl_pembuatan']); $r['tgl_penetapan'] = tgl_convert($r['tgl_penetapan']); $r['tgl_berlaku'] = tgl_convert($r['tgl_berlaku']); $r['tgl_imb'] = tgl_convert($r['tgl_imb']); $r['tgl_tdp'] = tgl_convert($r['tgl_tdp']); $data = $r; } return $data; }
function getIpr() { $id_ipr = $this->input->post('id_ipr'); $results = $this->db->query("SELECT * FROM ppu_ipr WHERE id_ipr=" . $id_ipr)->result_array(); $data = array(); foreach ($results as $r) { $r['tgl_pembuatan'] = tgl_convert($r['tgl_pembuatan']); $r['tgl_penetapan'] = tgl_convert($r['tgl_penetapan']); $r['tgl_berlaku'] = tgl_convert($r['tgl_berlaku']); $r['tgl_tetap_pajak'] = tgl_convert($r['tgl_tetap_pajak']); $r['tgl_pajak_daerah'] = tgl_convert($r['tgl_pajak_daerah']); $data = $r; } return $data; }
function getStpw() { $id_stpw = $this->input->post('id_stpw'); $results = $this->db->query("SELECT * FROM ppu_stpw WHERE id_stpw=" . $id_stpw)->result_array(); $data = array(); foreach ($results as $r) { $r['tgl_pembuatan'] = tgl_convert($r['tgl_pembuatan']); $r['tgl_penetapan'] = tgl_convert($r['tgl_penetapan']); $r['berlaku_awal'] = tgl_convert($r['berlaku_awal']); $r['berlaku_akhir'] = tgl_convert($r['berlaku_akhir']); $r['tgl_perjanjian'] = tgl_convert($r['tgl_perjanjian']); $data = $r; } return $data; }