Browse Source

Added Database Profile to Login Screen
Corrected error when editing Consignments
Corrected Typo in Database Update Script

Frank van den Bos 2 years ago
parent
commit
d3bb254ac0

+ 1 - 2
prs.classes/Entities/Consignment/Consignment.cs

@@ -114,8 +114,7 @@ namespace Comal.Classes
         [TextBoxEditor]
         [EditorSequence(14)]
         public string Status { get; set; }
-
-        [PDFDocumentEditor]
+        
         [EditorSequence(14)]
         public PDFDocumentLink BillOfLading { get; set; }
 

+ 1 - 1
prs.desktop/Forms/PinLogin.xaml.cs

@@ -44,7 +44,7 @@ public partial class PinLogin : ThemableWindow
     {
         InitializeComponent();
 
-        Title = "PRS Desktop (version " + version + ")";
+        Title = $"{(String.Equals(App.Profile?.ToUpper(), "DEFAULT") ? "PRS Desktop" : App.Profile)} (Release {CoreUtils.GetVersion()})";
 
         foreach (var codeInput in CodeInput.Children)
         {

+ 1 - 1
prs.shared/DatabaseUpdateScripts.cs

@@ -247,7 +247,7 @@ namespace PRS.Shared
                 if (updates.Count > 0)
                 {
                     iCount += updates.Count;
-                    Logger.Send(LogType.Information, "", $"Converting {typeof(T).EntityName().Split('.').Last()} Times ({iCount}/{table.Rows.Count}");
+                    Logger.Send(LogType.Information, "", $"Converting {typeof(T).EntityName().Split('.').Last()} Times ({iCount}/{table.Rows.Count})");
                     DbFactory.Provider.Save(updates);
                     updates.Clear();
                 }