diff --git a/src/clj/auto_ap/pdf/ledger.clj b/src/clj/auto_ap/pdf/ledger.clj index 763dc5d0..4543fe30 100644 --- a/src/clj/auto_ap/pdf/ledger.clj +++ b/src/clj/auto_ap/pdf/ledger.clj @@ -153,7 +153,7 @@ (:accounts p2)) ) (:periods args))) - pnl-data (l-reports/PNLData. args data (by :db/id clients)) + pnl-data (l-reports/->PNLData args data (by :db/id clients)) report (l-reports/summarize-pnl pnl-data) output-stream (ByteArrayOutputStream.)] (pdf/pdf