Added clearing on salary to list of payouts

This commit is contained in:
Rick Falkvinge
2014-01-20 17:37:11 +00:00
parent 12c422ceb2
commit 47944b7d41
+1 -1
View File
@@ -266,7 +266,7 @@ namespace Swarmops.Logic.Financial
Person employee = payrollItem.Person;
BasicPayout basicPayout = new BasicPayout(0, organizationId, employee.BankName,
employee.BankAccount, "[Loc]Financial_SalarySpecification|[Date]" + salary.PayoutDate.ToString(CultureInfo.InvariantCulture),
employee.BankClearing+" / "+employee.BankAccount, "[Loc]Financial_SalarySpecification|[Date]" + salary.PayoutDate.ToString(CultureInfo.InvariantCulture),
salary.NetSalaryCents, salary.PayoutDate, false, DateTime.Now, 0);
Payout payout = Payout.FromBasic(basicPayout);