Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync dev to dev-rook #5312

Merged
merged 250 commits into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
250 commits
Select commit Hold shift + click to select a range
47360fb
Initial check in for applicant profiles
richard-aot Dec 14, 2023
07cb844
1. update version to 1
richard-aot Dec 14, 2023
3e6abf6
uncomment auth
richard-aot Dec 14, 2023
40c1491
initial commit for front end of applicant profile
nkan-aot2 Dec 14, 2023
31ffc19
bug fix
richard-aot Dec 14, 2023
6dc2995
Merge branch 'test-marshal-NK-4761' of github.com:bcgov/foi-flow into…
richard-aot Dec 14, 2023
df8c3c5
Merge branch 'test-marshal-RQ-4758' into test-marshal-NK-4761
nkan-aot2 Dec 15, 2023
ec68183
aggregate search result
richard-aot Dec 15, 2023
2e0ffc2
Merge branch 'test-marshal-RQ-4758' into test-marshal-NK-4761
nkan-aot2 Dec 15, 2023
b331296
bug fix
richard-aot Dec 16, 2023
a9dcf7d
Merge branch 'test-marshal-RQ-4758' into test-marshal-NK-4761
nkan-aot2 Dec 18, 2023
26c9ccf
intermediate commit for backend code
nkan-aot2 Dec 19, 2023
dd4ee25
add missing applicant schema file
nkan-aot2 Dec 19, 2023
16865d2
small fix for search applicant
Dec 19, 2023
d4aab09
2nd intermediate commit for save applicant profile
nkan-aot2 Dec 20, 2023
dd68f54
comments added
Dec 20, 2023
2b4f47f
Merge branch 'test-marshal-NK-4761' into test-marshal-DV-4761
Dec 20, 2023
2c2a03e
fix related to show applicant details
Dec 20, 2023
81d2fa8
integrated keyword serch
Dec 22, 2023
09fcb80
save and update all open requests
richard-aot Jan 6, 2024
83816e5
1. get applicant history
richard-aot Jan 9, 2024
5b8e457
bug fix: save request created new applicant
richard-aot Jan 10, 2024
99492a2
applicant history only return differences
richard-aot Jan 11, 2024
2e84083
integrating history and request endpoints for applicant profile
nkan-aot2 Jan 11, 2024
9db77c2
remove logs
richard-aot Jan 11, 2024
ad2ddbd
Merge branch 'test-marshal-NK-4758' of github.com:bcgov/foi-flow into…
richard-aot Jan 11, 2024
e9cc806
integrating history and request endpoints for applicant profile
nkan-aot2 Jan 11, 2024
e0c3495
Merge branches 'test-marshal-RQ-4758' and 'test-marshal-NK-4758' of g…
richard-aot Jan 12, 2024
89c354f
fetch applicant by id for open state onwards
nkan-aot2 Jan 12, 2024
21a00eb
Merge branch 'test-marshal-NK-4758' of github.com:bcgov/foi-flow into…
richard-aot Jan 12, 2024
1b75673
1. add category id to applicant table
richard-aot Jan 15, 2024
0c52cc0
minor ux improvements for loading and saving applicant info in modal …
nkan-aot2 Jan 16, 2024
91b6298
1. update search to search all history
richard-aot Jan 17, 2024
91b8d3d
fix different dob data type causing update bug
nkan-aot2 Jan 17, 2024
76ddfd9
Merge branch 'test-marshal-NK-4758' of github.com:bcgov/foi-flow into…
richard-aot Jan 17, 2024
63889c4
save categoryid to applicant table
richard-aot Jan 18, 2024
d89e1be
add additional logic to only show profile modal before open state
nkan-aot2 Jan 19, 2024
0a58265
1. categoryid in applicant table
richard-aot Jan 20, 2024
0b614b9
Merge branch 'test-marshal-NK-4758' of github.com:bcgov/foi-flow into…
richard-aot Jan 20, 2024
351d8ac
bug fix
richard-aot Jan 20, 2024
4bef1a2
bug fix
richard-aot Jan 20, 2024
d1684e9
remove debug code
richard-aot Jan 20, 2024
e3902cf
bug fix
richard-aot Jan 20, 2024
cfb25e2
bug fix
richard-aot Jan 23, 2024
2e22b66
bug fix
richard-aot Jan 23, 2024
1bcf64a
add yellow warning color for fields in profile that are different fro…
nkan-aot2 Jan 23, 2024
721592c
Merge branch 'test-marshal-NK-4758' of github.com:bcgov/foi-flow into…
richard-aot Jan 23, 2024
5f77f91
save changes for all intake in progress requests associated to applic…
nkan-aot2 Jan 24, 2024
17339f0
get raw requests as part of applicant request history
nkan-aot2 Jan 24, 2024
2f1a40e
disable open state only instead of entire dropdown if user has not se…
nkan-aot2 Jan 24, 2024
2588b5f
migrate latest categoryid to applicant table
richard-aot Jan 25, 2024
6e79e3e
Merge branch 'test-marshal-NK-4758' of github.com:bcgov/foi-flow into…
richard-aot Jan 25, 2024
033df00
minor ux improvements
nkan-aot2 Jan 25, 2024
9e3db48
Merge branch 'test-marshal-RQ-4758' into test-marshal-NK-4758
nkan-aot2 Jan 26, 2024
bccb21c
fix get profile by applicant id when profile id has not been created yet
nkan-aot2 Jan 26, 2024
a6f5dea
bug fix
richard-aot Jan 27, 2024
44bce9d
Merge branch 'main' of github.com:bcgov/foi-flow into test-marshal-RQ…
richard-aot Jan 29, 2024
76768c6
fix migration conflicts
richard-aot Jan 29, 2024
0977b4b
Fix overwritten status enum update in merge
nkan-aot2 Jan 29, 2024
88e3929
Merge pull request #5028 from bcgov/test-marshal-NK-fixmerge
nkan-aot2 Jan 29, 2024
c69727e
Merge branch 'test-marshal' of github.com:bcgov/foi-flow into test-ma…
richard-aot Jan 30, 2024
0a8ae1b
Merge pull request #5029 from bcgov/test-marshal-RQ-4758
richard-aot Jan 30, 2024
20fcefd
get full state transition list for raw requests
nkan-aot2 Jan 30, 2024
3c8f89f
Merge pull request #5031 from bcgov/test-marshal-NK-2912
nkan-aot2 Jan 30, 2024
3a8ab8e
disable click on request history
richard-aot Jan 30, 2024
9ac0a3c
Merge branch 'test-marshal' of github.com:bcgov/foi-flow into test-ma…
richard-aot Jan 30, 2024
a9ebe82
bug fix: request history show archived raw requests
richard-aot Jan 30, 2024
7bc026a
revert local configuration
richard-aot Jan 30, 2024
e9a1d64
typo
richard-aot Jan 30, 2024
03a48bc
fix recevie date format
richard-aot Jan 30, 2024
b2d8973
Merge pull request #5032 from bcgov/test-marshal-RQ-4758
nkan-aot2 Jan 30, 2024
60abb45
fix title for different modal states
nkan-aot2 Jan 31, 2024
319cf8b
fix applicant info being editable in request form after profile has b…
nkan-aot2 Jan 31, 2024
0a9e22a
Merge pull request #5033 from bcgov/test-marshal-NK-4758-ux
nkan-aot2 Jan 31, 2024
731b071
test application fee receipt failure
nkan-aot2 Feb 7, 2024
3365cff
generate report of unopened unactioned reqeusts and their potential m…
nkan-aot2 Feb 8, 2024
a83ca1a
Merge pull request #5044 from bcgov/test-marshal-NK-2860
nkan-aot2 Feb 8, 2024
4ad9dbf
Merge branch 'dev-RQ-2879' of github.com:bcgov/foi-flow into test-mar…
richard-aot Feb 8, 2024
b127088
Merge pull request #5045 from bcgov/test-marshal-RQ-2879
richard-aot Feb 8, 2024
56c2837
remove debug code
richard-aot Feb 8, 2024
e21f553
fix env data type issue
nkan-aot2 Feb 8, 2024
fdc8500
Merge pull request #5046 from bcgov/test-marshal-NK-2860
nkan-aot2 Feb 8, 2024
3aabd1b
fix env data type issue
nkan-aot2 Feb 8, 2024
66aa8e3
Merge pull request #5048 from bcgov/test-marshal-NK-2860
nkan-aot2 Feb 8, 2024
d8d2b64
fix missing join condition in query
nkan-aot2 Feb 8, 2024
5418ea5
Merge pull request #5049 from bcgov/test-marshal-NK-2860
nkan-aot2 Feb 8, 2024
12b9476
not displaying limit message is limit set to 0
richard-aot Feb 8, 2024
e7baf48
format
richard-aot Feb 8, 2024
15c5eb8
bug fix
richard-aot Feb 8, 2024
a6767cc
fix query
nkan-aot2 Feb 8, 2024
0e19ce5
fix date data format
nkan-aot2 Feb 8, 2024
12a1eb0
Merge pull request #5051 from bcgov/test-marshal-NK-2860
nkan-aot2 Feb 8, 2024
4a7aa13
fix missing return statement
nkan-aot2 Feb 9, 2024
d368db8
Merge pull request #5052 from bcgov/test-marshal-NK-2860
nkan-aot2 Feb 9, 2024
c0ba5d0
fix comparator
nkan-aot2 Feb 9, 2024
11557c0
fix query enddate calculation
nkan-aot2 Feb 9, 2024
1d0747b
add debug statements
nkan-aot2 Feb 9, 2024
b1b2c56
Merge pull request #5053 from bcgov/test-marshal-NK-2860
nkan-aot2 Feb 9, 2024
10d4762
fix if condition in email loop
nkan-aot2 Feb 9, 2024
415c1b6
Merge pull request #5054 from bcgov/test-marshal-NK-2860
nkan-aot2 Feb 9, 2024
d9e78d4
fix request id data type
nkan-aot2 Feb 9, 2024
3a04a6e
Merge pull request #5055 from bcgov/test-marshal-NK-2860
nkan-aot2 Feb 9, 2024
0fc521d
fix payment status none type
nkan-aot2 Feb 9, 2024
b83c4c3
Merge pull request #5056 from bcgov/test-marshal-NK-2860
nkan-aot2 Feb 9, 2024
79896d5
fix empty payment status at query level
nkan-aot2 Feb 9, 2024
2eec4f0
Merge pull request #5057 from bcgov/test-marshal-NK-2860
nkan-aot2 Feb 9, 2024
254fcd6
Merge pull request #5050 from bcgov/test-marshal-RQ-2879
richard-aot Feb 9, 2024
034ce04
fix data type for similarity score
nkan-aot2 Feb 9, 2024
b1a8fcf
Merge pull request #5060 from bcgov/test-marshal-NK-2860
nkan-aot2 Feb 9, 2024
53e6399
fix similarity data type v2
nkan-aot2 Feb 9, 2024
36b2ec7
Merge pull request #5061 from bcgov/test-marshal-NK-2860
nkan-aot2 Feb 9, 2024
d620cf6
fix substring index
nkan-aot2 Feb 9, 2024
af7dcd7
Merge pull request #5062 from bcgov/test-marshal-NK-2860
nkan-aot2 Feb 9, 2024
38220cc
revert changes for testing receipt failure
nkan-aot2 Feb 12, 2024
aa46f22
axis sync api return axisapplicantid
richard-aot Feb 28, 2024
11394a4
add missing parts in group by
richard-aot Feb 28, 2024
68ece2d
initial commit for axis sync applicant profile
nkan-aot2 Feb 28, 2024
1958bd3
only disable applicant fields if axis applicant id is set
nkan-aot2 Mar 1, 2024
877caee
fix bugs with previous commit
nkan-aot2 Mar 2, 2024
cc9454f
FOIMOD-2956:
richard-aot Mar 5, 2024
0670699
Merge branch 'test-marshal-NK-2956' of github.com:bcgov/foi-flow into…
richard-aot Mar 5, 2024
03537f2
FOIMOD-2956: lowercase axisapplicantid
richard-aot Mar 5, 2024
61c9929
FOIMOD-2956: bug fix
richard-aot Mar 5, 2024
5a0b36a
FOIMOD-2956: bug fix
richard-aot Mar 5, 2024
e53497c
Merge pull request #5111 from bcgov/test-marshal-RQ-2956
richard-aot Mar 6, 2024
7d3ab11
FOIMOD-2956: sync axisapplicantid for ongoing requests
richard-aot Mar 7, 2024
175e270
Merge pull request #5112 from bcgov/test-marshal-RQ-2956
richard-aot Mar 7, 2024
93260bf
Merge pull request #5141 from bcgov/dev-marshal-MD-merge-main
milosdes Apr 9, 2024
10be2bb
Add records ready for review to enum and request filters
milosdes Apr 10, 2024
1f96b2e
Add records ready for review state to filter
milosdes Apr 10, 2024
53d6e25
Added RTT and notification for RTT attachments
Apr 15, 2024
ff51bf0
remove printf statements
Apr 15, 2024
70756e4
Added attachment upload event to the json files
Apr 15, 2024
731536d
Merge pull request #5142 from bcgov/dev-marshal-MD-3085
milosdes Apr 15, 2024
4dbd1eb
Added the migration script for attachement upload event
antsand Apr 15, 2024
ea139b6
Updated notification code to include RRT message
antsand Apr 15, 2024
b89bae4
Remove all print statements
antsand Apr 15, 2024
bb09559
Merge branch 'shiva-RRT-2965' into dev-marshal-shiva-2965-RRT
antsand Apr 15, 2024
12ee340
Merge pull request #5148 from bcgov/dev-marshal-shiva-2965-RRT
antsand Apr 15, 2024
8b5b9dd
Remove custom unassigned queue for separate IAO teams
milosdes Apr 16, 2024
d2f38b6
Merge pull request #5149 from bcgov/dev-marshal-MD-3084
milosdes Apr 16, 2024
3cb5d86
Added comment and scanning team notifcation for attachement service
antsand Apr 18, 2024
038c1b6
Fix RRT indententation
antsand Apr 22, 2024
db5f194
Updated RRT flow and fixes
antsand Apr 23, 2024
4f7bd02
Remove RRT and call it from the parent
antsand Apr 23, 2024
233720c
Remove comments
antsand Apr 24, 2024
8a93e29
Fixed comments
antsand Apr 26, 2024
26c07c5
Merge branch 'dev' into test-marshal-NK-merge-04262024
nkan-aot2 Apr 26, 2024
443aa5e
temp reorder migrations
nkan-aot2 Apr 26, 2024
0c68a08
Merge pull request #5152 from bcgov/dev-marshal-shiva-2965-RRT
antsand Apr 27, 2024
1498d9a
Fix for RAW request
antsand Apr 29, 2024
9345e2c
Merge pull request #5166 from bcgov/test-marshal-NK-merge-04262024
nkan-aot2 Apr 29, 2024
2b6b37c
fix migration order
nkan-aot2 Apr 30, 2024
a18abc3
Merge pull request #5171 from bcgov/test-marshal-NK-merge-04262024
nkan-aot2 Apr 30, 2024
b85c23d
push correct order of migrations for dev
nkan-aot2 Apr 30, 2024
faa5272
Merge pull request #5172 from bcgov/test-marshal-NK-merge-04262024
nkan-aot2 Apr 30, 2024
3d610d7
Changes to include contentype in cronjob.
Apr 30, 2024
018f43d
Merge branch 'dev' into dev-ST-FOIMOD-3112
Apr 30, 2024
7c911d2
Merge pull request #5165 from bcgov/dev
sumathi-thirumani Apr 30, 2024
26b35bd
Updated PR comments
antsand May 1, 2024
160352b
remove print statements
antsand May 1, 2024
2cf1d0e
fix print
antsand May 1, 2024
1271f87
remove print
antsand May 1, 2024
6e829c3
remove print
antsand May 1, 2024
1b52035
Merge pull request #5169 from bcgov/dev-marshal-shiva-2965-RRT
antsand May 1, 2024
e2e5802
Changes to ignore closed requests.
May 1, 2024
75fa99a
Merge pull request #5178 from bcgov/dev
divyav-aot May 1, 2024
b4bcffb
changed to refer mastertable.
May 1, 2024
29592bb
Changes to run at 10UTC.
May 1, 2024
da6530c
Merge pull request #5179 from bcgov/dev-ST-FOIMOD-3112
sumathi-thirumani May 1, 2024
7c9c345
Merge pull request #5180 from bcgov/dev
sumathi-thirumani May 1, 2024
3890eae
Merge remote-tracking branch 'origin' into test-marshal-RRT-2965
May 2, 2024
0b2d1d3
cronjob.yaml
May 2, 2024
2c883df
Merge pull request #5182 from bcgov/dev-DV-FOIMOD-3112
divyav-aot May 2, 2024
0292cde
Merge pull request #5183 from bcgov/dev
divyav-aot May 2, 2024
127a879
orderid updated in full receipt
May 2, 2024
5bca34d
Merge pull request #5184 from bcgov/dev-DV-FOIMOD-3139
divyav-aot May 2, 2024
1de04bf
Merge branch 'test-marshal' into test-marshal-RRT-2965
antsand May 2, 2024
a632315
added commentsversion in notification manager
May 3, 2024
18126e4
Merge pull request #5186 from bcgov/dev-DV-FOIMOD-3139
divyav-aot May 3, 2024
2156687
Merge pull request #5187 from bcgov/dev
divyav-aot May 3, 2024
ef81736
bug fixed related to ministry request advancedsearch
May 6, 2024
c7da91c
bug fixed related to ministry request advancedsearch
May 6, 2024
b69403f
Merge pull request #5195 from bcgov/dev-DV-FOIMOD-3136
divyav-aot May 6, 2024
7765961
Merge pull request #5198 from bcgov/dev
divyav-aot May 6, 2024
6663ac7
Merge pull request #5181 from bcgov/test-marshal-RRT-2965
antsand May 7, 2024
a29c20e
add spell check on draft.js & react-quill
JieunSon96 May 7, 2024
b9b99c9
queue pagecount issue updated
May 7, 2024
538577b
pagecount changes
May 7, 2024
6ba1336
Merge pull request #5204 from bcgov/dev-DV-FOIMOD-3136
sumathi-thirumani May 7, 2024
b32a727
Merge pull request #5205 from bcgov/dev
sumathi-thirumani May 7, 2024
7d2b5b6
Merge branch 'dev' into test-marshal
nkan-aot2 May 7, 2024
2bb4d14
remove react-loading-overlay dependency
JieunSon96 May 7, 2024
0d0de22
updated the lan tooltip
May 7, 2024
d5aa741
Lan Pages updated
May 7, 2024
a60942c
Merge pull request #5207 from bcgov/dev-DV-FOIMOD-3136
divyav-aot May 7, 2024
b2270dd
fix merge overwrite package-lock
nkan-aot2 May 8, 2024
3426561
Merge pull request #5209 from bcgov/test-marshal-NK-merge-20240507
nkan-aot2 May 8, 2024
882d80b
Merge branch 'test-marshal' into foimod-3094-dev
nkan-aot2 May 8, 2024
d075439
Merge pull request #5206 from bcgov/foimod-3094-dev
nkan-aot2 May 8, 2024
2ea65a4
Merge branch 'test-marshal' into dev-marshal
nkan-aot2 May 8, 2024
2a7e393
MCF added for LAN pages
May 8, 2024
a4ccb57
Merge pull request #5210 from bcgov/dev-DV-FOIMOD-3136
divyav-aot May 8, 2024
92a6b58
Changes to pass iaocode instead of bcgovcode.
May 8, 2024
1633075
Merge pull request #5212 from bcgov/dev-ST-FOIMOD-3136
sumathi-thirumani May 8, 2024
ee8ed49
Merge pull request #5211 from bcgov/dev
divyav-aot May 8, 2024
04d2af9
fix migration script order
nkan-aot2 May 8, 2024
1104c26
Merge branch 'test-marshal' into dev-marshal
nkan-aot2 May 8, 2024
afad6ea
fix rrt migration order
nkan-aot2 May 9, 2024
b8c1e43
Changes to resolve the cron error [Parse values]
May 9, 2024
863e8ef
Merge pull request #5213 from bcgov/dev-ST-FOIMOD-3136
divyav-aot May 9, 2024
beec57e
Merge pull request #5214 from bcgov/dev
sumathi-thirumani May 9, 2024
2fc26d6
Merge branch 'main' into test-marshal
nkan-aot2 May 10, 2024
4e8b946
Merge branch 'test-marshal' into dev-marshal
nkan-aot2 May 10, 2024
f22ab89
Debug axis integration.
May 13, 2024
e061beb
Merge pull request #5216 from bcgov/dev-ST-FOIMOD-3136
sumathi-thirumani May 13, 2024
941e115
Merge pull request #5217 from bcgov/test-marshal-sync
antsand May 13, 2024
9342e97
updated the condition with an or for lanpages
May 13, 2024
9a23510
Merge pull request #5218 from bcgov/dev-DV-FOIMOD-3136
divyav-aot May 13, 2024
d8422df
Merge pull request #5219 from bcgov/dev
divyav-aot May 13, 2024
b4eadea
Merge pull request #5220 from bcgov/main
sumathi-thirumani May 13, 2024
078329b
Merge branch 'main' into test-marshal
JieunSon96 May 21, 2024
db5409e
fixed getting correct ministry version
JieunSon96 May 21, 2024
5527c1a
Merge pull request #5229 from bcgov/foimod-3101
JieunSon96 May 23, 2024
36b17be
Merge branch 'test-marshal' of https://github.com/bcgov/foi-flow into…
JieunSon96 May 23, 2024
1793a98
fixed displaying request queues on dashboard
JieunSon96 May 27, 2024
d3c657f
Update RRT notification message
antsand May 27, 2024
2c08f9b
Merge pull request #5233 from bcgov/test-marshal-shiva-rrt-2965
antsand May 28, 2024
95112e7
Merge pull request #5234 from bcgov/foimod-3104-test
JieunSon96 May 28, 2024
8bd545a
make applicant details editable for business purposes
nkan-aot2 May 29, 2024
bc6855a
correct previous commit
nkan-aot2 May 29, 2024
cc7a361
Merge pull request #5236 from bcgov/test-marshal
richard-aot May 29, 2024
2a24a48
correct previous correction
nkan-aot2 May 29, 2024
7a4436f
Merge pull request #5237 from bcgov/test-marshal
nkan-aot2 May 29, 2024
c36e097
Merge pull request #5238 from bcgov/dev
richard-aot May 30, 2024
daeb877
fixed selecting distinct queries based on id
JieunSon96 Jun 4, 2024
8af383b
removed count func and replaced with exists to handle null values
JieunSon96 Jun 5, 2024
b34d183
Merge pull request #5249 from bcgov/foimod-3104-test
JieunSon96 Jun 5, 2024
73d8b25
Merge pull request #5255 from bcgov/foimod-3104-test
JieunSon96 Jun 10, 2024
1afd61d
bug fix: wrong page count
richard-aot Jun 10, 2024
6584969
bug fix: axis sync set mod page count to 0
richard-aot Jun 11, 2024
70a77e3
bug fix: axis sync set recordspagecount to 0
richard-aot Jun 11, 2024
76d6d94
Merge pull request #5258 from bcgov/test-RQ-FOIMOD-3204
richard-aot Jun 11, 2024
75503d4
Merge pull request #5261 from bcgov/main
richard-aot Jun 12, 2024
6670c49
fix redaction summary not showing up in request details
nkan-aot2 Jun 13, 2024
de89e1e
Merge pull request #5269 from bcgov/dev-NK-FOIMOD-3249
nkan-aot2 Jun 17, 2024
c9cba48
fix recordspagecount and axislanpagecount not being copied over durin…
nkan-aot2 Jun 5, 2024
045d6a3
Merge pull request #5298 from bcgov/dev-NK-FOIMOD-3205
nkan-aot2 Jun 26, 2024
ecc18c4
Merge branch 'dev' of github.com:bcgov/foi-flow into dev-rook-RQ-sync…
richard-aot Jul 10, 2024
9483857
resolve migration conflict
richard-aot Jul 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public AXISRequest GetAXISRequest(string request)
axisRequest.ApplicantLastName = Convert.ToString(row["lastName"]);
axisRequest.BusinessName = Convert.ToString(row["businessName"]);

axisRequest.AXISApplicantID = Convert.ToString(row["axisApplicantID"]);
axisRequest.Address = Convert.ToString(row["address"]);
axisRequest.AddressSecondary = Convert.ToString(row["addressSecondary"]);
axisRequest.City = Convert.ToString(row["city"]);
Expand Down Expand Up @@ -128,7 +129,7 @@ public Dictionary<string, PageCount> GetAXISRequestsPageCount(string[] arrayOfRe
DataTable axisDataTable = GetAxisRequestsPageCount(arrayOfRequestId);

var axisRequestPageCountDict = axisDataTable.AsEnumerable()
.Where(rw => Convert.ToInt32(rw["requestPageCount"]) > 0)
.Where(rw => Convert.ToInt32(rw["requestPageCount"]) > 0 || Convert.ToInt32(rw["lanPageCount"]) > 0)
.ToDictionary(
rw => Convert.ToString(rw["AXISRequestID"]),
rw => new PageCount
Expand All @@ -145,7 +146,7 @@ public Dictionary<string, PageCount> GetAXISRequestsPageCount()
DataTable axisDataTable = GetAxisRequestsPageCount();

var axisRequestPageCountDict = axisDataTable.AsEnumerable()
.Where(rw => Convert.ToInt32(rw["requestPageCount"]) > 0)
.Where(rw => Convert.ToInt32(rw["requestPageCount"]) > 0 || Convert.ToInt32(rw["lanPageCount"]) > 0)
.ToDictionary(
rw => Convert.ToString(rw["AXISRequestID"]),
rw => new PageCount
Expand Down Expand Up @@ -180,7 +181,7 @@ private DataTable GetAxisRequestData(string request)
(SELECT terminology.vcTerminology from tblTerminologyLookup terminology WHERE terminology.iLabelID = deliveryModes.iLabelID and terminology.tiLocaleID = 1) as deliveryMode,
(SELECT terminology.vcTerminology from tblTerminologyLookup terminology WHERE terminology.iLabelID = countries.iLabelID and terminology.tiLocaleID = 1) as country,
(SELECT terminology.vcTerminology from tblTerminologyLookup terminology WHERE terminology.iLabelID = states.iLabelID and terminology.tiLocaleID = 1) as province,
requesters.vcAddress1 as [address], requesters.vcAddress2 as addressSecondary, requesters.vcCity as city, requesters.vcZipCode as postal,
requesters.iRequesterID as axisApplicantID, requesters.vcAddress1 as [address], requesters.vcAddress2 as addressSecondary, requesters.vcCity as city, requesters.vcZipCode as postal,
requesters.vcHome as phonePrimary,
requesters.vcMobile as phoneSecondary,
requesters.vcWork1 as workPhonePrimary,
Expand All @@ -195,7 +196,7 @@ private DataTable GetAxisRequestData(string request)
onbehalf.vcLastName as onbehalfLastName,
onbehalf.vcMiddleName as onbehalfMiddleName,
(SELECT terminology.vcTerminology from tblTerminologyLookup terminology WHERE terminology.iLabelID = requestTypes.iLabelID and terminology.tiLocaleID = 1) as requestType,
sum(distinct case when requests.IREQUESTID = reviewlog.IREQUESTID and reviewlog.IDOCID = documents.IDOCID then documents.SIPAGECOUNT
sum(case when requests.IREQUESTID = reviewlog.IREQUESTID and reviewlog.IDOCID = documents.IDOCID then documents.SIPAGECOUNT
when requests.IREQUESTID = redaction.IREQUESTID and redaction.IDOCID = ldocuments.IDOCID then ldocuments.SIPAGECOUNT
else 0 end) as requestPageCount,
(case when requestfields.CustomField91 > 0 then requestfields.CustomField91 else 0 end ) as lanPageCount,
Expand Down Expand Up @@ -229,7 +230,7 @@ LEFT OUTER JOIN dbo.TBLREQUESTCUSTOMFIELDS requestfields WITH (NOLOCK) ON reques
GROUP BY requests.sdtReceivedDate, requests.sdtTargetDate, requests.sdtOriginalTargetDate, requests.vcDescription,
requests.sdtRqtDescFromdate, requests.sdtRqtDescTodate, requests.sdtRequestedDate, office.OFFICE_CODE, requesterTypes.vcDescription,
receivedModes.iLabelID, deliveryModes.iLabelID, countries.iLabelID, states.iLabelID,
requesters.vcAddress1, requesters.vcAddress2, requesters.vcCity, requesters.vcZipCode,
requesters.iRequesterID, requesters.vcAddress1, requesters.vcAddress2, requesters.vcCity, requesters.vcZipCode,
requesters.vcHome, requesters.vcMobile, requesters.vcWork1, requesters.vcWork2, requesters.vcFirstName, requesters.vcLastName, requesters.vcMiddleName,
requests.iRequestID, requesters.vcCompany, requesters.vcEmailID, onbehalf.vcFirstName, onbehalf.vcLastName, onbehalf.vcMiddleName,
requestTypes.iLabelID, requests.vcVisibleRequestID, requests.tiOfficeID, office.OFFICE_ID,requestorfields.CUSTOMFIELD35,
Expand Down Expand Up @@ -352,7 +353,7 @@ private DataTable GetAxisRequestsPageCount(string[] arrayOfRequestId)
ConnectionString = SettingsManager.ConnectionString;
var inClauseValues = RequestsHelper.GetInClause(arrayOfRequestId);

string query = $@"Select vcVisibleRequestID as axisRequestId, sum(distinct case when requests.IREQUESTID = reviewlog.IREQUESTID and reviewlog.IDOCID = documents.IDOCID then documents.SIPAGECOUNT
string query = $@"Select vcVisibleRequestID as axisRequestId, sum(case when requests.IREQUESTID = reviewlog.IREQUESTID and reviewlog.IDOCID = documents.IDOCID then documents.SIPAGECOUNT
when requests.IREQUESTID = redaction.IREQUESTID and redaction.IDOCID = ldocuments.IDOCID then ldocuments.SIPAGECOUNT
else 0 end) as requestPageCount,
(case when requestfields.CustomField91 > 0 then requestfields.CustomField91 else 0 end ) as lanPageCount
Expand Down Expand Up @@ -393,7 +394,7 @@ private DataTable GetAxisRequestsPageCount()
{
ConnectionString = SettingsManager.ConnectionString;

string query = @"Select vcVisibleRequestID as axisRequestId, sum(distinct case when requests.IREQUESTID = reviewlog.IREQUESTID and reviewlog.IDOCID = documents.IDOCID then documents.SIPAGECOUNT
string query = @"Select vcVisibleRequestID as axisRequestId, sum(case when requests.IREQUESTID = reviewlog.IREQUESTID and reviewlog.IDOCID = documents.IDOCID then documents.SIPAGECOUNT
when requests.IREQUESTID = redaction.IREQUESTID and redaction.IDOCID = ldocuments.IDOCID then ldocuments.SIPAGECOUNT
else 0 end) as requestPageCount,
(case when requestfields.CustomField91 > 0 then requestfields.CustomField91 else 0 end ) as lanPageCount
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ public class AXISRequest
[DataMember(Name = "lastName")]
public string ApplicantLastName { get; set; }


[DataMember(Name = "axisApplicantID")]
public string AXISApplicantID { get; set; }

[DataMember(Name = "businessName")]
public string BusinessName { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public ActionResult<string> Post([FromBody] List<string> axisRequestIds)
}
foreach (var requestId in axisRequestIds)
{
_logger.Log(LogLevel.Information, string.Format($"axisRequestId for syncing requestPageCount and LANPages: {requestId}"));
if (!IsValidRequestId(requestId))
{
return BadRequest($"Invalid axisRequestId: {requestId}");
Expand Down
Loading
Loading