(ns auto-ap.routes.transactions)

(def routes {""                            {:get ::page}
             "/new" {:get ::new
                     :post ::new-submit
                     "/location-select" ::location-select
                     "/account-typeahead" ::account-typeahead
                     "/line-item" {:get ::new-line-item}}

             "/external-new" ::external-page
             "/external-import-new" {"" ::external-import-page
                                     "/parse" ::external-import-parse
                                     "/import" ::external-import-import}
             
             "/table"                      ::table 
             "/csv"                      ::csv 
             "/bank-account-filter" ::bank-account-filter })