Преглед на файлове

Merge remote-tracking branch 'origin/frank' into kenric

Kenric Nugteren преди 1 месец
родител
ревизия
5c38f30a7e
променени са 4 файла, в които са добавени 5 реда и са изтрити 5 реда
  1. 2 2
      prs.desktop/Panels/Invoices/ProgressClaim/ProgressClaimGrid.cs
  2. 1 1
      prs.desktop/prsdesktop.iss
  3. 1 1
      prs.licensing/PRSLicensing.iss
  4. 1 1
      prs.server/PRSServer.iss

+ 2 - 2
prs.desktop/Panels/Invoices/ProgressClaim/ProgressClaimGrid.cs

@@ -203,10 +203,10 @@ public class ProgressClaimGrid : DynamicItemsListGrid<ProgressClaim>
             newItem.JobScope.CopyFrom(scope);
             newItem.JobScope.CopyFrom(scope);
 
 
             var prev = Invoice.ID == Guid.Empty
             var prev = Invoice.ID == Guid.Empty
-                ? InvoiceLines
+                ? InvoiceLines.Where(x => x.Scope.ID == scope.ID)
                 : InvoiceLines.Where(x => x.Scope.ID == scope.ID && x.InvoiceLink.Date < Invoice.Date);
                 : InvoiceLines.Where(x => x.Scope.ID == scope.ID && x.InvoiceLink.Date < Invoice.Date);
                 
                 
-            var current = InvoiceLines.Where(x => x.InvoiceLink.ID == Invoice.ID && x.Scope.ID == scope.ID);
+            var current = InvoiceLines.Where(x => x.Scope.ID == scope.ID && x.InvoiceLink.ID == Invoice.ID);
             
             
             
             
             newItem.PreviouslyClaimed = prev.Sum(x=>x.ExTax);
             newItem.PreviouslyClaimed = prev.Sum(x=>x.ExTax);

+ 1 - 1
prs.desktop/prsdesktop.iss

@@ -8,7 +8,7 @@
 #define public Dependency_Path_NetCoreCheck "dependencies\"
 #define public Dependency_Path_NetCoreCheck "dependencies\"
 
 
 #define MyAppName "PRS Desktop"
 #define MyAppName "PRS Desktop"
-#define MyAppVersion "8.55.6"
+#define MyAppVersion "8.55.7"
 #define MyAppPublisher "PRS Digital"
 #define MyAppPublisher "PRS Digital"
 #define MyAppURL "https://www.prs-software.com.au"
 #define MyAppURL "https://www.prs-software.com.au"
 #define MyAppExeName "PRSDesktop.exe"
 #define MyAppExeName "PRSDesktop.exe"

+ 1 - 1
prs.licensing/PRSLicensing.iss

@@ -8,7 +8,7 @@
 #define public Dependency_Path_NetCoreCheck "dependencies\"
 #define public Dependency_Path_NetCoreCheck "dependencies\"
 
 
 #define MyAppName "PRS Licensing"
 #define MyAppName "PRS Licensing"
-#define MyAppVersion "8.55.6"
+#define MyAppVersion "8.55.7"
 #define MyAppPublisher "PRS Digital"
 #define MyAppPublisher "PRS Digital"
 #define MyAppURL "https://www.prs-software.com.au"
 #define MyAppURL "https://www.prs-software.com.au"
 #define MyAppExeName "PRSLicensing.exe"
 #define MyAppExeName "PRSLicensing.exe"

+ 1 - 1
prs.server/PRSServer.iss

@@ -8,7 +8,7 @@
 #define public Dependency_Path_NetCoreCheck "dependencies\"
 #define public Dependency_Path_NetCoreCheck "dependencies\"
 
 
 #define MyAppName "PRS Server"
 #define MyAppName "PRS Server"
-#define MyAppVersion "8.55.6"
+#define MyAppVersion "8.55.7"
 #define MyAppPublisher "PRS Digital"
 #define MyAppPublisher "PRS Digital"
 #define MyAppURL "https://www.prs-software.com.au"
 #define MyAppURL "https://www.prs-software.com.au"
 #define MyAppExeName "PRSServer.exe"
 #define MyAppExeName "PRSServer.exe"