21 lines
500 B
PHP
21 lines
500 B
PHP
<?php
|
|
defined('BASEPATH') or exit('No direct script access allowed');
|
|
|
|
class ModelBunga extends CI_Model
|
|
{
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
//Codeigniter : Write Less Do More
|
|
}
|
|
|
|
public function get_bunga($idjenis_rekening)
|
|
{
|
|
return $this->db
|
|
->where("pusat_idpusat", $this->session->userdata('idpusat'))
|
|
->where("idjenis_rekening", $idjenis_rekening)
|
|
->get("bunga_pinjaman")->row_array();
|
|
}
|
|
}
|