This commit is contained in:
@@ -364,7 +364,7 @@ namespace AyaNovaQBI
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public async static Task<ApiResponse> PutAsync(string route, dynamic d)
|
||||
{
|
||||
Exception FirstException = null;
|
||||
@@ -387,7 +387,7 @@ namespace AyaNovaQBI
|
||||
throw new Exception($"API call failed after {MAX_TRIES.ToString()} attempts", FirstException);
|
||||
}
|
||||
|
||||
public async static Task<ApiResponse> PutAsync(string route, string s=null)
|
||||
public async static Task<ApiResponse> PutAsync(string route, string s = null)
|
||||
{
|
||||
Exception FirstException = null;
|
||||
|
||||
@@ -790,9 +790,9 @@ namespace AyaNovaQBI
|
||||
await IntegrationLog("ValidateSettings: there are no QBI settings made - prompting user for all preferences now");
|
||||
}
|
||||
|
||||
if(ForceReset)
|
||||
if (ForceReset)
|
||||
await IntegrationLog("ValidateSettings: forced reset of all QBI settings initiated");
|
||||
|
||||
|
||||
|
||||
#region confirm company file
|
||||
|
||||
@@ -828,7 +828,7 @@ namespace AyaNovaQBI
|
||||
goto PRESTATUSOK;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//We've arrived here because there is no valid setting for Pre workorder status
|
||||
//or it's the first time through and needs to be selected on way or another
|
||||
SetWOStatus s1 = new SetWOStatus();
|
||||
@@ -920,12 +920,8 @@ namespace AyaNovaQBI
|
||||
"This setting is mandatory / required.";
|
||||
s2.QBItems = QBItems;
|
||||
s2.SelectedQBItem = QDat.OutsideServiceChargeAs;
|
||||
//s2.SelectedQBItem=QDat.PreWOStatus;
|
||||
if (s2.ShowDialog() == DialogResult.Cancel)
|
||||
{
|
||||
return pfstat.Cancel;
|
||||
|
||||
}
|
||||
else
|
||||
QDat.OutsideServiceChargeAs = s2.SelectedQBItem;
|
||||
s2.Dispose();
|
||||
|
||||
Reference in New Issue
Block a user