This commit is contained in:
@@ -3252,7 +3252,6 @@ namespace AyaNovaQBI
|
||||
|
||||
#endregion quickbooks Terms
|
||||
|
||||
|
||||
#region Change QB Item price
|
||||
|
||||
public static async Task ChangeQBItemPrice(string QBListID, decimal NewPrice)
|
||||
@@ -3628,7 +3627,6 @@ namespace AyaNovaQBI
|
||||
|
||||
#endregion exception helper
|
||||
|
||||
|
||||
#region Import / refresh to AyaNova
|
||||
|
||||
public static async Task RefreshAyaNovaCustomerFromQBAsync(IntegrationItem im)
|
||||
@@ -5657,5 +5655,33 @@ namespace AyaNovaQBI
|
||||
#endregion export to quickbooks
|
||||
|
||||
#endregion qbi stuff (anything not api)
|
||||
|
||||
#region general utils
|
||||
static public void OpenWebURL(object oUrl)
|
||||
{
|
||||
|
||||
if (oUrl == null) return;
|
||||
string sUrl = oUrl.ToString();
|
||||
if (sUrl == "") return;
|
||||
|
||||
|
||||
if (sUrl.ToLower().StartsWith("http"))
|
||||
System.Diagnostics.Process.Start(sUrl);
|
||||
else
|
||||
System.Diagnostics.Process.Start("https://" + sUrl);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Return a semantic versioning display of assembly version information
|
||||
/// </summary>
|
||||
/// <param name="fileVersion"></param>
|
||||
/// <returns></returns>
|
||||
public static string DisplayVersion(Version fileVersion)//case 2003
|
||||
{
|
||||
return fileVersion.Major.ToString() + "." + fileVersion.Minor.ToString();
|
||||
}
|
||||
|
||||
#endregion general utils
|
||||
|
||||
}//EOC
|
||||
}//EONS
|
||||
|
||||
Reference in New Issue
Block a user