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

INT-B-21839 Added payment service items to audit history (Capturing rejection reason) #14590

Merged
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
6bf9925
Added payment_service_items table to the audit_history table logs. Cr…
brooklyn-welsh Jan 10, 2025
c7489b9
Changed migration to exclude some cols, added SQL to move_history_fet…
brooklyn-welsh Jan 14, 2025
3d24818
Added tests for approved/denied payment service items.
brooklyn-welsh Jan 15, 2025
8be5426
Merge branch 'main' into MAIN-B-21838-payment-request-rejection-reason
brooklyn-welsh Jan 15, 2025
bf9dd78
Merge branch 'MAIN-B-21838-payment-request-rejection-reason' into INT…
brooklyn-welsh Jan 15, 2025
be2afb6
Merge branch 'integrationTesting' into INT-B-21838-payment-request-re…
brooklyn-welsh Jan 21, 2025
869cd88
Fixed unintentional change to gitlab-ci.yml (again)
brooklyn-welsh Jan 21, 2025
fc6e31e
Updated template to use correct prefix when rejecting, approving, or …
brooklyn-welsh Jan 21, 2025
a36f2a2
Merge branch 'MAIN-B-21838-payment-request-rejection-reason' into INT…
brooklyn-welsh Jan 21, 2025
58da051
Added rejection reason to submitted payment request items in audit lo…
brooklyn-welsh Jan 22, 2025
fafb0f0
Merge branch 'MAIN-B-21838-payment-request-rejection-reason' into INT…
brooklyn-welsh Jan 22, 2025
0e2c5d0
Added tests for new rejection reason in payment details and for event…
brooklyn-welsh Jan 23, 2025
c47d06a
Merge branch 'MAIN-B-21838-payment-request-rejection-reason' into INT…
brooklyn-welsh Jan 23, 2025
ae0c642
Merge branch 'integrationTesting' into INT-B-21838-payment-request-re…
brooklyn-welsh Jan 23, 2025
a8e1a8b
Updated go code and frontend code to catch edge case where if TIO cli…
brooklyn-welsh Jan 23, 2025
68bf390
Merge branch 'MAIN-B-21838-payment-request-rejection-reason' into INT…
brooklyn-welsh Jan 23, 2025
976d823
Undo backend code change
brooklyn-welsh Jan 23, 2025
4a791e5
Merge branch 'MAIN-B-21838-payment-request-rejection-reason' into INT…
brooklyn-welsh Jan 23, 2025
abafe05
Use constant variables instead of strings
brooklyn-welsh Jan 24, 2025
0efebf9
Use constant variables instead of strings
brooklyn-welsh Jan 24, 2025
f7087ef
Merge branch 'integrationTesting' into INT-B-21838-payment-request-re…
danieljordan-caci Jan 24, 2025
2575028
Merge branch 'integrationTesting' into INT-B-21838-payment-request-re…
brooklyn-welsh Jan 28, 2025
7928305
Merge branch 'integrationTesting' into INT-B-21838-payment-request-re…
danieljordan-caci Jan 28, 2025
115d4c5
Fixed missing ignored col in migration
brooklyn-welsh Jan 28, 2025
5325488
Merge branch 'MAIN-B-21838-payment-request-rejection-reason' into INT…
brooklyn-welsh Jan 28, 2025
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
Prev Previous commit
Next Next commit
Updated template to use correct prefix when rejecting, approving, or …
…updating a service item. Also updated field mapping to include "denied_at" field.
  • Loading branch information
brooklyn-welsh committed Jan 21, 2025
commit fc6e31e1884539a2668f243169145a20f84924b3
1 change: 1 addition & 0 deletions src/constants/MoveHistory/Database/FieldMappings.js
Original file line number Diff line number Diff line change
@@ -148,4 +148,5 @@ export default {
approvals_requested_at: 'Approvals requested at',
approved_at: 'Approved at',
counseling_office_name: 'Counseling office',
denied_at: 'Denied at',
};
Original file line number Diff line number Diff line change
@@ -19,8 +19,16 @@ export default {
action: a.UPDATE,
eventName: o.updatePaymentServiceItemStatus,
tableName: t.payment_service_items,
getEventNameDisplay: () => {
return <div>Updated Payment Service Item</div>;
getEventNameDisplay: (historyRecord) => {
let actionPrefix = '';
if (historyRecord.changedValues.status === 'DENIED') {
actionPrefix = 'Rejected';
} else if (historyRecord.changedValues.status === 'APPROVED') {
actionPrefix = 'Approved';
} else {
actionPrefix = 'Updated';
}
return <div>{actionPrefix} Payment Service Item</div>;
},
getDetails: (historyRecord) => {
return <LabeledDetails historyRecord={formatChangedValues(historyRecord)} />;