import batch next
This commit is contained in:
@@ -57,7 +57,6 @@
|
||||
|
||||
(def is-year-month-day #"^\d{4}-\d{2}-\d{2}$")
|
||||
|
||||
|
||||
(defn dates->date-times [x]
|
||||
(walk/postwalk
|
||||
(fn [node]
|
||||
@@ -65,7 +64,7 @@
|
||||
|
||||
(and (string? node)
|
||||
(re-matches is-8601 node))
|
||||
(format/parse (format/formatters :date-time) node)
|
||||
(time/to-default-time-zone (format/parse (format/formatters :date-time) node))
|
||||
|
||||
(and (string? node)
|
||||
(re-matches is-year-month-day node))
|
||||
|
||||
@@ -60,7 +60,12 @@
|
||||
[:a {:href (bidi/path-for routes/routes :admin-yodlee2), :class (str "item" (active-when ap = :admin-yodlee2))}
|
||||
[:span {:class "icon icon-saving-bank-1" :style {:font-size "25px"}}]
|
||||
[:span {:class "name"} "Yodlee 2 Link"]]]
|
||||
|
||||
|
||||
[:li.menu-item
|
||||
[:a {:href (bidi/path-for routes/routes :admin-plaid), :class (str "item" (active-when ap = :admin-plaid))}
|
||||
[:span {:class "icon icon-saving-bank-1" :style {:font-size "25px"}}]
|
||||
[:span {:class "name"} "Plaid Link"]]]
|
||||
|
||||
[:ul ]]
|
||||
[:p.menu-label "History"]
|
||||
[:ul.menu-list
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
(ns auto-ap.views.pages.admin.import-batches.table
|
||||
(:require
|
||||
[auto-ap.status :as status]
|
||||
[auto-ap.subs :as subs]
|
||||
[auto-ap.views.components.buttons :as buttons]
|
||||
[auto-ap.views.components.grid :as grid]
|
||||
[auto-ap.views.pages.data-page :as data-page]
|
||||
[auto-ap.views.utils :refer [date->str dispatch-event action-cell-width]]
|
||||
[re-frame.core :as re-frame]
|
||||
[reagent.core :as r]
|
||||
[bidi.bidi :as bidi]
|
||||
[auto-ap.routes :as routes]
|
||||
[cemerick.url :as url]))
|
||||
(:require [auto-ap.routes :as routes]
|
||||
[auto-ap.status :as status]
|
||||
[auto-ap.subs :as subs]
|
||||
[auto-ap.views.components.buttons :as buttons]
|
||||
[auto-ap.views.components.grid :as grid]
|
||||
[auto-ap.views.pages.data-page :as data-page]
|
||||
[auto-ap.views.utils
|
||||
:refer
|
||||
[action-cell-width date->str dispatch-event pretty-long]]
|
||||
[bidi.bidi :as bidi]
|
||||
[cemerick.url :as url]
|
||||
[re-frame.core :as re-frame]
|
||||
[reagent.core :as r]))
|
||||
|
||||
(re-frame/reg-sub
|
||||
::specific-table-params
|
||||
@@ -67,7 +68,7 @@
|
||||
(for [{:keys [date source status user-name id imported extant suppressed] :as r} (:data data)]
|
||||
^{:key id}
|
||||
[grid/row {:class (:class r) :id id}
|
||||
[grid/cell {} (date->str date)]
|
||||
[grid/cell {} (date->str date pretty-long)]
|
||||
[grid/cell {} source]
|
||||
[grid/cell {} status]
|
||||
[grid/cell {} user-name]
|
||||
|
||||
Reference in New Issue
Block a user