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}
:expected_deposit {:type :expected_deposit}
:plaid_merchant {:type :plaid_merchant}
:check_number {:type 'Int}
:vendor {:type :vendor}
:bank_account {:type :bank_account}
:date {:type 'String}

View File

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

View File

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