continuing on quest.
This commit is contained in:
@@ -24,7 +24,8 @@
|
|||||||
{:invoice-payment/_payment [* {:invoice-payment/invoice [*]}]}
|
{:invoice-payment/_payment [* {:invoice-payment/invoice [*]}]}
|
||||||
{:payment/client [:client/name :db/id :client/code]}
|
{:payment/client [:client/name :db/id :client/code]}
|
||||||
{:payment/bank-account [*]}
|
{:payment/bank-account [*]}
|
||||||
{:payment/vendor [:vendor/name :vendor/default-expense-account :db/id {:vendor/primary-contact [*]} {:vendor/address [*]}]}
|
{:payment/vendor [:vendor/name {:vendor/default-account
|
||||||
|
[:account/name :account/numeric-code :db/id]} :db/id {:vendor/primary-contact [*]} {:vendor/address [*]}]}
|
||||||
{:payment/status [:db/ident]}
|
{:payment/status [:db/ident]}
|
||||||
{:payment/type [:db/ident]}]))
|
{:payment/type [:db/ident]}]))
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
[:id :check-number :amount :memo :date :status :type :original-id
|
[:id :check-number :amount :memo :date :status :type :original-id
|
||||||
[:invoices [[:invoice [:id :original-id]] :amount]]
|
[:invoices [[:invoice [:id :original-id]] :amount]]
|
||||||
[:bank-account [:number :code :bank-name :bank-code :id]]
|
[:bank-account [:number :code :bank-name :bank-code :id]]
|
||||||
[:vendor [:name :id [:primary-contact [:name :email :phone]] :default-expense-account [:address [:street1 :city :state :zip]]]]
|
[:vendor [:name :id [:primary-contact [:name :email :phone]] [:default-account [:name :numeric-code :id]] [:address [:street1 :city :state :zip]]]]
|
||||||
[:client [:id :name :code]]
|
[:client [:id :name :code]]
|
||||||
]]]
|
]]]
|
||||||
payments (graphql/query identity (venia/graphql-query {:venia/queries (->graphql query)}))]
|
payments (graphql/query identity (venia/graphql-query {:venia/queries (->graphql query)}))]
|
||||||
|
|||||||
Reference in New Issue
Block a user