daterange
This commit is contained in:
@ -206,6 +206,8 @@ class Vouchers extends CI_Controller
|
||||
{
|
||||
$data['pageTitle'] = $VoucherType->voucher_name;
|
||||
$data['VoucherType'] = $VoucherType;
|
||||
$data['fiscalStart'] = NepaliDate($this->session->userdata['FiscalYear']->fiscalyear_from);
|
||||
$data['fiscalEnd'] = NepaliDate($this->session->userdata['FiscalYear']->fiscalyear_to);
|
||||
$command = $this->uri->segment(4);
|
||||
switch ($command) {
|
||||
case 'create':
|
||||
@ -263,6 +265,7 @@ class Vouchers extends CI_Controller
|
||||
|
||||
|
||||
echo json_encode(['status' => 'success']);
|
||||
loadview("accounts/vouchers/create", $data);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user