Makes imports more resilient
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
(ns auto-ap.jobs.ntg
|
||||
(:require
|
||||
[amazonica.aws.s3 :as s3]
|
||||
[auto-ap.datomic :refer [audit-transact conn]]
|
||||
[auto-ap.datomic :refer [audit-transact conn random-tempid]]
|
||||
[auto-ap.jobs.core :refer [execute]]
|
||||
[auto-ap.logging :as log]
|
||||
[auto-ap.parse :as parse]
|
||||
@@ -81,7 +81,8 @@
|
||||
(log/warn ::missing-client
|
||||
:client-hint location-hint)
|
||||
(swap! missing-client-hints conj location-hint))
|
||||
{:invoice/location location
|
||||
{:db/id (random-tempid)
|
||||
:invoice/location location
|
||||
:invoice/date (coerce/to-date (atime/parse ship-date atime/normal-date))
|
||||
:invoice/invoice-number invoice-number
|
||||
:invoice/total (Double/parseDouble invoice-total)
|
||||
|
||||
Reference in New Issue
Block a user