Merge branch 'release/FixEditTrattativaCLiente'

This commit is contained in:
Samuele Locatelli
2021-12-10 10:42:32 +01:00
2 changed files with 7 additions and 24 deletions
@@ -32,8 +32,8 @@
</InputSelect>
</div>
<div class="col-6 col-lg-2">
<label for="anno">Anno:</label>
<InputNumber id="anno" @bind-Value="_negotiation.Anno" class="form-control form-control-sm" />
<label for="anno">Anno:</label>
<InputNumber id="anno" @bind-Value="_negotiation.Anno" class="form-control form-control-sm" />
</div>
<div class="col-6 col-lg-2">
<label for="dataIns">Inserita:</label>
@@ -79,33 +79,16 @@
{
get
{
int answ = 0;
if (_selCustId != 0)
int answ = 1;
if (_negotiation != null)
{
answ = _selCustId;
}
else
{
try
{
if (_negotiation != null)
{
answ = (int)_negotiation.CustomerId;
}
}
catch
{
answ = 1;
}
answ = _negotiation.CustomerId;
}
return answ;
}
set
{
_selCustId = value;
// condiziono visualizzazione...
var pUpd = Task.Run(async () => await ReloadAllData());
pUpd.Wait();
_negotiation.CustomerId = value;
}
}
+1 -1
View File
@@ -4,7 +4,7 @@
<TargetFramework>net5.0</TargetFramework>
<UserSecretsId>60fcdaab-6c1e-4bec-9d88-f7727ef1c12c</UserSecretsId>
<ApplicationIcon>wwwroot\favicon.ico</ApplicationIcon>
<Version>1.0.2112.1008</Version>
<Version>1.0.2112.1010</Version>
</PropertyGroup>
<ItemGroup>