Adds bottom paginator, fixes ledger issue triggered by cash payment, defaults coding to 100 percent
This commit is contained in:
@@ -49,18 +49,18 @@
|
||||
:column-count 3}
|
||||
[grid/controls data]
|
||||
[grid/table {:fullwidth true :class ["wrappable"]}
|
||||
[grid/header
|
||||
[grid/header
|
||||
[grid/row {}
|
||||
[grid/sortable-header-cell {:sort-key "name" :sort-name "Name"} "Name"]
|
||||
[grid/sortable-header-cell {:sort-key "creator" :sort-name "Created by"} "Created by"]
|
||||
[grid/sortable-header-cell {:sort-key "created" :sort-name "Created" :style {:width "8em"}} "Created"]
|
||||
[grid/header-cell {:style {:width (action-cell-width (if
|
||||
is-admin?
|
||||
[grid/header-cell {:style {:width (action-cell-width (if
|
||||
is-admin?
|
||||
2
|
||||
1))}}]
|
||||
]]
|
||||
1))}}]]]
|
||||
[grid/body
|
||||
(for [i (:data data)]
|
||||
^{:key (:id i)}
|
||||
[row {:row i :is-admin? is-admin? :data-page data-page}])]]]]))
|
||||
[row {:row i :is-admin? is-admin? :data-page data-page}])]]
|
||||
[grid/bottom-paginator data]]]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user