Skip to content

Commit

Permalink
fix: add item qty
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanket322 committed Dec 30, 2024
1 parent cdd0d2b commit 9a39ec5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,12 @@ def get_columns(filters):

columns.extend(
[
{
"label": _("Item Qty"),
"fieldname": "qty",
"fieldtype": "Data",
"width": 100,
},
{
"label": _("HSN Code"),
"fieldname": "gst_hsn_code",
Expand Down
1 change: 1 addition & 0 deletions india_compliance/gst_india/utils/gstr_1/gstr_1_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ def get_invoices_for_hsn_wise_summary(self):
frappe.qb.from_(query)
.select(
"*",
Sum(query.qty).as_("qty"),
Sum(query.taxable_value).as_("taxable_value"),
Sum(query.cgst_amount).as_("cgst_amount"),
Sum(query.sgst_amount).as_("sgst_amount"),
Expand Down

0 comments on commit 9a39ec5

Please sign in to comment.