db->get_where('settings' , array('type' => 'running_year'))->row()->description; ?>
db->where('payment_type' , 'expense'); $this->db->where('year' , $running_year); $this->db->order_by('timestamp' , 'desc'); $expenses = $this->db->get('payment')->result_array(); foreach ($expenses as $row): ?>
#
db->get_where('expense_category' , array('expense_category_id' => $row['expense_category_id']))->row()->name; ?> db->get_where('settings' , array('type' =>'currency'))->row()->description;?>
Categorias
db->get('expense_category')->result_array(); foreach ($expenses as $row): ?>
#