changes for filter and print
This commit is contained in:
@ -800,7 +800,8 @@ class myaccounts
|
||||
$CI = &get_instance();
|
||||
$CI->load->library("numbertoword");
|
||||
$ledgerData = $this->getLedgerData($account_id, $fromDate, $toDate);
|
||||
$file = APPPATH . "/../pdf/e_ledger1.pdf";
|
||||
$file = APPPATH . "/../pdf/
|
||||
.pdf";
|
||||
$pdf = new FPDM($file);
|
||||
$i = 0;
|
||||
$crTotal = 0;
|
||||
@ -844,7 +845,7 @@ class myaccounts
|
||||
$OutputFile = "Ledger_" . $ledgerData['Account']->account_id . ".pdf";
|
||||
$pdf->Output("F", $OutputFileLocation . $OutputFile);
|
||||
return $OutputFile;
|
||||
}
|
||||
}
|
||||
function ledgerPDF($account_id, $fromDate, $toDate)
|
||||
{
|
||||
$CI = &get_instance();
|
||||
|
Reference in New Issue
Block a user