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

2226242_Payment_verification_page_not_accessible #4514

Merged
merged 3 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
9 changes: 5 additions & 4 deletions src/frontend/data/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1272,6 +1272,7 @@ type FinancialServiceProviderXlsxTemplateNode implements Node {
columns: [String]
coreFields: [String!]!
flexFields: [String!]!
documentTypes: [String!]!
financialServiceProviders(offset: Int, before: String, after: String, first: Int, last: Int): FinancialServiceProviderNodeConnection!
}

Expand Down Expand Up @@ -2513,8 +2514,8 @@ type PaymentNode implements Node {
fspAuthCode: String
isCashAssist: Boolean!
followUps(offset: Int, before: String, after: String, first: Int, last: Int): PaymentNodeConnection!
paymentVerification: PaymentVerificationNode
householdSnapshot: PaymentHouseholdSnapshotNode
paymentVerification: PaymentVerificationNode
ticketComplaintDetails: TicketComplaintDetailsNode
ticketSensitiveDetails: TicketSensitiveDetailsNode
adminUrl: String
Expand Down Expand Up @@ -2607,13 +2608,13 @@ type PaymentPlanNode implements Node {
excludeHouseholdError: String!
name: String
isCashAssist: Boolean!
approvalProcess(offset: Int, before: String, after: String, first: Int, last: Int): ApprovalProcessNodeConnection!
followUps(offset: Int, before: String, after: String, first: Int, last: Int): PaymentPlanNodeConnection!
deliveryMechanisms: [DeliveryMechanismPerPaymentPlanNode]
paymentItems(offset: Int, before: String, after: String, first: Int, last: Int): PaymentNodeConnection!
documents(offset: Int, before: String, after: String, first: Int, last: Int): PaymentPlanSupportingDocumentNodeConnection!
paymentVerificationPlans(offset: Int, before: String, after: String, first: Int, last: Int): PaymentVerificationPlanNodeConnection!
paymentVerificationSummary: PaymentVerificationSummaryNode
approvalProcess(offset: Int, before: String, after: String, first: Int, last: Int): ApprovalProcessNodeConnection!
documents(offset: Int, before: String, after: String, first: Int, last: Int): PaymentPlanSupportingDocumentNodeConnection!
adminUrl: String
currencyName: String
hasPaymentListExportFile: Boolean
Expand Down Expand Up @@ -4681,13 +4682,13 @@ type UserNode implements Node {
doapHash: String!
userRoles: [UserRoleNode!]!
documentSet(offset: Int, before: String, after: String, first: Int, last: Int): DocumentNodeConnection!
approvalSet: [ApprovalNode!]!
registrationDataImports(offset: Int, before: String, after: String, first: Int, last: Int): RegistrationDataImportNodeConnection!
createdPaymentPlans(offset: Int, before: String, after: String, first: Int, last: Int): PaymentPlanNodeConnection!
createdFinancialServiceProviderXlsxTemplates(offset: Int, before: String, after: String, first: Int, last: Int): FinancialServiceProviderXlsxTemplateNodeConnection!
createdFinancialServiceProviders(offset: Int, before: String, after: String, first: Int, last: Int): FinancialServiceProviderNodeConnection!
createdDeliveryMechanisms(offset: Int, before: String, after: String, first: Int, last: Int): DeliveryMechanismPerPaymentPlanNodeConnection!
sentDeliveryMechanisms(offset: Int, before: String, after: String, first: Int, last: Int): DeliveryMechanismPerPaymentPlanNodeConnection!
approvalSet: [ApprovalNode!]!
createdTickets(offset: Int, before: String, after: String, first: Int, last: Int): GrievanceTicketNodeConnection!
assignedTickets(offset: Int, before: String, after: String, first: Int, last: Int): GrievanceTicketNodeConnection!
ticketNotes(offset: Int, before: String, after: String, first: Int, last: Int): TicketNoteNodeConnection!
Expand Down
14 changes: 9 additions & 5 deletions src/frontend/fixtures/paymentmodule/fakeApolloPaymentPlan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ export const fakeApolloPaymentPlan: PaymentPlanQuery['paymentPlan'] = {
version: 1000,
unicefId: 'PP-0060-22-00000001',
status: PaymentPlanStatus.Locked,
programCycle: {
id: 'UHJvZ3JhbUN5Y2xlOjljNDMzZWQzLTcwZjUtNDRhOC1iZmQ5LTA1Mjg3YTAwNzQxNQ==',
},
isFollowUp: false,
sourcePaymentPlan: null,
excludedHouseholds: null,
Expand Down Expand Up @@ -43,7 +46,7 @@ export const fakeApolloPaymentPlan: PaymentPlanQuery['paymentPlan'] = {
name: 'Report should property early adult.',
__typename: 'TargetPopulationNode',
},
currency: "PLN",
currency: 'PLN',
currencyName: 'Polish złoty',
startDate: '2020-10-27',
endDate: '2021-09-08',
Expand Down Expand Up @@ -301,7 +304,8 @@ export const fakeApolloPaymentPlan: PaymentPlanQuery['paymentPlan'] = {
__typename: 'PaymentPlanNode',
};

export const fakeApolloPaymentPlanWithWrongBackgroundActionStatus: PaymentPlanQuery['paymentPlan'] = {
...fakeApolloPaymentPlan,
backgroundActionStatus: PaymentPlanBackgroundActionStatus.XlsxExporting,
};
export const fakeApolloPaymentPlanWithWrongBackgroundActionStatus: PaymentPlanQuery['paymentPlan'] =
{
...fakeApolloPaymentPlan,
backgroundActionStatus: PaymentPlanBackgroundActionStatus.XlsxExporting,
};
Loading
Loading