db->get_where('settings' , array('type' => 'running_year'))->row()->description; ?>
db->where('year' , $running_year); $this->db->order_by('creation_timestamp' , 'desc'); $invoices = $this->db->get('invoice')->result_array(); foreach($invoices as $row): ?>
crud_model->get_type_name_by_id('student',$row['student_id']);?> crud_model->get_type_name_by_id('class',$row['class_id']);?> db->get_where('settings' , array('type'=>'currency'))->row()->description; ?> db->get_where('settings' , array('type'=>'currency'))->row()->description; ?>
db->where('payment_type' , 'income'); $this->db->order_by('timestamp' , 'desc'); $payments = $this->db->get('payment')->result_array(); foreach ($payments as $row): ?>
db->get_where('settings' , array('type'=>'currency'))->row()->description; ?>