Skip to content

Commit

Permalink
Merge pull request #36886 from GursheenK/sales-register-tax-accounts
Browse files Browse the repository at this point in the history
fix: tax accounts in sales register
  • Loading branch information
deepeshgarg007 authored Aug 31, 2023
2 parents cd74c6c + d73daaf commit 2537f56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ def get_invoices(filters, additional_query_columns):
pi.remarks,
pi.base_net_total,
pi.base_grand_total,
pi.base_rounded_total,
pi.outstanding_amount,
pi.mode_of_payment,
)
Expand Down
2 changes: 1 addition & 1 deletion erpnext/accounts/report/sales_register/sales_register.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _execute(filters, additional_table_columns=None):
if filters.get("include_payments"):
invoice_list += get_payments(filters)

columns, income_accounts, tax_accounts, unrealized_profit_loss_accounts = get_columns(
columns, income_accounts, unrealized_profit_loss_accounts, tax_accounts = get_columns(
invoice_list, additional_table_columns, include_payments
)

Expand Down

0 comments on commit 2537f56

Please sign in to comment.