profit and loss now works.

This commit is contained in:
2024-10-26 19:11:08 -07:00
parent eb62dd3564
commit f859655aad
5 changed files with 365 additions and 8 deletions

View File

@@ -176,7 +176,6 @@
:x-model "v.end"}]))]]
(com/a-button {"x-tooltip.on.click.theme.dropdown.placement.bottom.interactive" "{content: ()=> $refs.tooltip.innerHTML, allowHTML: true, appendTo: $root}"
:indicator? false}
[:template {:x-if "periods.length == 0"}
[:span.text-left.text-gray-400 "None selected"]]
[:template { :x-if "periods.length < 3 && periods.length > 0"}
@@ -228,9 +227,7 @@
"Cash Flows"))
(defn make-cash-flows-pdf [request report]
(let [ output-stream (ByteArrayOutputStream.)
date (:periods (:form-params request))]
(pdf/pdf
(-> [{:left-margin 10 :right-margin 10 :top-margin 15 :bottom-margin 15