Revert "one more test."

This reverts commit 0c20fc4e55.
This commit is contained in:
Bryce Covert
2022-10-25 07:45:29 -07:00
parent 6f27d0fd29
commit 0ca13d8ebd
2 changed files with 8 additions and 9 deletions

View File

@@ -127,7 +127,7 @@
(fn [[so-far a] next] (fn [[so-far a] next]
(let [new-a (+ a (or (:colspan next) (let [new-a (+ a (or (:colspan next)
1))] 1))]
(if (<= new-a n) (if (> new-a n)
[(conj so-far next) new-a] [(conj so-far next) new-a]
[so-far new-a]))) [so-far new-a])))

View File

@@ -584,14 +584,13 @@
{:value (get je :running-balance) {:value (get je :running-balance)
:format :dollar}]) :format :dollar}])
(:journal-entries category)) (:journal-entries category))
[[{:value (str "Total " (client-codes (:client-id category)) " - " (:location category) " - " (:name (:account category)) ) [[[{:value (str "Total " (client-codes (:client-id category)) " - " (:location category) " - " (:name (:account category)) )
:colspan 2 :colspan 2
:bold true} :bold true}
{:value ""} {:value ""}
{:value ""} {:value ""}
{:value ""} {:value (:total category)
{:value (:total category) :format :dollar}]]]))
:format :dollar}]]))
) )
[] []