Skip to content

Commit

Permalink
Add partner UEI column (#81)
Browse files Browse the repository at this point in the history
* fix: add Partner UEI column, fix partner code name [DAT-1859]
  • Loading branch information
Thomas Zemp authored Jul 11, 2022
1 parent e1ace05 commit 818f3d8
Show file tree
Hide file tree
Showing 8 changed files with 19,618 additions and 10,533 deletions.
2 changes: 2 additions & 0 deletions current/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

*.zip
19,656 changes: 19,611 additions & 45 deletions current/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion current/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "datim-mechanism-finder",
"version": "33.3.2",
"version": "3.2.3",
"private": true,
"dependencies": {
"@dhis2/app-runtime": "^2.0.4",
Expand Down
2 changes: 1 addition & 1 deletion current/public/manifest.webapp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"appType": "APP",
"name": "Mechanism Finder",
"version": "3.2.2",
"version": "3.2.3",
"description": "DATIM application to find a mechanism",
"developer": {
"name": "PEPFAR"
Expand Down
2 changes: 1 addition & 1 deletion current/src/components/CardTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const rowStyling = {

const codeNames = {
Mechanism: 'mech ID',
Partner: 'partner\nDUNS',
Partner: 'partner\ncode',
Agency: 'code',
}

Expand Down
2 changes: 1 addition & 1 deletion current/src/components/DataReactTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function getData(array) {
}

function organizeColumns(columnRow, dataRow) {
var idealOrder = ["Date","OU","OU Country Code","FY","Reporting Cycle","HQ ID","IM","Agency","Award Number","Partner Name","Partner DUNS","Start Date","End Date","Active","Partner Country","Indigenous Partner","Organization Type","Legacy ID","Legacy Partner Name","Legacy Partner ID","Legacy Partner Organization Type ID"];
var idealOrder = ["Date","OU","OU Country Code","FY","Reporting Cycle","HQ ID","IM","Agency","Award Number","Partner Name", "Partner UEI", "Partner DUNS","Start Date","End Date","Active","Partner Country","Indigenous Partner","Organization Type","Legacy ID","Legacy Partner Name","Legacy Partner ID","Legacy Partner Organization Type ID"];

//first harmonize length between columns and data (if necessary)
for (let i = columnRow.length; i <= Object.keys(dataRow).length; i++) {
Expand Down
2 changes: 1 addition & 1 deletion current/src/config/serverConfig.dev.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"baseUrl": "https://dev-tom.datim.org/",
"baseUrl": "https://dev.datim.org/",
"apiVersion": "30"
}
Loading

0 comments on commit 818f3d8

Please sign in to comment.