                                  label-changer submission-view]]
             [hatti.views.record]
             [hatti.shared :as shared]
-            [hatti.utils :refer [click-fn generate-html hyphen->camel-case]]
+            [hatti.utils :refer [click-fn
+                                 generate-html
+                                 hyphen->camel-case
+                                 review-status-map
+                                 get-submission-review-text
+                                 pending-status]]
             [chimera.core :refer [any?]]
             [cljsjs.slickgrid-with-deps]))
 

    (clj->js (cond-> columns
               (not hide-actions-column?)
               (conj (actions-column owner has-hxl?))
               true  mock-onadata-tasking-fields))))

(defn init-sg-pager [grid dataview]
  (let [Pager (.. js/Slick -Controls -Pager)]

                                          default-num-displayed-records)
                            :totalPages total-page-count})
    (.setFilter dataview (partial filterfn form))
    (.setItems dataview
               (clj->js (replace-review-num-status-with-text-status data))
               _id)
    (resizeColumns grid)
    [grid dataview]))

