fix in quotation oltre che in simulazione x visibilità btn revisione
This commit is contained in:
@@ -387,8 +387,23 @@ namespace C2P.WebUserControls
|
||||
divStato1.Visible = false;
|
||||
divStato2.Visible = false;
|
||||
// 2015.02.26 SOLO SE è in result = TBD
|
||||
bool condTbd = false;
|
||||
try
|
||||
{
|
||||
condTbd = OfferResult == "TBD"; // hard coded !!!
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
// 2015.05.26 SOLO SE è l'ULTIMA revisione...
|
||||
bool condIsLast = false;
|
||||
try
|
||||
{
|
||||
condIsLast = DtProxy.man.taCLQ.GetData(QuoteType, Convert.ToInt64(CodQuote))[0].lastRev == Convert.ToInt32(QuoteRev);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
//divStato3.Visible = true;
|
||||
divStato3.Visible = OfferResult == "TBD"; // hard coded !!!
|
||||
divStato3.Visible = condTbd && condIsLast;
|
||||
btnGetPdf.Visible = true;
|
||||
break;
|
||||
default:
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user