Simple excel invoice fix

This commit is contained in:
2021-11-22 21:31:42 -08:00
parent a857b45024
commit 42bd65357f

View File

@@ -182,10 +182,9 @@
:status :payment-status/cleared :status :payment-status/cleared
:date (:invoice/date invoice)})} :date (:invoice/date invoice)})}
)] )]
[[:propose-invoice invoice] payment]))) [[:propose-invoice (remove-nils invoice)]
(filter identity) (some-> payment remove-nils)])))
(map remove-nils) (filter identity)))
))
(defn match-vendor [vendor-code forced-vendor] (defn match-vendor [vendor-code forced-vendor]