<?php
define ('SS_IMPORTMULTIJOURNAL', 101<<8);
-class hooks_import_multijournalentries extends hooks {
- var $module_name = 'import_multijournalentries';
+class hooks_import_transactions extends hooks {
+ var $module_name = 'import_transations';
/*
Install additonal menu options provided by module
switch($app->id) {
case 'GL':
- $app->add_rapp_function(2, _('Import &Multiple Jourmal Entries'),
- $path_to_root.'/modules/import_multijournalentries/import_multijournalentries.php', 'SA_CSVMULTIJOURNALIMPORT');
+ $app->add_rapp_function(2, _('Import &Transactions'),
+ $path_to_root.'/modules/import_transactions/import_multijournalentries.php', 'SA_CSVMULTIJOURNALIMPORT');
}
}
function install_access()
{
- $security_sections[SS_IMPORTMULTIJOURNAL] = _("Import Multiple Journal Entries");
+ $security_sections[SS_IMPORTMULTIJOURNAL] = _("Import Transactions");
- $security_areas['SA_CSVMULTIJOURNALIMPORT'] = array(SS_IMPORTMULTIJOURNAL|101, _("Import Multiple Journal Entries"));
+ $security_areas['SA_CSVMULTIJOURNALIMPORT'] = array(SS_IMPORTMULTIJOURNAL|101, _("Import Transactions"));
return array($security_areas, $security_sections);
}
include_once($path_to_root . "/includes/date_functions.inc"); //sql2date, is_date_in_fiscal_year
include_once($path_to_root . "/includes/data_checks.inc");
include_once($path_to_root . "/admin/db/company_db.inc"); //default control accounts
-include_once($path_to_root . "/modules/import_multijournalentries/includes/import_multijournalentries.inc"); //functions used
+include_once($path_to_root . "/modules/import_transactions/includes/import_multijournalentries.inc"); //functions used
//include_once($path_to_root . "/gl/includes/ui/gl_journal_ui.inc"); display_import_items adapted from display_ gl_items
add_access_extensions();