add itai model and irt report download code commit.
This commit is contained in:
@@ -30,17 +30,15 @@ class ITATHandler:
|
||||
|
||||
# INSERT ITAT (PROC)
|
||||
def add_itat(self, data):
|
||||
values = [
|
||||
data.get("cit_id"),
|
||||
data.get("year"),
|
||||
data.get("mat_tax_credit"),
|
||||
data.get("surcharge"),
|
||||
data.get("cess"),
|
||||
data.get("total_credit")
|
||||
]
|
||||
self.cursor.callproc("InsertITAT", values)
|
||||
self.conn.commit()
|
||||
|
||||
values = [
|
||||
data.get("mat_tax_credit", 0),
|
||||
data.get("surcharge", 0),
|
||||
data.get("cess", 0),
|
||||
data.get("total_credit", 0),
|
||||
data.get("year", 0)
|
||||
]
|
||||
self.cursor.callproc("InsertITAT", values)
|
||||
self.conn.commit()
|
||||
|
||||
# UPDATE ITAT (PROC)
|
||||
def update_itat(self, id, data):
|
||||
|
||||
Reference in New Issue
Block a user