public function getIndex()
 {
     return $this->View->make('decima-accounting::journal-management')->with('newAccountingEntryAction', $this->Session->get('newAccountingEntryAction', false))->with('editAccountingEntryAction', $this->Session->get('editAccountingEntryAction', false))->with('nulifyAccountingEntryAction', $this->Session->get('nulifyAccountingEntryAction', false))->with('voucherTypes', $this->JournalManagerService->getVoucherTypes())->with('costCenters', $this->JournalManagerService->getCostCenters())->with('documentTypes', $this->JournalManagerService->getDocumentTypes())->with('employees', $this->JournalManagerService->getEmployees())->with('clients', $this->JournalManagerService->getClients())->with('suppliers', $this->JournalManagerService->getSuppliers())->with('accounts', $this->AccountManagerService->getNonGroupAccounts())->with('users', $this->OrganizationManagerService->getUsersByOrganization())->with('periods', $this->PeriodManagementService->getPeriods())->with('periodsFilter', $this->PeriodManagementService->getPeriods2())->with('prefix', 'acct-jm-');
 }
 public function postClose()
 {
     return $this->PeriodManagementService->closePeriod($this->Input->json()->all());
 }