New changes in BBNepal
This commit is contained in:
@ -162,7 +162,7 @@ class Reports extends CI_Controller
|
||||
$data['pageTitle'] = "Profit & Loss Statement";
|
||||
loadView("accounts/pl", $data);
|
||||
break;
|
||||
case 'pl':
|
||||
case 'pl':
|
||||
if (!isset($_POST['fromDate'])) {
|
||||
$data['fromDate'] = null;
|
||||
}
|
||||
@ -170,12 +170,12 @@ class Reports extends CI_Controller
|
||||
$data['toDate'] = null;
|
||||
}
|
||||
if (isset($_POST)) {
|
||||
$data = $_POST;
|
||||
$data = $_POST;
|
||||
}
|
||||
$data['fiscalStart'] = NepaliToEnglishDate($data['fromDate'] ?? $this->session->userdata['FiscalYear']->fiscalyear_from);
|
||||
$data['fiscalEnd'] = NepaliToEnglishDate($data['toDate'] ?? $this->session->userdata['FiscalYear']->fiscalyear_to);
|
||||
$data['pageTitle'] = "Profit & Loss Statement";
|
||||
loadView("accounts/pl_new", $data);
|
||||
loadView("accounts/pl_new", $data);
|
||||
break;
|
||||
|
||||
case 'pl_grouped':
|
||||
|
Reference in New Issue
Block a user