This commit is contained in:
Frede Hundewadt 2022-06-23 14:19:24 +02:00
parent 16b934e3f4
commit 1225760d7f
4 changed files with 5 additions and 6 deletions

View file

@ -28,8 +28,6 @@
<div class="card-header">
<h3>@_company.Account - @_company.Name</h3>
</div>
@if (countryCode == "dk" && _company.ValidVat == 0)
{
<div class="card-body">
<VatAddressInputComponent Address="vatAddress" OnValidSubmit="GetInfoFromAddress"/>
</div>
@ -63,7 +61,7 @@
</tbody>
</table>
}
}
<EditForm EditContext="_editContext" OnValidSubmit="SubmitUpdate">
<DataAnnotationsValidator/>
<div class="card-body">

View file

@ -29,7 +29,7 @@
<ItemSearchComponent OnChanged="SetSearchCol"/>
</div>
<div class="col">
<SearchPhraseCompanonent OnChanged="SetSearchPhrase"/>
<SearchPhraseComponent OnChanged="SetSearchPhrase"/>
</div>
<div class="col">
<ItemSortComponent OnChanged="SetSortCol"/>

View file

@ -52,6 +52,7 @@ builder.Services.AddScoped<ICompanyHttpRepository, CompanyHttpRepository>();
builder.Services.AddScoped<ISalesItemHttpRepository, SalesItemHttpRepository>();
builder.Services.AddScoped<IActivityHttpRepository, ActivityHttpRepository>();
builder.Services.AddScoped<IReportHttpRepository, ReportHttpRepository>();
builder.Services.AddScoped<ITaskItemHttpRepository, TaskItemHttpRepository>();
builder.Services.AddScoped<HttpInterceptorService>();
builder.Services.AddBlazoredLocalStorage();

View file

@ -18,12 +18,12 @@
},
"appInfo": {
"name": "Wonky Client",
"version": "0.8.20",
"version": "0.8.21",
"isBeta": true,
"image": "grumpy-coder.png"
},
"apiConfig": {
"baseAddress": "https://dev.innotec.dk",
"baseAddress": "https://staging.innotec.dk",
"tokenPath": "token",
"userInfo": "api/auth/userinfo",
"companyEndpoint": "api/v2/crm/companies",