diff --git a/src/app/sections/invoice-details/payments/payments.service.ts b/src/app/sections/invoice-details/payments/payments.service.ts index fd66d6bb..33ed1309 100644 --- a/src/app/sections/invoice-details/payments/payments.service.ts +++ b/src/app/sections/invoice-details/payments/payments.service.ts @@ -26,7 +26,7 @@ export class PaymentsService extends PartialFetcher> { return this.paymentSearchService.searchPaymentsByDuration( - { amount: 1, unit: 'y' }, + { amount: 3, unit: 'y' }, params, this.searchLimit, continuationToken diff --git a/src/app/sections/payment-details/payment-details.service.ts b/src/app/sections/payment-details/payment-details.service.ts index e7d35e6b..c8840222 100644 --- a/src/app/sections/payment-details/payment-details.service.ts +++ b/src/app/sections/payment-details/payment-details.service.ts @@ -10,7 +10,7 @@ import { PaymentSearchService } from '../../api/search'; export class PaymentDetailsService { payment$ = this.route.params.pipe( switchMap(({ invoiceID, paymentID }) => - this.paymentSearchService.getPaymentByDuration({ amount: 1, unit: 'y' }, invoiceID, paymentID) + this.paymentSearchService.getPaymentByDuration({ amount: 3, unit: 'y' }, invoiceID, paymentID) ), catchError(() => { this.snackBar.open(this.transloco.translate('httpError'), 'OK'); diff --git a/src/app/sections/payment-details/refunds/refunds.service.ts b/src/app/sections/payment-details/refunds/refunds.service.ts index 142ed6ae..c6118e3f 100644 --- a/src/app/sections/payment-details/refunds/refunds.service.ts +++ b/src/app/sections/payment-details/refunds/refunds.service.ts @@ -19,7 +19,7 @@ export class RefundsService extends PartialFetcher> { return this.refundSearchService.searchRefundsByDuration( - { amount: 1, unit: 'y' }, + { amount: 3, unit: 'y' }, invoiceID, paymentID, this.searchLimit,