changes for filter and print

This commit is contained in:
2024-09-29 16:59:27 +05:45
parent 497f567cba
commit 684e01bf48
1335 changed files with 38709 additions and 74987 deletions

View File

@ -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();