meta_payroll_type — CA:PTO — distinguish between Earned and Taken

Metadata `payroll-type` will go on `Liabilities:Payable:Vacation` and
`Expenses:Payroll:Salary`, but we need to distinguish as to whether
the Payroll was earned or taken.

Implement the `CA:` version of the `US:` ones already done.
This commit is contained in:
Bradley M. Kuhn 2021-12-13 20:00:14 -08:00
parent 83e6e80bb8
commit c3511bad11

View file

@ -67,7 +67,8 @@ class SalaryHook(_PayrollTypeHook):
]
VALUES_ENUM = core.MetadataEnum(METADATA_KEY, [
'CA:General',
'CA:PTO',
'CA:PTO:Earned',
'CA:PTO:Taken',
'US:403b:Employee',
'US:403b:Match',
'US:General',