invoice tweaks.
This commit is contained in:
@@ -48,6 +48,8 @@
|
||||
(catch Exception e
|
||||
(alog/warn ::cant-parse-value :error e :raw value))))))
|
||||
{:vendor-code (:vendor template)
|
||||
:template (str (:vendor template) " - selected because it matched "
|
||||
(pr-str (:keywords template)))
|
||||
:text text
|
||||
:full-text full-text}))])))
|
||||
|
||||
@@ -86,7 +88,8 @@
|
||||
:vendor-code (-> (vendors/best-match (get i "vendor_identifier") )
|
||||
(get "label"))
|
||||
:total (get i "total")
|
||||
:invoice-number (get i "invoice_number")})
|
||||
:invoice-number (get i "invoice_number")
|
||||
:template "None found - defaulting to ChatGPT"})
|
||||
)
|
||||
(catch Exception e
|
||||
(alog/warn ::glimpse2-not-work :error e)
|
||||
|
||||
Reference in New Issue
Block a user