Update besar apk finance
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
class Generatebuku extends CI_Controller
|
||||
class Generatebuku extends MY_Controller
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
@@ -45,6 +45,7 @@ class Generatebuku extends CI_Controller
|
||||
$this->db->from('journal_details');
|
||||
$this->db->join('journals', 'journals.id = journal_details.journal_id');
|
||||
$this->db->join('accounts', 'accounts.id = journal_details.account_id');
|
||||
$this->db->where_in('journals.status', array('posted', 'reversed'));
|
||||
|
||||
if (!empty($account_id)) {
|
||||
$this->db->where('journal_details.account_id', (int) $account_id);
|
||||
@@ -135,4 +136,4 @@ class Generatebuku extends CI_Controller
|
||||
$pdf->Output('D', $filename);
|
||||
exit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user