(ns auto-ap.views.pages.transactions.common)

(def transaction-read
  [:id
   :amount
   :location
   :approval-status
   [:matched-rule [:note :id]]
   [:vendor [:name :id]]
   [:accounts [:id :amount :location [:account [:name :id :location :numeric-code]]]]
   :date
   [:yodlee_merchant [:name :yodlee-id :id]]
   :post_date
   [:expected-deposit [:id :date]]
   [:forecast-match [:id :identifier]]
   :status
   :description_original
   [:payment [:check_number :s3_url :id :date]]
   [:client [:name :id]]
   [:bank-account [:name :yodlee-account-id :current-balance]]])
