initial commit

This commit is contained in:
2026-07-21 14:14:44 +07:00
commit fa7dbb970d
1359 changed files with 104110 additions and 0 deletions
@@ -0,0 +1,32 @@
using Indotalent.ConfigBackEnd.Interfaces;
using Indotalent.ConfigFrontEnd.Common;
using Indotalent.Features.Sales.PaymentReceiveReport.Cqrs;
using Indotalent.Infrastructure.Authentication.Identity;
using Indotalent.Shared.Models;
using Microsoft.AspNetCore.Components;
using MudBlazor;
using RestSharp;
namespace Indotalent.Features.Sales.PaymentReceiveReport;
public class PaymentReceiveReportService : BaseService
{
private readonly RestClient _client;
public PaymentReceiveReportService(
IHttpClientFactory clientFactory,
NavigationManager nav,
ISnackbar snackbar,
ICurrentUserService currentUserService,
TokenProvider tokenProvider)
: base(clientFactory, nav, snackbar, currentUserService, tokenProvider)
{
_client = new RestClient(nav.BaseUri);
}
public async Task<ApiResponse<List<GetPaymentReceiveReportListDto>>?> GetPaymentReceiveReportListAsync()
{
var request = new RestRequest("api/payment-receive-report", Method.Get);
return await ExecuteWithResponseAsync<List<GetPaymentReceiveReportListDto>>(_client, request);
}
}