fix: tax accounts in sales register
This commit is contained in:
parent
cd74c6c07f
commit
d73daafe77
@ -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,
|
||||||
)
|
)
|
||||||
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user