Skip to content

Commit

Permalink
Merge pull request #2924 from resilient-tech/mergify/bp/version-14-ho…
Browse files Browse the repository at this point in the history
…tfix/pr-2912

fix: Item Qty in GST Sales Register Beta  (backport #2912)
  • Loading branch information
mergify[bot] authored Jan 6, 2025
2 parents 68e4970 + 8ca5b1a commit 07ba523
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 07ba523

Please sign in to comment.