correzione codici chiusura
This commit is contained in:
parent
7ebf8f0169
commit
6f4aaa9a49
@ -4230,6 +4230,7 @@ namespace ApiPolo.Controllers
|
||||
{
|
||||
string ten = getClaimValueByToken(token, "tenant");
|
||||
string tenConf = getClaimValueByToken(token, "tenantConfigurazioni");
|
||||
|
||||
if (string.IsNullOrEmpty(ten))
|
||||
{
|
||||
ten = tenConf;
|
||||
@ -4237,18 +4238,15 @@ namespace ApiPolo.Controllers
|
||||
|
||||
_chiusure = _VT_chiu.Chiu;
|
||||
|
||||
//switch (ten)
|
||||
//{
|
||||
// case Clienti.VT:
|
||||
// _chiusure = _VT_chiu.Chiu;
|
||||
// ten = getClaimValueByToken(token, "tenant2");
|
||||
switch (ten)
|
||||
{
|
||||
case Clienti.VT:
|
||||
_chiusure = _VT_chiu.Chiu;
|
||||
ten = getClaimValueByToken(token, "tenant2");
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
// break;
|
||||
// default:
|
||||
// _chiusure = getChiusureByTenant(ten);
|
||||
// break;
|
||||
//}
|
||||
|
||||
var l = await _chiusure.Where(c => c.cccodazi.Equals(ten)).ToListAsync();
|
||||
//per DISCOVERY devo riempire anche gli abbinamenti con il tipo manutenzione
|
||||
//switch (ten)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user