mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
fix: rename interfaces to PaymentReceived
This commit is contained in:
@@ -3,8 +3,8 @@ import * as R from 'ramda';
|
||||
import {
|
||||
IFilterMeta,
|
||||
IPaginationMeta,
|
||||
IPaymentReceive,
|
||||
IPaymentReceivesFilter,
|
||||
IPaymentReceived,
|
||||
IPaymentsReceivedFilter,
|
||||
} from '@/interfaces';
|
||||
import { PaymentReceiveTransfromer } from './PaymentReceivedTransformer';
|
||||
import HasTenancyService from '@/services/Tenancy/TenancyService';
|
||||
@@ -25,13 +25,13 @@ export class GetPaymentReceives {
|
||||
/**
|
||||
* Retrieve payment receives paginated and filterable list.
|
||||
* @param {number} tenantId
|
||||
* @param {IPaymentReceivesFilter} paymentReceivesFilter
|
||||
* @param {IPaymentsReceivedFilter} paymentReceivesFilter
|
||||
*/
|
||||
public async getPaymentReceives(
|
||||
tenantId: number,
|
||||
filterDTO: IPaymentReceivesFilter
|
||||
filterDTO: IPaymentsReceivedFilter
|
||||
): Promise<{
|
||||
paymentReceives: IPaymentReceive[];
|
||||
paymentReceives: IPaymentReceived[];
|
||||
pagination: IPaginationMeta;
|
||||
filterMeta: IFilterMeta;
|
||||
}> {
|
||||
|
||||
Reference in New Issue
Block a user