supports location matches, adds invoice types

This commit is contained in:
Bryce Covert
2019-10-10 20:09:47 -07:00
parent 1e37a71a4c
commit 8df6fb0279
8 changed files with 78 additions and 9 deletions

View File

@@ -38,12 +38,17 @@
:serialize (schema/as-conformer #(or (:ident %) (:db/ident %) %))}}
:objects
{
:location_match
{:fields {:location {:type 'String}
:match {:type 'String}}}
:client
{:fields {:id {:type :id}
:name {:type 'String}
:code {:type 'String}
:email {:type 'String}
:address {:type :address}
:location_matches {:type '(list :location_match)}
:locations {:type '(list String)}
:bank_accounts {:type '(list :bank_account)}}}
:contact
@@ -284,6 +289,8 @@
{
:invoice_payment_amount {:fields {:invoice_id {:type :id}
:amount {:type 'Float}}}
:edit_location_match {:fields {:location {:type 'String}
:match {:type 'String}}}
:edit_client {:fields {:id {:type :id}
:name {:type 'String}
@@ -291,6 +298,7 @@
:email {:type 'String}
:address {:type :add_address}
:locations {:type '(list String)}
:location_matches {:type '(list :edit_location_match)}
:bank_accounts {:type '(list :edit_bank_account)}}}
:edit_bank_account
{:fields {:id {:type :id }