fix: tax accounts in sales register

This commit is contained in:
Gursheen Anand 2023-08-31 15:19:46 +05:30
parent cd74c6c07f
commit d73daafe77
2 changed files with 2 additions and 1 deletions

View File

@ -393,6 +393,7 @@ def get_invoices(filters, additional_query_columns):
pi.remarks, pi.remarks,
pi.base_net_total, pi.base_net_total,
pi.base_grand_total, pi.base_grand_total,
pi.base_rounded_total,
pi.outstanding_amount, pi.outstanding_amount,
pi.mode_of_payment, pi.mode_of_payment,
) )

View File

@ -38,7 +38,7 @@ def _execute(filters, additional_table_columns=None):
if filters.get("include_payments"): if filters.get("include_payments"):
invoice_list += get_payments(filters) 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 invoice_list, additional_table_columns, include_payments
) )