61 lines
2.4 KiB
C#
61 lines
2.4 KiB
C#
using Sarand.Net.Standard.Base.App;
|
|
using Sarand.Net.Standard.Base.Utils;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Sarand.BusinessMgr.Net.Standard.Base.App
|
|
{
|
|
//=======================================================================
|
|
static partial class Sbm
|
|
{
|
|
//-------------------------------------------------------------------
|
|
// Application version.
|
|
//-------------------------------------------------------------------
|
|
public static class Version
|
|
{
|
|
private static String version { get; } = "3.0.1.7";
|
|
// Retrieve version.
|
|
public static String GetFullVersion() { return version; }
|
|
public static String GetAppVersion()
|
|
{
|
|
if (!SbmSystem.DebugMode)
|
|
{
|
|
try
|
|
{
|
|
// Live instance version is only first 3 elements.
|
|
String[] versionElements = version.Split('.');
|
|
return String.Join(".", versionElements.Take(3));
|
|
}
|
|
catch (Exception exc) { SaLogger.Warn($"Sbm.Version.ToString {ExceptionUtil.GetErrorStateMessage(exc)}"); }
|
|
}
|
|
return version;
|
|
}
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
// Version history.
|
|
//-------------------------------------------------------------------
|
|
// 3.0.1 19-Feb-25 Portal Transactions.
|
|
// 3.0.1.1 19-Feb-25 Portal tidy.
|
|
// 3.0.1.2 26-Feb-25 Requirements & tidy.
|
|
// 3.0.1.3 02-Mar-25 Requirements.
|
|
// 3.0.1.4 02-Mar-25 Fix pre-login crash on GetCurrencyDecimals().
|
|
// 3.0.1.5 03-Mar-25 Refresh Transaction. Assets tidy.
|
|
// 3.0.1.6 05-May-25 Addresses.
|
|
//-------------------------------------------------------------------
|
|
// 3.0.0 Jul-2021 Initial demo test version.
|
|
// 02-Feb-25 Initial live deployment.
|
|
// 3.0.0.1 08-Feb-25 Demo repository registration.
|
|
// 3.0.0.2 08-Feb-25 Production SMTP config.
|
|
// 3.0.0.3 10-Feb-25 Osie feedback #1. Control Repository Schema, Logs.
|
|
// 3.0.0.4 11-Feb-25 Portal Commodity Sales properties. Control Index population.
|
|
// 3.0.0.5 12-Feb-25 Portal Security forms tidy. Default Commodity type. Code Types and Codes.
|
|
// 3.0.0.6 13-Feb-25 Main page layouts. Demo Account registration.
|
|
// 3.0.0.7 17-Feb-25 Demo Transaction population.
|
|
//-------------------------------------------------------------------
|
|
}
|
|
//=======================================================================
|
|
}
|