ADD exports for allocation types

This commit is contained in:
Nathan Dwarshuis 2023-01-29 18:04:24 -05:00
parent c791c5a692
commit acbf193bdc
1 changed files with 9 additions and 2 deletions

View File

@ -190,14 +190,18 @@ let Allocation =
, alloCurrency : CurID , alloCurrency : CurID
} }
let PreAllocation = Allocation Decimal
let PostAllocation = Allocation (Optional Decimal)
let Income = let Income =
{ incGross : Decimal { incGross : Decimal
, incCurrency : CurID , incCurrency : CurID
, incWhen : DatePat , incWhen : DatePat
, incAccount : AcntID , incAccount : AcntID
, incPretax : List (Allocation Decimal) , incPretax : List PreAllocation
, incTaxes : List Tax , incTaxes : List Tax
, incPosttax : List (Allocation (Optional Decimal)) , incPosttax : List PostAllocation
} }
let Expense = let Expense =
@ -250,4 +254,7 @@ in { CurID
, Bucket , Bucket
, Budget , Budget
, Tax , Tax
, Allocation
, PreAllocation
, PostAllocation
} }