Skip to content

Commit

Permalink
Merge pull request resilient-tech#2912 from Sanket322/item_qty_in_sal…
Browse files Browse the repository at this point in the history
…es_register_beta
  • Loading branch information
vorasmit authored Jan 6, 2025
2 parents 0a43836 + 9a39ec5 commit e01baf8
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 e01baf8

Please sign in to comment.