updates
This commit is contained in:
@@ -122,7 +122,7 @@
|
|||||||
client-count (count (set (map :client-id (:data data))))
|
client-count (count (set (map :client-id (:data data))))
|
||||||
table-contents (concat-tables (:details report))]
|
table-contents (concat-tables (:details report))]
|
||||||
(list
|
(list
|
||||||
[:div.text-2xl.font-bold.text-gray-600 (str "Cash flows - " (str/join ", " (map :client/name client)))]
|
[:div.text-2xl.font-bold.text-gray-600 (str "Profit and loss - " (str/join ", " (map :client/name client)))]
|
||||||
(table {:widths (into [20] (take (dec (cell-count table-contents))
|
(table {:widths (into [20] (take (dec (cell-count table-contents))
|
||||||
(mapcat identity
|
(mapcat identity
|
||||||
(repeat
|
(repeat
|
||||||
@@ -240,7 +240,7 @@
|
|||||||
(apply com/breadcrumbs {} [[:a {:href (bidi/path-for ssr-routes/only-routes ::route/page)}
|
(apply com/breadcrumbs {} [[:a {:href (bidi/path-for ssr-routes/only-routes ::route/page)}
|
||||||
"Ledger"]])
|
"Ledger"]])
|
||||||
(form* request))
|
(form* request))
|
||||||
"Cash Flows"))
|
"Profit and loss"))
|
||||||
|
|
||||||
(defn make-profit-and-loss-pdf [request report]
|
(defn make-profit-and-loss-pdf [request report]
|
||||||
(let [ output-stream (ByteArrayOutputStream.)
|
(let [ output-stream (ByteArrayOutputStream.)
|
||||||
|
|||||||
Reference in New Issue
Block a user