forked from FITER1/community-app-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed commit of the following: (#36)
commit d82bd48 Merge: 06e3f03 e127ded Author: Brian Muhimbura <[email protected]> Date: Fri Jul 7 16:10:03 2023 +0300 Merge pull request #34 from fiterlatam/BLACKLIST-CHANGES Blacklist changes commit e127ded Author: Brian Muhimbura <[email protected]> Date: Fri Jul 7 16:06:00 2023 +0300 Blacklist changes commit 06e3f03 Merge: f894980 96725a4 Author: Brian Muhimbura <[email protected]> Date: Thu Jul 6 11:02:49 2023 +0300 Merge pull request #33 from fiterlatam/BLACKLIST-CHANGES Blacklist Changes. FBR-211-212-213-214-215 commit 96725a4 Author: Brian Muhimbura <[email protected]> Date: Thu Jul 6 10:56:27 2023 +0300 Blacklist Changes. FBR-211-212-213-214-215 commit f894980 Merge: 4366925 c6e81da Author: Brian Muhimbura <[email protected]> Date: Wed Jul 5 19:39:22 2023 +0300 Merge pull request #32 from fiterlatam/FBR-217-PRODUCT-SHORT-NAME update length of short name for products commit c6e81da Author: Brian Muhimbura <[email protected]> Date: Wed Jul 5 19:01:41 2023 +0300 update length of short name for products commit 4366925 Merge: c80eb87 1cbd368 Author: Brian Muhimbura <[email protected]> Date: Tue Jul 4 20:55:57 2023 +0300 Merge pull request #31 from fiterlatam/FB-143 general manage home page commit 1cbd368 Author: Brian Muhimbura <[email protected]> Date: Tue Jul 4 20:50:28 2023 +0300 general manage home page commit c80eb87 Merge: 0d47666 19c7609 Author: Brian Muhimbura <[email protected]> Date: Tue Jul 4 13:48:02 2023 +0300 Merge pull request #30 from fiterlatam/FBR-181 Remove client from blacklist commit 0d47666 Merge: ed9e610 14f2fbd Author: Brian Muhimbura <[email protected]> Date: Tue Jul 4 13:47:00 2023 +0300 Merge pull request #29 from fiterlatam/FB-15 Fb 15 commit 19c7609 Author: Brian Muhimbura <[email protected]> Date: Tue Jul 4 13:38:43 2023 +0300 Remove client from blacklist commit 14f2fbd Author: Brian Muhimbura <[email protected]> Date: Thu Jun 29 20:30:33 2023 +0300 Add to Blacklist View Blacklist clients commit 92e2ad9 Merge: 1653d1e ed9e610 Author: Brian Muhimbura <[email protected]> Date: Wed Jun 28 15:18:12 2023 +0300 Merge branch 'fiter/fb/dev' of https://github.com/fiterlatam/community-app-template into FB-183-DPI commit 1653d1e Author: Brian Muhimbura <[email protected]> Date: Wed Jun 28 15:17:15 2023 +0300 Blacklist changes commit ed9e610 Merge: 1742019 a901cb2 Author: akapusFITER <[email protected]> Date: Fri Jun 23 08:28:08 2023 -0300 Merge pull request #27 from fiterlatam/FBR-182 FBR-182 commit a901cb2 Author: Magezi Arthur <[email protected]> Date: Fri Jun 23 11:27:08 2023 +0300 Update CreateCenterGroupController.js commit 1742019 Author: fiterlatam <[email protected]> Date: Wed Jun 21 18:54:44 2023 -0300 Changes for FBR-185 (#25) Co-authored-by: Leonardo Hildt <[email protected]> commit 097cb96 Merge: 3d9c94c 513399e Author: Brian Muhimbura <[email protected]> Date: Wed Jun 21 23:54:18 2023 +0300 Merge pull request #24 from fiterlatam/FB-183-DPI Add dpi to customer details commit 513399e Author: Brian Muhimbura <[email protected]> Date: Wed Jun 21 23:52:21 2023 +0300 Add dpi to customer details commit 3d9c94c Merge: 8f2fe9c 50db15a Author: Magezi Arthur <[email protected]> Date: Wed Jun 21 21:57:23 2023 +0300 Merge pull request #23 from fiterlatam/FBR-182 FBR-182 commit 50db15a Merge: 2d88183 8f2fe9c Author: Magezi Arthur <[email protected]> Date: Wed Jun 21 21:56:57 2023 +0300 Merge branch 'fiter/fb/dev' into FBR-182 Signed-off-by: Magezi Arthur <[email protected]> commit 2d88183 Author: Magezi Arthur <[email protected]> Date: Wed Jun 21 17:48:54 2023 +0300 FBR-182 commit 8f2fe9c Merge: 44f7195 36e5f7e Author: Brian Muhimbura <[email protected]> Date: Wed Jun 21 17:18:53 2023 +0300 Merge pull request #22 from fiterlatam/FBR-186 Fbr 186 commit 36e5f7e Author: Brian Muhimbura <[email protected]> Date: Wed Jun 21 14:48:46 2023 +0300 FBR-186 BLOCK GROUP TRANSFERS commit 44f7195 Author: fiterlatam <[email protected]> Date: Thu Jun 8 10:04:30 2023 -0300 Fix for FBR-175 - Error when editing a portfolio (#20) Co-authored-by: Leonardo Hildt <[email protected]> commit 08e013f Author: fiterlatam <[email protected]> Date: Wed Jun 7 17:04:44 2023 -0300 Mostrar usuario responsable (facilitador) en gestión de cartera (#19) Co-authored-by: Leonardo Hildt <[email protected]> commit f9cf326 Author: fiterlatam <[email protected]> Date: Fri Jun 2 19:35:10 2023 -0300 FBR-142 Asignación de responsables por estructura Fiter (#18) Co-authored-by: Leonardo Hildt <[email protected]> commit 41818fb Author: fiterlatam <[email protected]> Date: Thu Jun 1 17:56:45 2023 -0300 FBR-108 Planificación para facilitadores (#17) Co-authored-by: Leonardo Hildt <[email protected]> commit e573370 Author: fiterlatam <[email protected]> Date: Wed May 31 12:18:37 2023 -0300 FBR-137 Como gerente quiero mover una agencia a otra región (#16) Co-authored-by: Leonardo Hildt <[email protected]> commit e85c381 Author: fiterlatam <[email protected]> Date: Tue May 23 12:10:35 2023 -0300 FBR-151 Feedback Sprint 4 (#15) Co-authored-by: Leonardo Hildt <[email protected]> commit 6673def Author: fiterlatam <[email protected]> Date: Thu May 18 14:35:29 2023 -0300 FBR-101 Fix parameter validation (#13) Co-authored-by: Leonardo Hildt <[email protected]> commit b545e8a Author: fiterlatam <[email protected]> Date: Thu May 18 10:59:40 2023 -0300 FBR-101 - Necesito trasladar grupos a otro centro (#12) Co-authored-by: Leonardo Hildt <[email protected]> commit 8896244 Author: fiterlatam <[email protected]> Date:
- Loading branch information
1 parent
2e0ba6f
commit ea16746
Showing
15 changed files
with
632 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
app/scripts/controllers/blacklist/AddToBlacklistController.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
(function (module) { | ||
mifosX.controllers = _.extend(module, { | ||
AddToBlacklistController: function (scope, routeParams, route, location, resourceFactory, http, $uibModal, API_VERSION, $timeout, $rootScope, Upload) { | ||
scope.client = null; | ||
scope.dpi = null; | ||
scope.typificationOptions = []; | ||
scope.loanProductOptions = []; | ||
|
||
scope.formData={}; | ||
|
||
|
||
resourceFactory.blacklistTemplateResource.get(function (data) { | ||
scope.typificationOptions= data.typificationOptions | ||
scope.loanProductOptions= data.loanProducts | ||
}); | ||
|
||
|
||
|
||
scope.submit=function (){ | ||
this.formData.locale = scope.optlang.code; | ||
|
||
resourceFactory.blacklistResource.save(this.formData, function (data) { | ||
location.path('blacklist/'+data.resourceId+'/viewdetails' ); | ||
}); | ||
} | ||
|
||
// scope.routeTo = async ()=>{ | ||
// await setTimeout(function (){ | ||
// location.path('/blacklist' ); | ||
// },3000); | ||
// } | ||
|
||
} | ||
}); | ||
|
||
mifosX.ng.application.controller('AddToBlacklistController', ['$scope', '$routeParams', '$route', '$location', 'ResourceFactory', '$http', '$uibModal', 'API_VERSION', '$timeout', '$rootScope', 'Upload', mifosX.controllers.AddToBlacklistController]).run(function ($log) { | ||
$log.info("AddToBlacklistController initialized"); | ||
}); | ||
}(mifosX.controllers || {})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
(function (module) { | ||
mifosX.controllers = _.extend(module, { | ||
BlacklistController: function (scope, routeParams, route, location, resourceFactory, http, $uibModal, API_VERSION, $timeout, $rootScope, Upload) { | ||
scope.blacklist = []; | ||
scope.actualBlacklist = []; | ||
scope.showInactive = false; | ||
|
||
scope.formData={}; | ||
scope.searchText; | ||
scope.clientsPerPage=20; | ||
|
||
scope.getResultsPage = function (pageNumber) { | ||
var items = resourceFactory.blacklistResource.getAllBlacklistClients({ | ||
offset: ((pageNumber - 1) * scope.clientsPerPage), | ||
limit: scope.clientsPerPage, | ||
searchText:scope.searchText | ||
}, function (data) { | ||
scope.totalClients = data.totalFilteredRecords; | ||
scope.blacklist = data.pageItems; | ||
}); | ||
} | ||
|
||
// resourceFactory.blacklistResource.getAllBlacklistClients({ | ||
// offset: 0, | ||
// limit: scope.clientsPerPage, | ||
// status: scope.showInactive? 'INACTIVE' : 'ACTIVE', | ||
// searchText:scope.searchText | ||
// }, function (data) { | ||
// scope.totalClients = data.totalFilteredRecords; | ||
// scope.blacklist = data.pageItems; | ||
// }); | ||
|
||
scope.routeTo = function (path) { | ||
location.path(path); | ||
} | ||
|
||
scope.getActiveInactive = function () { | ||
scope.showInactive = !scope.showInactive; | ||
scope.getResultsPage(1); | ||
} | ||
|
||
} | ||
|
||
}); | ||
|
||
mifosX.ng.application.controller('BlacklistController', ['$scope', '$routeParams', '$route', '$location', 'ResourceFactory', '$http', '$uibModal', 'API_VERSION', '$timeout', '$rootScope', 'Upload', mifosX.controllers.BlacklistController]).run(function ($log) { | ||
$log.info("BlacklistController initialized"); | ||
}); | ||
}(mifosX.controllers || {})); |
Oops, something went wrong.