Fix entitity name
This commit is contained in:
parent
90adaf3de0
commit
72f2c60ca0
1 changed files with 2 additions and 2 deletions
|
@ -224,7 +224,7 @@
|
|||
(let [ungrouped (apply concat (vals groups)) ; Grouping by employee not useful here
|
||||
liability-lines (filter #(and (= (:type %) "Liability")
|
||||
(not (str/includes? (:category %) "Unemploy"))) ungrouped)
|
||||
liability-postings (for [{:keys [name category amount]} liability-lines]
|
||||
liability-postings (for [{:keys [amount name category]} liability-lines]
|
||||
{:account "Expenses:Payroll:Tax"
|
||||
:amount amount
|
||||
:currency "USD"
|
||||
|
@ -236,7 +236,7 @@
|
|||
total-liabilities (->> liability-postings (map :amount) (reduce +))
|
||||
unemploy-lines (filter #(and (= (:type %) "Liability")
|
||||
(str/includes? (:category %) "Unemploy")) ungrouped)
|
||||
unemploy-postings (for [{:keys [amount category]} unemploy-lines]
|
||||
unemploy-postings (for [{:keys [amount name category]} unemploy-lines]
|
||||
{:account "Expenses:Payroll:Tax"
|
||||
:amount amount
|
||||
:currency "USD"
|
||||
|
|
Loading…
Reference in a new issue