adding new invoices has validation.

This commit is contained in:
Bryce Covert
2018-05-23 12:16:18 -07:00
parent 0611c169c7
commit a0007c2bbc
4 changed files with 15 additions and 6 deletions

View File

@@ -8,7 +8,7 @@
(s/def ::date ::shared/date)
(s/def ::total ::shared/money)
(s/def ::invoice (s/keys :opt-un [::vendor-id
(s/def ::invoice (s/keys :req-un [::vendor-id
::company-id
::invoice-number
::date