adding invoices works correctly again.
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
(:require [clojure.spec.alpha :as s]
|
||||
[auto-ap.entities.shared :as shared]))
|
||||
|
||||
(s/def ::vendor-id int?)
|
||||
(s/def ::vendor-id string?)
|
||||
(s/def ::vendor-name string?)
|
||||
(s/def ::company-id int?)
|
||||
(s/def ::client-id string?)
|
||||
(s/def ::invoice-number ::shared/required-identifier)
|
||||
(s/def ::date ::shared/date)
|
||||
(s/def ::total ::shared/money)
|
||||
|
||||
(s/def ::invoice (s/keys :req-un [::company-id
|
||||
(s/def ::invoice (s/keys :req-un [::client-id
|
||||
::invoice-number
|
||||
::date
|
||||
::vendor-id
|
||||
|
||||
Reference in New Issue
Block a user