changes of summary report

This commit is contained in:
2026-01-07 00:49:42 +05:30
parent f49935d706
commit 9c2486fdd6
8 changed files with 71 additions and 53 deletions

View File

@@ -33,7 +33,7 @@ class ITRHandler:
return records
# get itr record by id
def get_itr_by_id(self, id):
# Call stored procedure
self.cursor.callproc('GetITRById', [id])
@@ -50,8 +50,6 @@ class ITRHandler:
return None
# INSERT ITR RECORD using procedure "add_itr"
def add_itr(self, data):
@@ -70,7 +68,7 @@ class ITRHandler:
self.cursor.callproc("InsertITR", values)
self.conn.commit()
# update itr by id
def update(self, id, data):
columns = [
'year', 'gross_total_income', 'disallowance_14a', 'disallowance_37',
@@ -91,12 +89,11 @@ class ITRHandler:
# DELETE RECORD by ITR id
def delete_itr_by_id(self, id):
# Call the stored procedure
self.cursor.callproc('DeleteITRById', [id])
self.conn.commit()
# report download by year
def itr_report_download(self, selected_year):
try: