diff --git a/src/clj/auto_ap/graphql/ledger.clj b/src/clj/auto_ap/graphql/ledger.clj index 197cb8a1..07327709 100644 --- a/src/clj/auto_ap/graphql/ledger.clj +++ b/src/clj/auto_ap/graphql/ledger.clj @@ -644,6 +644,7 @@ :journal_detail_report_category {:fields {:category {:type :ledger_category} :account {:type :account} + :total {:type :money} :client_id {:type :id} :location {:type 'String} :journal_entries {:type '(list :journal_detail_report_row)}}} diff --git a/src/cljs/auto_ap/views/pages/ledger/profit_and_loss_detail.cljs b/src/cljs/auto_ap/views/pages/ledger/profit_and_loss_detail.cljs index 7975176b..77e53b37 100644 --- a/src/cljs/auto_ap/views/pages/ledger/profit_and_loss_detail.cljs +++ b/src/cljs/auto_ap/views/pages/ledger/profit_and_loss_detail.cljs @@ -52,9 +52,9 @@ [[:categories [[:journal-entries [:description :date :debit :credit :location :running-balance - :total [:account [:id :name]]]] :category + :total :client-id :location [:account [:numeric-code :name]]]]]]]}