~luciano/reconciler

723bab0697080aa4eb6abe0164b085000acbfe26 — Luciano Laratelli 1 year, 11 months ago 2a2770a main
fix #3

stupid mistake, was dropping all of the first couple quantities.
1 files changed, 1 insertions(+), 1 deletions(-)

M src/reconciler/merge.cljs
M src/reconciler/merge.cljs => src/reconciler/merge.cljs +1 -1
@@ 85,5 85,5 @@
               (concat merged-ynab (fill-vec max ynab-txs-matching-amount))))
     (let [kinda-merged (map #(vector %1 %2) merged-amex merged-ynab)
           header [["OTHER" "" "" "" "YNAB" "" ""] ["" "" "" "" "" "" ""] ["date" "payee" "cost" "" "date" "payee" "cost"]]
           body (map #(concat (vals (first %)) " " (vals (second %))) (drop 3 kinda-merged))]
           body (map #(concat (vals (first %)) " " (vals (second %))) kinda-merged)]
       (concat header body)))))