Skip to content

Commit

Permalink
2226242_Payment_verification_page_not_accessible (#4514)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekBiczysko authored Dec 10, 2024
1 parent be85651 commit 9d77170
Show file tree
Hide file tree
Showing 9 changed files with 73 additions and 35 deletions.
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

0 comments on commit 9d77170

Please sign in to comment.