diff --git a/account/application/controllers/accounts/Ledger.php b/account/application/controllers/accounts/Ledger.php index f68d59c..45c7a2e 100644 --- a/account/application/controllers/accounts/Ledger.php +++ b/account/application/controllers/accounts/Ledger.php @@ -40,6 +40,8 @@ class Ledger extends CI_Controller break; case 'partyledger': $data['pageTitle'] = "View Party Ledger"; + $data['fiscalStart'] = NepaliDate($this->session->userdata['FiscalYear']->fiscalyear_from); + $data['fiscalEnd'] = NepaliDate($this->session->userdata['FiscalYear']->fiscalyear_to); // $_GET['show_ledger']; if (isset($_GET['show_ledger'])) { $fromDate_Nepali = $_GET['from_date']; diff --git a/account/application/controllers/accounts/Vouchers.php b/account/application/controllers/accounts/Vouchers.php index 35b4980..d4dbd66 100644 --- a/account/application/controllers/accounts/Vouchers.php +++ b/account/application/controllers/accounts/Vouchers.php @@ -26,6 +26,8 @@ class Vouchers extends CI_Controller break; case 'listvouchers': $data['pageTitle'] = "Vouchers"; + $data['fiscalStart'] = NepaliDate($this->session->userdata['FiscalYear']->fiscalyear_from); + $data['fiscalEnd'] = NepaliDate($this->session->userdata['FiscalYear']->fiscalyear_to); $fromDate_bs = isset($_GET['from_date']) ? $_GET['from_date'] : firstDayOfNepaliMonth(); $todate_bs = isset($_GET['to_date']) ? $_GET['to_date'] : NepaliDate(Today()); $fromDate_ad = NepaliToEnglishDate($fromDate_bs); diff --git a/account/application/helpers/bibhelper_helper.php b/account/application/helpers/bibhelper_helper.php index ecdbd98..56d32db 100644 --- a/account/application/helpers/bibhelper_helper.php +++ b/account/application/helpers/bibhelper_helper.php @@ -44,8 +44,8 @@ function createNepaliDateInput($name, $display, $id, $default = "", $class = "") -