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