launch.
This commit is contained in:
@@ -573,7 +573,8 @@
|
||||
{:value ""}
|
||||
{:value ""}
|
||||
{:value (:total category)
|
||||
:format :dollar}]])
|
||||
:format :dollar
|
||||
:bold true}]])
|
||||
(map
|
||||
(fn [je]
|
||||
[{:value (user-friendly-date (:date je))}
|
||||
@@ -586,13 +587,18 @@
|
||||
:format :dollar}])
|
||||
(:journal-entries category))
|
||||
[[{:value (str "Total" )
|
||||
:bold true}
|
||||
:bold true
|
||||
:border [:bottom]}
|
||||
{:value (str (client-codes (:client-id category)) " - " (:location category) " - " (:name (:account category)))
|
||||
:bold true}
|
||||
{:value ""}
|
||||
:bold true
|
||||
:border [:bottom]}
|
||||
{:value ""}
|
||||
{:value ""
|
||||
:border [:bottom]}
|
||||
{:value (:total category)
|
||||
:format :dollar}]]))
|
||||
:format :dollar
|
||||
:bold true
|
||||
:border [:bottom]}]]))
|
||||
|
||||
)
|
||||
[]
|
||||
|
||||
@@ -30,13 +30,12 @@
|
||||
|
||||
[:span {:class "icon icon-performance-increase-1" :style {:font-size "25px"}}]
|
||||
[:span {:class "name"} "Profit & Loss"]]]
|
||||
(when (= "admin" (:user/role user))
|
||||
[:li.menu-item
|
||||
[:a.item {:href (bidi/path-for routes/routes :profit-and-loss-detail)
|
||||
:class [(active-when ap = :profit-and-loss-detail)]}
|
||||
[:li.menu-item
|
||||
[:a.item {:href (bidi/path-for routes/routes :profit-and-loss-detail)
|
||||
:class [(active-when ap = :profit-and-loss-detail)]}
|
||||
|
||||
[:span {:class "icon icon-performance-increase-1" :style {:font-size "25px"}}]
|
||||
[:span {:class "name"} "Profit & Loss Detail"]]])
|
||||
[:span {:class "icon icon-performance-increase-1" :style {:font-size "25px"}}]
|
||||
[:span {:class "name"} "Profit & Loss Detail"]]]
|
||||
[:li.menu-item
|
||||
[:a.item {:href (bidi/path-for routes/routes :balance-sheet)
|
||||
:class [(active-when ap = :balance-sheet)]}
|
||||
|
||||
Reference in New Issue
Block a user