Update ExchangeRateService e Inyecciones
Some checks failed
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Failing after 2m6s
Some checks failed
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Failing after 2m6s
This commit is contained in:
parent
e1bd50d4d6
commit
65fb465b63
@ -7,7 +7,7 @@
|
|||||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\maski\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\maski\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.13.1</NuGetToolVersion>
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.13.2</NuGetToolVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
<SourceRoot Include="C:\Users\maski\.nuget\packages\" />
|
<SourceRoot Include="C:\Users\maski\.nuget\packages\" />
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\maski\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\maski\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.13.1</NuGetToolVersion>
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.13.2</NuGetToolVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
<SourceRoot Include="C:\Users\maski\.nuget\packages\" />
|
<SourceRoot Include="C:\Users\maski\.nuget\packages\" />
|
||||||
|
|||||||
@ -29,8 +29,5 @@
|
|||||||
"ValidIssuer": "http://phroncare-bio-d7e9h0-api.saludlab.com.ar:9000",
|
"ValidIssuer": "http://phroncare-bio-d7e9h0-api.saludlab.com.ar:9000",
|
||||||
"ValidAudience": "http://phroncare-bio-d7e9h0-api.saludlab.com.ar:9000",
|
"ValidAudience": "http://phroncare-bio-d7e9h0-api.saludlab.com.ar:9000",
|
||||||
"Secret": "8f96cb2c6eac839349f783369690eb368411359afbaa8de6c6c2b30927d2f9fe6222fc6911348eb88c235cf393cb808ce80b5498de31e37090ba06482eca93ecbf31b8e1d97209d9ae4ba01d4e285af64bc9758b70decfb385bf96e74f2b6c61d00cc80b8fbfd999d5902e2ca58f2f7a3ee574280d776ba61a5b1cbd0180689577b02fc8ec26297a501c4409f8529b338814f629a2b8fcba21dc0e15f408969dbc4b7f14b43a19b46a41bc288ddf207c16d50b11e1039ffd131c312ddf10df6fd65d8bc3f898a14294cd32366269bee53f84e94f45de80e8b5ddaa1a3b4aa288a7cb35eacaf9c2005d65237210c14843af022177be2f6e93764c3b4030b59f24"
|
"Secret": "8f96cb2c6eac839349f783369690eb368411359afbaa8de6c6c2b30927d2f9fe6222fc6911348eb88c235cf393cb808ce80b5498de31e37090ba06482eca93ecbf31b8e1d97209d9ae4ba01d4e285af64bc9758b70decfb385bf96e74f2b6c61d00cc80b8fbfd999d5902e2ca58f2f7a3ee574280d776ba61a5b1cbd0180689577b02fc8ec26297a501c4409f8529b338814f629a2b8fcba21dc0e15f408969dbc4b7f14b43a19b46a41bc288ddf207c16d50b11e1039ffd131c312ddf10df6fd65d8bc3f898a14294cd32366269bee53f84e94f45de80e8b5ddaa1a3b4aa288a7cb35eacaf9c2005d65237210c14843af022177be2f6e93764c3b4030b59f24"
|
||||||
},
|
|
||||||
"EstadisticasBcra": {
|
|
||||||
"Token": "eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NzgxOTk2ODcsInR5cGUiOiJleHRlcm5hbCIsInVzZXIiOiJzaXN0ZW1hc0BiaW9kZWMubmV0In0.fIU3xrBWa6_erILDpG1VUTX105vSaDe-pAw3mQCR13zX487-4dQ-zUEXTnFIZbl6iUVs0CGH_w1fkeUsmEwEwQ"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -14,17 +14,6 @@
|
|||||||
@inject IModalService Modal
|
@inject IModalService Modal
|
||||||
@inject IExchangeRateDom ExchangeRateService
|
@inject IExchangeRateDom ExchangeRateService
|
||||||
|
|
||||||
@* @if (YesterdayRate == null)
|
|
||||||
{
|
|
||||||
<p>Cargando tipo de cambio…</p>
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
<div class="mb-3">
|
|
||||||
<strong>Tipo de Cambio (ayer @YesterdayRate.Ratedate: d):</strong>
|
|
||||||
@YesterdayRate.Salerate (@YesterdayRate.Source)
|
|
||||||
</div>
|
|
||||||
} *@
|
|
||||||
<EditForm Model="_quoteModel" >
|
<EditForm Model="_quoteModel" >
|
||||||
<div class="container mt-4" style="zoom:0.8;">
|
<div class="container mt-4" style="zoom:0.8;">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
|
|||||||
@ -11,7 +11,6 @@ using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
|
|||||||
using Blazored.Modal;
|
using Blazored.Modal;
|
||||||
using Blazored.Toast;
|
using Blazored.Toast;
|
||||||
using phronCare.UIBlazor.Services.Sales.Quotes;
|
using phronCare.UIBlazor.Services.Sales.Quotes;
|
||||||
using Core.Interfaces;
|
|
||||||
using phronCare.UIBlazor.Services.Integrations;
|
using phronCare.UIBlazor.Services.Integrations;
|
||||||
|
|
||||||
var builder = WebAssemblyHostBuilder.CreateDefault(args);
|
var builder = WebAssemblyHostBuilder.CreateDefault(args);
|
||||||
@ -56,7 +55,7 @@ static void InjectDependencies(WebAssemblyHostBuilder builder)
|
|||||||
{
|
{
|
||||||
builder.Services.AddScoped<ISalesLookupService, SalesLookupService>();
|
builder.Services.AddScoped<ISalesLookupService, SalesLookupService>();
|
||||||
builder.Services.AddScoped<IQuoteService,QuoteService>();
|
builder.Services.AddScoped<IQuoteService,QuoteService>();
|
||||||
builder.Services.AddScoped<IExchangeRateDom, ExchangeRateService>();
|
builder.Services.AddScoped<ExchangeRateService>();
|
||||||
|
|
||||||
builder.Services.AddScoped<TicketsService>();
|
builder.Services.AddScoped<TicketsService>();
|
||||||
builder.Services.AddScoped<CustomerService>();
|
builder.Services.AddScoped<CustomerService>();
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
using Core.Interfaces;
|
|
||||||
using Domain.Entities;
|
using Domain.Entities;
|
||||||
using System.Net.Http.Json;
|
using System.Net.Http.Json;
|
||||||
|
|
||||||
namespace phronCare.UIBlazor.Services.Integrations
|
namespace phronCare.UIBlazor.Services.Integrations
|
||||||
{
|
{
|
||||||
public class ExchangeRateService : IExchangeRateDom
|
public class ExchangeRateService
|
||||||
|
|
||||||
{
|
{
|
||||||
private readonly HttpClient _http;
|
private readonly HttpClient _http;
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
// <autogenerated />
|
|
||||||
using System;
|
|
||||||
using System.Reflection;
|
|
||||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user