From 504d85672ad3845588ec7e387729cc289f9c79d0 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Wed, 22 Oct 2014 12:39:12 +0200 Subject: [PATCH] Fixed obscure bug with salary deficit rollover that has never happened --- Logic/Financial/Salary.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Logic/Financial/Salary.cs b/Logic/Financial/Salary.cs index 6c1dec39..25a70aea 100644 --- a/Logic/Financial/Salary.cs +++ b/Logic/Financial/Salary.cs @@ -94,7 +94,7 @@ namespace Swarmops.Logic.Financial rollover1.Close(salary); PayrollAdjustment rollover2 = PayrollAdjustment.Create(payrollItem, PayrollAdjustmentType.NetAdjustment, - -payCents, "Deficit rolled over from " + + payCents, "Deficit rolled over from " + payoutDate.ToString("yyyy-MM-dd")); // keep rollover2 open, so the deficit from this salary is carried to the next