Commit fec10151 authored by Prajkta_Patkar's avatar Prajkta_Patkar
Browse files

space remove from credit note and converted to 1 word creditnote same

for other
parent 2b5cdaf2
......@@ -85,13 +85,13 @@ class api_transaction(object):
initialType = "sl"
if voucherType == "purchase":
initialType = "pu"
if voucherType == "credit Note":
if voucherType == "creditnote":
initialType = "cn"
if voucherType == "debit Note":
if voucherType == "debitnote":
initialType = "dn"
if voucherType == "sale Return":
if voucherType == "salereturn":
initialType = "sr"
if voucherType == "purchase Return":
if voucherType == "purchasereturn":
initialType = "pr"
vchCountResult = self.con.execute("select count(vouchercode) as vcount from vouchers where orgcode = %d"%(int(orgcode)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment