mirror of
https://github.com/openMF/community-app.git
synced 2026-02-06 09:37:29 +00:00
1043 lines
46 KiB
JavaScript
Executable File
1043 lines
46 KiB
JavaScript
Executable File
(function (mifosX) {
|
|
var defineRoutes = function ($routeProvider, $locationProvider) {
|
|
$routeProvider
|
|
.when('/', {
|
|
templateUrl: 'views/home.html'
|
|
})
|
|
.when('/login', {
|
|
templateUrl: 'views/login.html'
|
|
})
|
|
.when('/home', {
|
|
templateUrl: 'views/home.html'
|
|
})
|
|
.when('/richdashboard', {
|
|
templateUrl: 'views/private/rich_dashboard.html'
|
|
})
|
|
.when('/products', {
|
|
templateUrl: 'views/products/products.html'
|
|
})
|
|
.when('/templates', {
|
|
templateUrl: 'views/templates/templates.html'
|
|
})
|
|
.when('/createstandinginstruction/:officeId/:clientId/:accountType', {
|
|
templateUrl: 'views/accounttransfers/create_standinginstruction.html'
|
|
})
|
|
.when('/editstandinginstruction/:instructionId/:from', {
|
|
templateUrl: 'views/accounttransfers/edit_standinginstruction.html'
|
|
})
|
|
.when('/viewstandinginstruction/:instructionId', {
|
|
templateUrl: 'views/accounttransfers/view_standinginstruction.html'
|
|
})
|
|
.when('/liststandinginstructions/:officeId/:clientId', {
|
|
templateUrl: 'views/accounttransfers/list_standinginstruction.html'
|
|
})
|
|
.when('/listaccounttransactions/:instructionId', {
|
|
templateUrl: 'views/accounttransfers/list_transactions.html'
|
|
})
|
|
.when('/standinginstructions/history', {
|
|
templateUrl: 'views/accounttransfers/standinginstructions_history.html'
|
|
})
|
|
.when('/createtemplate', {
|
|
templateUrl: 'views/templates/createtemplate.html'
|
|
})
|
|
.when('/viewtemplate/:id', {
|
|
templateUrl: 'views/templates/viewtemplate.html'
|
|
})
|
|
.when('/edittemplate/:id', {
|
|
templateUrl: 'views/templates/edittemplate.html'
|
|
})
|
|
.when('/createloanproduct', {
|
|
templateUrl: 'views/products/createloanproduct.html'
|
|
})
|
|
.when('/editloanproduct/:id', {
|
|
templateUrl: 'views/products/editloanproduct.html'
|
|
})
|
|
.when('/createsavingproduct', {
|
|
templateUrl: 'views/products/createsavingproduct.html'
|
|
})
|
|
.when('/editsavingproduct/:id', {
|
|
templateUrl: 'views/products/editsavingproduct.html'
|
|
})
|
|
.when('/admin/viewrole/:id', {
|
|
templateUrl: 'views/administration/viewrole.html'
|
|
})
|
|
.when('/admin/roles', {
|
|
templateUrl: 'views/administration/roles.html'
|
|
})
|
|
.when('/admin/addrole', {
|
|
templateUrl: 'views/administration/addrole.html'
|
|
})
|
|
.when('/admin/viewmctasks', {
|
|
templateUrl: 'views/administration/makerchecker.html'
|
|
})
|
|
.when('/admin/users', {
|
|
templateUrl: 'views/administration/users.html'
|
|
})
|
|
.when('/clients', {
|
|
templateUrl: 'views/clients/clients.html'
|
|
})
|
|
.when('/createclient', {
|
|
templateUrl: 'views/clients/createclient.html'
|
|
})
|
|
.when('/editclient/:id', {
|
|
templateUrl: 'views/clients/editclient.html'
|
|
})
|
|
.when('/viewclient/:id', {
|
|
templateUrl: 'views/clients/viewclient.html'
|
|
})
|
|
.when('/viewclient/:id/addcharge', {
|
|
templateUrl: 'views/clients/addnewclientcharge.html'
|
|
})
|
|
.when('/viewclient/:id/paycharge/:chargeid', {
|
|
templateUrl: 'views/clients/payclientcharge.html'
|
|
})
|
|
.when('/viewclient/:clientId/charges/:chargeId', {
|
|
templateUrl: 'views/clients/viewclientcharge.html'
|
|
})
|
|
.when('/viewclient/:id/chargeoverview', {
|
|
templateUrl: 'views/clients/clientchargeoverview.html'
|
|
})
|
|
.when('/clientscreenreport/:clientId', {
|
|
templateUrl: 'views/clients/clientscreenreport.html'
|
|
})
|
|
.when('/client/:id/:action', {
|
|
templateUrl: 'views/clients/clientactions.html'
|
|
})
|
|
.when('/transferclient/:id', {
|
|
templateUrl: 'views/clients/transferclient.html'
|
|
})
|
|
.when('/addclientdocument/:clientId', {
|
|
templateUrl: 'views/clients/addclientdocument.html'
|
|
})
|
|
.when('/clientclosedloanaccount/:clientId', {
|
|
templateUrl: 'views/clients/clientclosedloanaccount.html'
|
|
})
|
|
.when('/clientclosedsavingaccount/:clientId', {
|
|
templateUrl: 'views/clients/clientclosedsavingaccount.html'
|
|
})
|
|
.when('/addclientidentifier/:clientId', {
|
|
templateUrl: 'views/clients/addclientidentifier.html'
|
|
})
|
|
.when('/addclientidentifierdocument/:clientId/:resourceId', {
|
|
templateUrl: 'views/clients/addclientidentifierdocument.html'
|
|
})
|
|
.when('/survey/:clientId', {
|
|
templateUrl: 'views/clients/survey.html'
|
|
})
|
|
.when('/viewsurvey/:id', {
|
|
templateUrl: 'views/surveys/viewsurvey.html'
|
|
})
|
|
.when('/clients/survey/:clientId', {
|
|
templateUrl: 'views/surveys/viewclientsurvey.html'
|
|
})
|
|
.when('/newclientloanaccount/:clientId', {
|
|
templateUrl: 'views/loans/newloanaccount.html'
|
|
})
|
|
.when('/newgrouploanaccount/:groupId', {
|
|
templateUrl: 'views/loans/newloanaccount.html'
|
|
})
|
|
.when('/newindividualjlgloanaccount/:groupId/:clientId', {
|
|
templateUrl: 'views/loans/newloanaccount.html'
|
|
})
|
|
.when('/newjlgloanaccount/:groupId', {
|
|
templateUrl: 'views/loans/newjlgloanaccount.html'
|
|
})
|
|
.when('/viewloanaccount/:id', {
|
|
templateUrl: 'views/loans/viewloanaccountdetails.html'
|
|
})
|
|
.when('/adjustrepaymentschedule/:accountId', {
|
|
templateUrl: 'views/loans/AdjustRepaymentSchdule.html'
|
|
})
|
|
.when('/loanaccount/:id/:action', {
|
|
templateUrl: 'views/loans/loanaccountactions.html'
|
|
})
|
|
.when('/loanaccountcharge/:id/:action/:chargeId', {
|
|
templateUrl: 'views/loans/loanaccountactions.html'
|
|
})
|
|
.when('/loandisbursedetail/:id/:action/:disbursementId', {
|
|
templateUrl: 'views/loans/loanaccountactions.html'
|
|
})
|
|
.when('/loandisbursedetail/:id/:action', {
|
|
templateUrl: 'views/loans/loanaccountactions.html'
|
|
})
|
|
.when('/editloanaccount/:id', {
|
|
templateUrl: 'views/loans/editloanaccount.html'
|
|
})
|
|
.when('/loanscreenreport/:loanId', {
|
|
templateUrl: 'views/loans/loanscreenreport.html'
|
|
})
|
|
.when('/addloancharge/:id', {
|
|
templateUrl: 'views/loans/addloancharge.html'
|
|
})
|
|
.when('/addcollateral/:id', {
|
|
templateUrl: 'views/loans/addloancollateral.html'
|
|
})
|
|
.when('/loan/:loanId/editcollateral/:id', {
|
|
templateUrl: 'views/loans/editloancollateral.html'
|
|
})
|
|
.when('/loan/:loanId/viewcollateral/:id', {
|
|
templateUrl: 'views/loans/viewloancollateral.html'
|
|
})
|
|
.when('/loan/:loanId/viewcharge/:id', {
|
|
templateUrl: 'views/loans/viewloancharge.html'
|
|
})
|
|
.when('/loan/:loanId/editcharge/:id', {
|
|
templateUrl: 'views/loans/editloancharge.html'
|
|
})
|
|
.when('/assignloanofficer/:id', {
|
|
templateUrl: 'views/loans/assignloanofficer.html'
|
|
})
|
|
.when('/addloandocument/:loanId', {
|
|
templateUrl: 'views/loans/addloandocument.html'
|
|
})
|
|
.when('/viewloantrxn/:accountId/trxnId/:id', {
|
|
templateUrl: 'views/loans/view_loan_transaction.html'
|
|
})
|
|
.when('/organization', {
|
|
templateUrl: 'views/administration/organization.html'
|
|
})
|
|
.when('/system', {
|
|
templateUrl: 'views/administration/system.html'
|
|
})
|
|
.when('/loanproducts', {
|
|
templateUrl: 'views/products/loanproducts.html'
|
|
})
|
|
.when('/charges', {
|
|
templateUrl: 'views/products/charges.html'
|
|
})
|
|
.when('/viewcharge/:id', {
|
|
templateUrl: 'views/products/viewcharge.html'
|
|
})
|
|
.when('/floatingrates', {
|
|
templateUrl: 'views/products/floatingrates/FloatingRates.html'
|
|
})
|
|
.when('/createfloatingrate', {
|
|
templateUrl: 'views/products/floatingrates/CreateFloatingRate.html'
|
|
})
|
|
.when('/viewfloatingrate/:floatingRateId', {
|
|
templateUrl: 'views/products/floatingrates/ViewFloatingRate.html'
|
|
})
|
|
.when('/editfloatingrate/:floatingRateId', {
|
|
templateUrl: 'views/products/floatingrates/EditFloatingRate.html'
|
|
})
|
|
|
|
.when('/savingproducts', {
|
|
templateUrl: 'views/products/savingproducts.html'
|
|
})
|
|
.when('/shareproducts', {
|
|
templateUrl: 'views/products/shareproducts.html'
|
|
})
|
|
.when('/createshareproduct', {
|
|
templateUrl: 'views/products/createshareproduct.html'
|
|
})
|
|
.when('/editshareproduct/:id', {
|
|
templateUrl: 'views/products/editshareproduct.html'
|
|
})
|
|
.when('/viewshareproduct/:id', {
|
|
templateUrl: 'views/products/viewshareproduct.html'
|
|
})
|
|
.when('/viewsavingproduct/:id', {
|
|
templateUrl: 'views/products/viewsavingproduct.html'
|
|
})
|
|
.when('/fixeddepositproducts', {
|
|
templateUrl: 'views/products/fixeddepositproducts.html'
|
|
})
|
|
.when('/viewfixeddepositproduct/:productId', {
|
|
templateUrl: 'views/products/viewfixeddepositproduct.html'
|
|
})
|
|
.when('/createfixeddepositproduct', {
|
|
templateUrl: 'views/products/createfixeddepositproduct.html'
|
|
})
|
|
.when('/editfixeddepositproduct/:productId', {
|
|
templateUrl: 'views/products/editfixeddepositproduct.html'
|
|
})
|
|
.when('/recurringdepositproducts', {
|
|
templateUrl: 'views/products/recurringdepositproducts.html'
|
|
})
|
|
.when('/viewrecurringdepositproduct/:productId', {
|
|
templateUrl: 'views/products/viewrecurringdepositproduct.html'
|
|
})
|
|
.when('/createrecurringdepositproduct', {
|
|
templateUrl: 'views/products/createrecurringdepositproduct.html'
|
|
})
|
|
.when('/editrecurringdepositproduct/:productId', {
|
|
templateUrl: 'views/products/editrecurringdepositproduct.html'
|
|
})
|
|
.when('/createinterestratechart/:productId/:productName/:productType', {
|
|
templateUrl: 'views/products/createinterestratechart.html'
|
|
})
|
|
.when('/interestratecharts/:productId/:productName/:productType', {
|
|
templateUrl: 'views/products/interestratecharts.html'
|
|
})
|
|
.when('/editinterestratecharts/:chartId/:productId/:productName/:productType', {
|
|
templateUrl: 'views/products/editinterestratechart.html'
|
|
})
|
|
.when('/offices', {
|
|
templateUrl: 'views/organization/offices.html'
|
|
})
|
|
.when('/createoffice', {
|
|
templateUrl: 'views/organization/createoffice.html'
|
|
})
|
|
.when('/viewoffice/:id', {
|
|
templateUrl: 'views/organization/viewoffice.html'
|
|
})
|
|
.when('/editoffice/:id', {
|
|
templateUrl: 'views/organization/editoffice.html'
|
|
})
|
|
.when('/tasks', {
|
|
templateUrl: 'views/tasks.html'
|
|
})
|
|
.when('/currconfig', {
|
|
templateUrl: 'views/organization/currencyconfig.html'
|
|
})
|
|
.when('/search/:query', {
|
|
templateUrl: 'views/search/glresults.html'
|
|
})
|
|
.when('/viewloanproduct/:id', {
|
|
templateUrl: 'views/products/viewloanproduct.html'
|
|
})
|
|
.when('/usersetting', {
|
|
templateUrl: 'views/administration/usersettings.html'
|
|
})
|
|
.when('/users/', {
|
|
templateUrl: 'views/administration/userslist.html'
|
|
})
|
|
.when('/createuser/', {
|
|
templateUrl: 'views/administration/createuser.html'
|
|
})
|
|
.when('/viewuser/:id', {
|
|
templateUrl: 'views/administration/viewuser.html'
|
|
})
|
|
.when('/edituser/:id', {
|
|
templateUrl: 'views/administration/edituser.html'
|
|
})
|
|
.when('/employees', {
|
|
templateUrl: 'views/organization/employees.html'
|
|
})
|
|
.when('/viewemployee/:id', {
|
|
templateUrl: 'views/organization/viewemployee.html'
|
|
})
|
|
.when('/editemployee/:id', {
|
|
templateUrl: 'views/organization/editemployee.html'
|
|
})
|
|
.when('/createemployee/', {
|
|
templateUrl: 'views/organization/createemployee.html'
|
|
})
|
|
.when('/managefunds/', {
|
|
templateUrl: 'views/organization/managefunds.html'
|
|
})
|
|
.when('/nav/offices', {
|
|
templateUrl: 'views/navigation/offices.html'
|
|
})
|
|
.when('/accounting', {
|
|
templateUrl: 'views/accounting/accounting.html'
|
|
})
|
|
.when('/accounting_coa', {
|
|
templateUrl: 'views/accounting/accounting_coa.html'
|
|
})
|
|
.when('/createglaccount', {
|
|
templateUrl: 'views/accounting/createglaccounting.html'
|
|
})
|
|
.when('/viewglaccount/:id', {
|
|
templateUrl: 'views/accounting/viewglaccounting.html'
|
|
})
|
|
.when('/editglaccount/:id', {
|
|
templateUrl: 'views/accounting/editglaccounting.html'
|
|
})
|
|
.when('/freqposting', {
|
|
templateUrl: 'views/accounting/freqposting.html'
|
|
})
|
|
.when('/viewtransactions/:transactionId', {
|
|
templateUrl: 'views/accounting/view_transactions.html'
|
|
})
|
|
.when('/journalentry', {
|
|
templateUrl: 'views/accounting/journalentry_posting.html'
|
|
})
|
|
.when('/searchtransaction', {
|
|
templateUrl: 'views/accounting/search_transaction.html'
|
|
})
|
|
.when('/accounts_closure', {
|
|
templateUrl: 'views/accounting/accounts_closure.html'
|
|
})
|
|
.when('/view_close_accounting/:id', {
|
|
templateUrl: 'views/accounting/view_close_accounting.html'
|
|
})
|
|
.when('/accounting_rules', {
|
|
templateUrl: 'views/accounting/accounting_rules.html'
|
|
})
|
|
.when('/viewaccrule/:id', {
|
|
templateUrl: 'views/accounting/view_acc_rule.html'
|
|
})
|
|
.when('/add_accrule', {
|
|
templateUrl: 'views/accounting/add_acc_rule.html'
|
|
})
|
|
.when('/editaccrule/:id', {
|
|
templateUrl: 'views/accounting/edit_acc_rule.html'
|
|
})
|
|
.when('/run_periodic_accrual',{
|
|
templateUrl: 'views/accounting/periodic_accrual_accounting.html'
|
|
})
|
|
.when('/openingbalances',{
|
|
templateUrl: 'views/accounting/openingbalances.html'
|
|
})
|
|
.when('/viewprovisioningentries',{
|
|
templateUrl: 'views/accounting/provisioning/ProvisioningEntries.html'
|
|
})
|
|
.when('/createprovisioningentries',{
|
|
templateUrl: 'views/accounting/provisioning/CreateProvisioningEntries.html'
|
|
})
|
|
.when('/viewprovisioningentry/:entryId',{
|
|
templateUrl: 'views/accounting/provisioning/ViewProvisioningEntry.html'
|
|
})
|
|
.when('/viewprovisioningjournalentry/:entryId',{
|
|
templateUrl: 'views/accounting/provisioning/ViewProvisioningJournalEntries.html'
|
|
})
|
|
.when('/viewcode/:id', {
|
|
templateUrl: 'views/system/viewcode.html'
|
|
})
|
|
.when('/datatables', {
|
|
templateUrl: 'views/system/datatables.html'
|
|
})
|
|
.when('/viewdatatable/:tableName', {
|
|
templateUrl: 'views/system/viewdatatable.html'
|
|
})
|
|
.when('/createdatatable', {
|
|
templateUrl: 'views/system/createdatatable.html'
|
|
})
|
|
.when('/editdatatable/:tableName', {
|
|
templateUrl: 'views/system/editdatatable.html'
|
|
})
|
|
.when('/makedatatableentry/:tableName/:entityId', {
|
|
templateUrl: 'views/system/makedatatableentry.html'
|
|
})
|
|
.when('/viewdatatableentry/:tableName/:entityId/:resourceId', {
|
|
templateUrl: 'views/system/viewdatatableentry.html'
|
|
})
|
|
.when('/viewsingledatatableentry/:tableName/:entityId', {
|
|
templateUrl: 'views/system/viewdatatableentry.html'
|
|
})
|
|
.when('/addcode', {
|
|
templateUrl: 'views/system/addcode.html'
|
|
})
|
|
.when('/jobs', {
|
|
templateUrl: 'views/system/schedulerjobs.html'
|
|
})
|
|
.when('/viewschedulerjob/:id', {
|
|
templateUrl: 'views/system/viewschedulerjob.html'
|
|
})
|
|
.when('/editschedulerjob/:id', {
|
|
templateUrl: 'views/system/editschedulerjob.html'
|
|
})
|
|
.when('/viewhistory/:id', {
|
|
templateUrl: 'views/system/viewschedulerjobhistory.html'
|
|
})
|
|
.when('/codes', {
|
|
templateUrl: 'views/system/codes.html'
|
|
})
|
|
.when('/editcode/:id', {
|
|
templateUrl: 'views/system/editcode.html'
|
|
})
|
|
.when('/hooks', {
|
|
templateUrl: 'views/system/hooks.html'
|
|
})
|
|
.when('/viewhook/:id', {
|
|
templateUrl: 'views/system/viewhook.html'
|
|
})
|
|
.when('/addhook', {
|
|
templateUrl: 'views/system/addhook.html'
|
|
})
|
|
.when('/edithook/:id', {
|
|
templateUrl: 'views/system/edithook.html'
|
|
})
|
|
.when('/entitytoentitymapping', {
|
|
templateUrl: 'views/system/entitytoentitymapping.html'
|
|
})
|
|
.when('/reports', {
|
|
templateUrl: 'views/system/reports.html'
|
|
})
|
|
.when('/system/viewreport/:id', {
|
|
templateUrl: 'views/system/viewreport.html'
|
|
})
|
|
.when('/createreport', {
|
|
templateUrl: 'views/system/createreport.html'
|
|
})
|
|
.when('/editreport/:id', {
|
|
templateUrl: 'views/system/editreport.html'
|
|
})
|
|
.when('/accountnumberpreferences', {
|
|
templateUrl: 'views/system/accountnumberpreferences.html'
|
|
})
|
|
.when('/addaccountnumberpreferences', {
|
|
templateUrl: 'views/system/addaccountnumberpreferences.html'
|
|
})
|
|
.when('/viewaccountnumberpreferences/:id', {
|
|
templateUrl: 'views/system/viewaccountnumberpreferences.html'
|
|
})
|
|
.when('/editaccountnumberpreferences/:id', {
|
|
templateUrl: 'views/system/editaccountnumberpreferences.html'
|
|
})
|
|
.when('/holidays', {
|
|
templateUrl: 'views/organization/holidays.html'
|
|
})
|
|
.when('/createholiday', {
|
|
templateUrl: 'views/organization/createholiday.html'
|
|
})
|
|
.when('/viewholiday/:id', {
|
|
templateUrl: 'views/organization/viewholiday.html'
|
|
})
|
|
.when('/editholiday/:id', {
|
|
templateUrl: 'views/organization/editholiday.html'
|
|
})
|
|
.when('/workingdays', {
|
|
templateUrl: 'views/organization/workingdays.html'
|
|
})
|
|
.when('/passwordpreferences', {
|
|
templateUrl: 'views/organization/passwordpreferences.html'
|
|
})
|
|
.when('/viewpaymenttype/', {
|
|
templateUrl: 'views/organization/viewpaymenttype.html'
|
|
})
|
|
.when('/createPaymentType/', {
|
|
templateUrl: 'views/organization/createpaymenttype.html'
|
|
})
|
|
.when('/editPaymentType/:id', {
|
|
templateUrl: 'views/organization/editpaymenttype.html'
|
|
})
|
|
.when('/reports/:type', {
|
|
templateUrl: 'views/reports/view_reports.html'
|
|
})
|
|
.when('/run_report/:name', {
|
|
templateUrl: 'views/reports/run_reports.html'
|
|
})
|
|
.when('/xbrl', {
|
|
templateUrl: 'views/reports/xbrl.html'
|
|
})
|
|
.when('/xbrlreport', {
|
|
templateUrl: 'views/reports/xbrlreport.html'
|
|
})
|
|
.when('/new_client_saving_application/:clientId', {
|
|
templateUrl: 'views/savings/new_saving_account_application.html'
|
|
})
|
|
.when('/new_group_saving_application/:groupId', {
|
|
templateUrl: 'views/savings/new_saving_account_application.html'
|
|
})
|
|
.when('/new_group_saving_application/:groupId/:centerEntity', {
|
|
templateUrl: 'views/savings/new_saving_account_application.html'
|
|
})
|
|
.when('/new_jlg_saving_application/:groupId/:clientId', {
|
|
templateUrl: 'views/savings/new_saving_account_application.html'
|
|
})
|
|
.when('/viewsavingaccount/:id', {
|
|
templateUrl: 'views/savings/view_saving_account_details.html'
|
|
})
|
|
.when('/savings/:savingId/viewcharge/:id', {
|
|
templateUrl: 'views/savings/viewsavingscharge.html'
|
|
})
|
|
.when('/viewonholdtransactions/:savingsId/:fromPath/:fromPathId', {
|
|
templateUrl: 'views/savings/list_onhold_transactions.html'
|
|
})
|
|
.when('/groups', {
|
|
templateUrl: 'views/groups/groups.html'
|
|
})
|
|
.when('/creategroup', {
|
|
templateUrl: 'views/groups/creategroup.html'
|
|
})
|
|
.when('/attachmeeting/:id/:entityType', {
|
|
templateUrl: 'views/groups/attachmeeting.html'
|
|
})
|
|
.when('/editcalendarbasedonmeetingdates/:entityType/:groupOrCenterId/:calendarId', {
|
|
templateUrl: 'views/groups/editmeeting_based_on_meeting_date.html'
|
|
})
|
|
.when('/editcalendar/:entityType/:groupOrCenterId/:calendarId', {
|
|
templateUrl: 'views/groups/editmeeting.html'
|
|
})
|
|
.when('/editsavingaccount/:id', {
|
|
templateUrl: 'views/savings/edit_saving_account_application.html'
|
|
})
|
|
.when('/savingaccount/:id/:action', {
|
|
templateUrl: 'views/savings/saving_account_actions.html'
|
|
})
|
|
.when('/savingaccountcharge/:id/:action/:chargeId', {
|
|
templateUrl: 'views/savings/saving_account_actions.html'
|
|
})
|
|
.when('/savingaccounts/:id/charges', {
|
|
templateUrl: 'views/savings/addnewsavingscharge.html'
|
|
})
|
|
.when('/viewaccounttransfers/:id', {
|
|
templateUrl: 'views/accounttransfers/view_accounttransfer.html'
|
|
})
|
|
.when('/accounttransfers/:accountType/:accountId', {
|
|
templateUrl: 'views/accounttransfers/make_accounttransfer.html'
|
|
})
|
|
.when('/viewsavingtrxn/:accountId/trxnId/:id', {
|
|
templateUrl: 'views/savings/view_saving_transaction.html'
|
|
})
|
|
.when('/newclientfixeddepositaccount/:clientId', {
|
|
templateUrl: 'views/deposits/fixed/newapplication.html'
|
|
})
|
|
.when('/viewfixeddepositaccount/:id', {
|
|
templateUrl: 'views/deposits/fixed/viewaccountdetails.html'
|
|
})
|
|
.when('/editfixeddepositaccount/:id', {
|
|
templateUrl: 'views/deposits/fixed/edit_account_application.html'
|
|
})
|
|
.when('/fixeddepositaccount/:id/charges', {
|
|
templateUrl: 'views/deposits/fixed/add_new_fixed_deposit_charge.html'
|
|
})
|
|
.when('/fixeddepositaccount/:id/:action', {
|
|
templateUrl: 'views/deposits/fixed/fixed_deposit_account_actions.html'
|
|
})
|
|
.when('/fixeddepositaccountcharge/:id/:action/:chargeId', {
|
|
templateUrl: 'views/deposits/fixed/fixed_deposit_account_actions.html'
|
|
})
|
|
.when('/viewfixeddepositaccounttrxn/:accountId/:transactionId', {
|
|
templateUrl: 'views/deposits/fixed/view_fixed_deposit_transaction.html'
|
|
})
|
|
.when('/newclientrecurringdepositaccount/:clientId', {
|
|
templateUrl: 'views/deposits/recurring/newapplication.html'
|
|
})
|
|
.when('/viewrecurringdepositaccount/:id', {
|
|
templateUrl: 'views/deposits/recurring/viewaccountdetails.html'
|
|
})
|
|
.when('/editrecurringdepositaccount/:id', {
|
|
templateUrl: 'views/deposits/recurring/edit_account_application.html'
|
|
})
|
|
.when('/recurringdepositaccount/:id/charges', {
|
|
templateUrl: 'views/deposits/recurring/add_new_recurring_deposit_charge.html'
|
|
})
|
|
.when('/recurringdepositaccount/:id/:action', {
|
|
templateUrl: 'views/deposits/recurring/recurring_deposit_account_actions.html'
|
|
})
|
|
.when('/recurringdepositaccountcharge/:id/:action/:chargeId', {
|
|
templateUrl: 'views/deposits/recurring/recurring_deposit_account_actions.html'
|
|
})
|
|
.when('/viewrecurringdepositaccounttrxn/:accountId/:transactionId', {
|
|
templateUrl: 'views/deposits/recurring/view_recurring_deposit_transaction.html'
|
|
})
|
|
.when('/viewgroup/:id', {
|
|
templateUrl: 'views/groups/viewgroup.html'
|
|
})
|
|
.when('/editgroup/:id', {
|
|
templateUrl: 'views/groups/editgroup.html'
|
|
})
|
|
.when('/addmember', {
|
|
templateUrl: 'views/clients/createclient.html'
|
|
})
|
|
.when('/groupattendance', {
|
|
templateUrl: 'views/groups/groupattendance.html'
|
|
})
|
|
.when('/closegroup/:id', {
|
|
templateUrl: 'views/groups/closegroup.html'
|
|
})
|
|
.when('/groupclosedloanaccount/:groupId', {
|
|
templateUrl: 'views/groups/groupclosedloanaccount.html'
|
|
})
|
|
.when('/groupclosedsavingaccount/:groupId', {
|
|
templateUrl: 'views/groups/groupclosedsavingaccount.html'
|
|
})
|
|
.when('/addrole/:id', {
|
|
templateUrl: 'views/groups/addrole.html'
|
|
})
|
|
.when('/membermanage/:id', {
|
|
templateUrl: 'views/groups/membermanage.html'
|
|
})
|
|
.when('/transferclients/:id', {
|
|
templateUrl: 'views/groups/transferclients.html'
|
|
})
|
|
.when('/centers', {
|
|
templateUrl: 'views/centers/centers.html'
|
|
})
|
|
.when('/viewcenter/:id', {
|
|
templateUrl: 'views/centers/viewcenter.html'
|
|
})
|
|
.when('/createcenter', {
|
|
templateUrl: 'views/centers/createcenter.html'
|
|
})
|
|
.when('/editcenter/:id', {
|
|
templateUrl: 'views/centers/editcenter.html'
|
|
})
|
|
.when('/closecenter/:id', {
|
|
templateUrl: 'views/centers/closecenter.html'
|
|
})
|
|
.when('/managegroupmembers/:id', {
|
|
templateUrl: 'views/centers/managegroupmembers.html'
|
|
})
|
|
.when('/addgroup', {
|
|
templateUrl: 'views/groups/creategroup.html'
|
|
})
|
|
.when('/centerattendance', {
|
|
templateUrl: 'views/centers/centerattendance.html'
|
|
})
|
|
.when('/createcharge', {
|
|
templateUrl: 'views/products/createcharge.html'
|
|
})
|
|
.when('/editcharge/:id', {
|
|
templateUrl: 'views/products/editcharge.html'
|
|
})
|
|
.when('/productivesheet/:officeId/:officeName/:meetingDate/:staffId', {
|
|
templateUrl: 'views/collection/productivecollectionsheet.html'
|
|
})
|
|
.when('/entercollectionsheet', {
|
|
templateUrl: 'views/collection/collectionsheet.html'
|
|
})
|
|
.when('/individualcollectionsheet', {
|
|
templateUrl: 'views/collection/individualcollectionsheet.html'
|
|
})
|
|
.when('/assignstaff/:id/:entityType', {
|
|
templateUrl: 'views/groups/assignstaff.html'
|
|
})
|
|
.when('/global', {
|
|
templateUrl: 'views/administration/global.html'
|
|
})
|
|
.when('/configurations/:configId/editconfig', {
|
|
templateUrl: 'views/administration/editGlobalConfiguration.html'
|
|
})
|
|
.when('/productmix', {
|
|
templateUrl: 'views/products/productmix/productmix.html'
|
|
})
|
|
.when('/viewproductmix/:id', {
|
|
templateUrl: 'views/products/productmix/viewproductmix.html'
|
|
})
|
|
.when('/editproductmix/:id', {
|
|
templateUrl: 'views/products/productmix/editproductmix.html'
|
|
})
|
|
.when('/addproductmix', {
|
|
templateUrl: 'views/products/productmix/addproductmix.html'
|
|
})
|
|
.when('/bulkloan', {
|
|
templateUrl: 'views/organization/bulkloan.html'
|
|
})
|
|
.when('/audit', {
|
|
templateUrl: 'views/system/audit.html'
|
|
})
|
|
.when('/viewaudit/:id', {
|
|
templateUrl: 'views/system/viewaudit.html'
|
|
})
|
|
.when('/createclosure', {
|
|
templateUrl: 'views/accounting/createclosure.html'
|
|
})
|
|
.when('/guarantor/:id', {
|
|
templateUrl: 'views/loans/guarantor.html'
|
|
})
|
|
.when('/listguarantors/:id', {
|
|
templateUrl: 'views/loans/list_guarantor.html'
|
|
})
|
|
.when('/viewcheckerinbox/:id', {
|
|
templateUrl: 'views/system/viewcheckerinbox.html'
|
|
})
|
|
.when('/editguarantor/:id/:loanId', {
|
|
templateUrl: 'views/loans/editguarantor.html'
|
|
})
|
|
.when('/viewguarantortransactions/:savingsId/:fundingId/:fromPath/:fromPathId', {
|
|
templateUrl: 'views/savings/list_onhold_transactions.html'
|
|
})
|
|
.when('/expertsearch', {
|
|
templateUrl: 'views/expertsearch.html'
|
|
})
|
|
.when('/profile', {
|
|
templateUrl: 'views/profile.html'
|
|
})
|
|
.when('/viewMakerCheckerTask/:commandId', {
|
|
templateUrl: 'views/system/viewMakerCheckerTask.html'
|
|
})
|
|
.when('/help', {
|
|
templateUrl: 'views/help.html'
|
|
})
|
|
.when('/checkeractionperformed', {
|
|
templateUrl: 'views/system/checkerActionPerformed.html'
|
|
})
|
|
.when('/advsearch', {
|
|
templateUrl: 'views/search/advsearch.html'
|
|
})
|
|
.when('/editfinancialactivitymapping/:mappingId', {
|
|
templateUrl: 'views/accounting/edit_financial_activity_mapping.html'
|
|
})
|
|
.when('/viewfinancialactivitymapping/:mappingId', {
|
|
templateUrl: 'views/accounting/view_financial_activity.html'
|
|
})
|
|
.when('/financialactivityaccountmappings', {
|
|
templateUrl: 'views/accounting/financial_accounting_mapping.html'
|
|
})
|
|
.when('/addfinancialmapping', {
|
|
templateUrl: 'views/accounting/add_financial_accounting_mapping.html'
|
|
})
|
|
.when('/assignsavingsofficer/:id', {
|
|
templateUrl: 'views/savings/assignsavingsofficer.html'
|
|
})
|
|
.when('/unassignsavingsofficer/:id', {
|
|
templateUrl: 'views/savings/unassignsavingsofficer.html'
|
|
})
|
|
.when('/tellers', {
|
|
templateUrl: 'views/organization/cashmgmt/tellers.html'
|
|
})
|
|
.when('/createTeller', {
|
|
templateUrl: 'views/organization/cashmgmt/createTeller.html'
|
|
})
|
|
.when('/viewtellers/:id', {
|
|
templateUrl: 'views/organization/cashmgmt/viewTeller.html'
|
|
})
|
|
.when('/tellers/:tellerId/cashiers', {
|
|
templateUrl: 'views/organization/cashmgmt/cashiersForTeller.html'
|
|
})
|
|
.when('/tellers/:tellerId/cashiers/:cashierId', {
|
|
templateUrl: 'views/organization/cashmgmt/viewCashiersForTeller.html'
|
|
})
|
|
.when('/tellers/:tellerId/cashiers/:cashierId/txns/:currencyCode', {
|
|
templateUrl: 'views/organization/cashmgmt/cashierTransactions.html'
|
|
})
|
|
.when('/tellers/:tellerId/cashiers/:cashierId/actions/:action', {
|
|
templateUrl: 'views/organization/cashmgmt/cashierFundsAllocationSettlement.html'
|
|
})
|
|
.when('/tellers/:tellerId/cashiers/:cashierId/settle', {
|
|
templateUrl: 'views/organization/cashmgmt/cashierFundsAllocationSettlement.html'
|
|
})
|
|
.when('/tellers/:tellerId/createCashierForTeller', {
|
|
templateUrl: 'views/organization/cashmgmt/createCashier.html'
|
|
})
|
|
.when('/editteller/:id', {
|
|
templateUrl: 'views/organization/cashmgmt/editTeller.html'
|
|
})
|
|
.when('/tellers/:tellerId/editcashier/:id', {
|
|
templateUrl: 'views/organization/cashmgmt/editcashier.html'
|
|
})
|
|
.when('/externalservices', {
|
|
templateUrl: 'views/administration/externalServices.html'
|
|
})
|
|
.when('/externalservices/:externalServicesType', {
|
|
templateUrl: 'views/administration/viewExternalServicesConfiguration.html'
|
|
})
|
|
.when('/externalservices/:externalServicesType/editconfig', {
|
|
templateUrl: 'views/administration/editExternalServicesConfiguration.html'
|
|
})
|
|
.when('/twofactorconfig', {
|
|
templateUrl: 'views/administration/viewTwoFactorConfig.html'
|
|
})
|
|
.when('/twofactorconfig/edit/:configType', {
|
|
templateUrl: 'views/administration/editTwoFactorConfig.html'
|
|
})
|
|
.when('/loans/:loanId/reschedule/', {
|
|
templateUrl: 'views/loans/rescheduleloans.html'
|
|
})
|
|
.when('/loans/:loanId/viewreschedulerequest/:requestId', {
|
|
templateUrl: 'views/loans/viewreschedulerequest.html'
|
|
})
|
|
.when('/loans/:loanId/approvereschedulerequest/:requestId', {
|
|
templateUrl: 'views/loans/approveloanreschedule.html'
|
|
})
|
|
.when('/loans/:loanId/rejectreschedulerequest/:requestId', {
|
|
templateUrl: 'views/loans/rejectloanreschedule.html'
|
|
})
|
|
.when('/loans/:loanId/previewloanrepaymentschedule/:requestId', {
|
|
templateUrl: 'views/loans/previewloanrepaymentschedule.html'
|
|
})
|
|
.when('/viewallprovisionings', {
|
|
templateUrl: 'views/organization/provisioning/ViewAllProvisioningCriteria.html'
|
|
})
|
|
.when('/createprovisioningcriteria', {
|
|
templateUrl: 'views/organization/provisioning/CreateProvisioningCriteria.html'
|
|
})
|
|
.when('/viewprovisioningcriteria/:criteriaId', {
|
|
templateUrl: 'views/organization/provisioning/ViewProvisioningCriteria.html'
|
|
})
|
|
.when('/editprovisioningcriteria/:criteriaId', {
|
|
templateUrl: 'views/organization/provisioning/EditProvisioningCriteria.html'
|
|
})
|
|
.when('/taxconfiguration',{
|
|
templateUrl: 'views/products/tax/TaxConfigurations.html'
|
|
})
|
|
.when('/createtaxcomponent', {
|
|
templateUrl: 'views/products/tax/CreateTaxComponent.html'
|
|
})
|
|
.when('/taxcomponents', {
|
|
templateUrl: 'views/products/tax/TaxComponents.html'
|
|
})
|
|
.when('/viewtaxcomponent/:taxComponentId', {
|
|
templateUrl: 'views/products/tax/ViewTaxComponent.html'
|
|
})
|
|
.when('/edittaxcomponent/:taxComponentId', {
|
|
templateUrl: 'views/products/tax/EditTaxComponent.html'
|
|
})
|
|
.when('/createtaxgroup', {
|
|
templateUrl: 'views/products/tax/CreateTaxGroup.html'
|
|
})
|
|
.when('/taxgroups', {
|
|
templateUrl: 'views/products/tax/TaxGroups.html'
|
|
})
|
|
.when('/viewtaxgroup/:taxGroupId', {
|
|
templateUrl: 'views/products/tax/ViewTaxGroup.html'
|
|
})
|
|
.when('/edittaxgroup/:taxGroupId', {
|
|
templateUrl: 'views/products/tax/EditTaxGroup.html'
|
|
})
|
|
.when('/createshareaccount/:clientId', {
|
|
templateUrl: 'views/shares/createshareaccount.html'
|
|
})
|
|
.when('/viewshareaccount/:id', {
|
|
templateUrl: 'views/shares/viewshareaccount.html'
|
|
})
|
|
.when('/editshareaccount/:accountId', {
|
|
templateUrl: 'views/shares/editshareaccount.html'
|
|
})
|
|
.when('/shareaccount/:accountId/:action', {
|
|
templateUrl: 'views/shares/shareaccountactions.html'
|
|
})
|
|
.when('/shareaccount/:accountId/purchasedshares/:purchasedSharesId/:action', {
|
|
templateUrl: 'views/shares/shareaccountactions.html'
|
|
})
|
|
.when('/dividends/:productId/', {
|
|
templateUrl: 'views/products/dividendlisting.html'
|
|
})
|
|
.when('/dividends/:productId/dividend/:dividendId/:status', {
|
|
templateUrl: 'views/products/viewdividends.html'
|
|
})
|
|
.when('/shareproduct/:productId/:action', {
|
|
templateUrl: 'views/products/shareproductactions.html'
|
|
})
|
|
.when('/shareproduct/:productId/:dividendId/:action', {
|
|
templateUrl: 'views/products/shareproductactions.html'
|
|
})
|
|
.when('/loanforeclosure/:id', {
|
|
templateUrl: 'views/loans/loanforeclosure.html'
|
|
})
|
|
.when('/address/:id', {
|
|
templateUrl: 'views/administration/AddressForm.html'
|
|
})
|
|
.when('/editAddress/:addrType/:addrId/:clientId', {
|
|
templateUrl: 'views/administration/EditAddress.html'
|
|
})
|
|
.when('/smscampaigns', {
|
|
templateUrl: 'views/organization/smscampaigns/smscampaigns.html'
|
|
})
|
|
.when('/createsmscampaign', {
|
|
templateUrl: 'views/organization/smscampaigns/createsmscampaign.html'
|
|
})
|
|
.when('/viewsmscampaign/:campaignId', {
|
|
templateUrl: 'views/organization/smscampaigns/viewsmscampaign.html'
|
|
})
|
|
.when('/editsmscampaign/:campaignId', {
|
|
templateUrl: 'views/organization/smscampaigns/editsmscampaign.html'
|
|
})
|
|
.when('/entitydatatablechecks', {
|
|
templateUrl: 'views/organization/entitydatatablechecks/entitydatatablechecks.html'
|
|
})
|
|
.when('/notifications', {
|
|
templateUrl: 'views/notification/notifications.html'
|
|
})
|
|
.when('/surveys',{
|
|
templateUrl: 'views/surveys/surveys.html'
|
|
})
|
|
.when('/surveys/add',{
|
|
templateUrl: 'views/surveys/createsurvey.html'
|
|
})
|
|
.when('/editsurvey/:id',{
|
|
templateUrl: 'views/surveys/editsurvey.html'
|
|
})
|
|
.when('/editfamilymember/:clientId/:familyMemberId', {
|
|
templateUrl: 'views/clients/editfamilymembers.html'
|
|
})
|
|
.when('/addfamilymembers/:clientId/', {
|
|
templateUrl: 'views/clients/addfamilymembers.html'
|
|
})
|
|
.when('/bulkimportoffices', {
|
|
templateUrl: 'views/organization/bulkimport/bulkimportoffices.html'
|
|
})
|
|
.when('/bulkimportclients', {
|
|
templateUrl: 'views/organization/bulkimport/bulkimportclients.html'
|
|
})
|
|
.when('/bulkimportloanaccounts', {
|
|
templateUrl: 'views/organization/bulkimport/bulkimportloanaccounts.html'
|
|
})
|
|
.when('/bulkimportloanrepayments', {
|
|
templateUrl: 'views/organization/bulkimport/bulkimportloanrepayments.html'
|
|
})
|
|
.when('/bulkimportguarantor', {
|
|
templateUrl: 'views/organization/bulkimport/bulkimportguarantor.html'
|
|
})
|
|
.when('/bulkimportsavingsaccounts', {
|
|
templateUrl: 'views/organization/bulkimport/bulkimportsavingsaccounts.html'
|
|
})
|
|
.when('/bulkimportsavingsaccountstransactions', {
|
|
templateUrl: 'views/organization/bulkimport/bulkimportsavingsaccountstransactions.html'
|
|
})
|
|
.when('/bulkimportrecurringdeposits', {
|
|
templateUrl: 'views/organization/bulkimport/bulkimportrecurringdeposits.html'
|
|
})
|
|
.when('/bulkimportrecurringdepositstransactions', {
|
|
templateUrl: 'views/organization/bulkimport/bulkimportrecurringdepositstransactions.html'
|
|
})
|
|
.when('/bulkimportshareaccounts', {
|
|
templateUrl: 'views/organization/bulkimport/bulkimportshareaccounts.html'
|
|
})
|
|
.when('/bulkimportfixeddepositaccounts', {
|
|
templateUrl: 'views/organization/bulkimport/bulkimportfixeddepositaccounts.html'
|
|
})
|
|
.when('/bulkimportfixeddeposittransactions', {
|
|
templateUrl: 'views/organization/bulkimport/bulkimportfixeddeposittransactions.html'
|
|
})
|
|
.when('/bulkimportcoa', {
|
|
templateUrl: 'views/organization/bulkimport/bulkimportcoa.html'
|
|
})
|
|
.when('/bulkimportjournalentries', {
|
|
templateUrl: 'views/organization/bulkimport/bulkimportjournalentries.html'
|
|
})
|
|
.when('/bulkimportgroup', {
|
|
templateUrl: 'views/organization/bulkimport/bulkimportgroup.html'
|
|
})
|
|
.when('/bulkimportcenters', {
|
|
templateUrl: 'views/organization/bulkimport/bulkimportcenters.html'
|
|
})
|
|
.when('/bulkimportemployees', {
|
|
templateUrl: 'views/organization/bulkimport/bulkimportemployees.html'
|
|
})
|
|
.when('/bulkimportusers', {
|
|
templateUrl: 'views/organization/bulkimport/bulkimportusers.html'
|
|
})
|
|
.when('/bulkimport', {
|
|
templateUrl: 'views/organization/bulkimport/bulkimport.html'
|
|
})
|
|
.when('/adhocquery/', {
|
|
templateUrl: 'views/adhocquery/adhocquerylists.html'
|
|
})
|
|
.when('/createadhocquery/', {
|
|
templateUrl: 'views/adhocquery/createadhocquery.html'
|
|
})
|
|
.when('/viewadhocquery/:id', {
|
|
templateUrl: 'views/adhocquery/viewadhocquery.html'
|
|
})
|
|
.when('/editadhocquery/:id', {
|
|
templateUrl: 'views/adhocquery/editadhocquery.html'
|
|
})
|
|
.when('/selfservice/createuser/:clientId',{
|
|
templateUrl: 'views/selfservice/createuser.html'
|
|
})
|
|
.when('/externalservicesCB/CreditBureau', {
|
|
templateUrl: 'views/administration/CreditBureauSummary.html'
|
|
})
|
|
.when('/externalservicesCB/CreditBureau/addcb', {
|
|
templateUrl: 'views/administration/addNewCreditBureau.html'
|
|
})
|
|
.when('/externalservicesCB/CreditBureau/mapcblp', {
|
|
templateUrl: 'views/administration/MapCreditBureauToLP.html'
|
|
})
|
|
.when('/rates', {
|
|
templateUrl: 'views/products/rates.html'
|
|
})
|
|
.when('/createrate', {
|
|
templateUrl: 'views/products/createrate.html'
|
|
})
|
|
.when('/viewrate/:rateId', {
|
|
templateUrl: 'views/products/viewrate.html'
|
|
})
|
|
.when('/editrate/:rateId', {
|
|
templateUrl: 'views/products/editrate.html'
|
|
})
|
|
.otherwise({
|
|
templateUrl: "views/errors/404.html"
|
|
});
|
|
$locationProvider.hashPrefix('');
|
|
$locationProvider.html5Mode(false);
|
|
};
|
|
mifosX.ng.application.config(defineRoutes).run(function ($log) {
|
|
$log.info("Routes definition completed");
|
|
});
|
|
}(mifosX || {})); |