adds check number to transaction form.

This commit is contained in:
Bryce
2023-07-31 17:39:27 -07:00
parent 205c132b7c
commit 013c6155b6
3 changed files with 7 additions and 0 deletions

View File

@@ -551,6 +551,7 @@
:payment {:type :payment} :payment {:type :payment}
:expected_deposit {:type :expected_deposit} :expected_deposit {:type :expected_deposit}
:plaid_merchant {:type :plaid_merchant} :plaid_merchant {:type :plaid_merchant}
:check_number {:type 'Int}
:vendor {:type :vendor} :vendor {:type :vendor}
:bank_account {:type :bank_account} :bank_account {:type :bank_account}
:date {:type 'String} :date {:type 'String}

View File

@@ -8,6 +8,7 @@
:amount :amount
:location :location
:approval-status :approval-status
:check-number
[:matched-rule [:note :id]] [:matched-rule [:note :id]]
[:vendor [:name :id]] [:vendor [:name :id]]
[:accounts [:id :amount :location [:account [:name :id :location :numeric-code]]]] [:accounts [:id :amount :location [:account [:name :id :location :numeric-code]]]]

View File

@@ -59,6 +59,7 @@
(forms/start-form db ::form (forms/start-form db ::form
(-> which (-> which
(select-keys [:vendor :amount :payment :client :description-original (select-keys [:vendor :amount :payment :client :description-original
:check-number
:yodlee-merchant :id :potential-payment-matches :yodlee-merchant :id :potential-payment-matches
:plaid-merchant :plaid-merchant
:forecast-match :date :forecast-match :date
@@ -360,6 +361,10 @@
"Description" "Description"
[:input.input {:type "text" [:input.input {:type "text"
:disabled "disabled"}]] :disabled "disabled"}]]
[form-builder/field-v2 {:field [:check-number]}
"Check Number"
[:input.input {:type "text"
:disabled "disabled"}]]
[form-builder/field-v2 {:field [:plaid-merchant :name]} [form-builder/field-v2 {:field [:plaid-merchant :name]}
"Merchant" "Merchant"
[:input.input {:type "text" [:input.input {:type "text"