Small convenience addition to PayrollItem

This commit is contained in:
Rick Falkvinge
2015-08-27 15:13:18 +02:00
parent dac612fdcb
commit bef1099687
+7
View File
@@ -43,6 +43,13 @@ namespace Swarmops.Logic.Financial
return FromIdentityAggressive (payrollItemId);
}
public void CreateAdjustment (PayrollAdjustmentType type, double amount, string description)
{
PayrollAdjustment.Create (this, type, amount, description);
}
private new int PersonId
{
get { return base.PersonId; // hides base's personId