87c807c16c
- Implemented ChequeBooksPage for viewing and filtering cheque books. - Added NewReceivedChequePage for recording received cheques. - Created ReceivedChequesPage for listing and managing received cheques. - Introduced API endpoints for bank accounts, cheque books, and received cheques. - Defined types for payments including bank accounts, cheque books, and received cheques.
14 lines
487 B
C#
14 lines
487 B
C#
using Distribution.Models;
|
|
|
|
namespace Distribution.Features.ReceivedCheque;
|
|
|
|
public interface IReceivedChequeRepository
|
|
{
|
|
Task<Models.ReceivedCheque?> GetByIdAsync(Guid id);
|
|
Task<(List<Models.ReceivedCheque> Items, int TotalCount)> ListAsync(
|
|
int? companyId, int? branchId, ReceivedChequeStatus? status, ReceivedFromType? receivedFromType,
|
|
int page, int pageSize);
|
|
Task AddAsync(Models.ReceivedCheque cheque);
|
|
void Update(Models.ReceivedCheque cheque);
|
|
}
|