Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gnukhata
gkcore
Commits
fec10151
Commit
fec10151
authored
Jan 10, 2018
by
Prajkta_Patkar
Browse files
space remove from credit note and converted to 1 word creditnote same
for other
parent
2b5cdaf2
Changes
1
Hide whitespace changes
Inline
Side-by-side
gkcore/views/api_transaction.py
View file @
fec10151
...
...
@@ -85,13 +85,13 @@ class api_transaction(object):
initialType
=
"sl"
if
voucherType
==
"purchase"
:
initialType
=
"pu"
if
voucherType
==
"credit
N
ote"
:
if
voucherType
==
"credit
n
ote"
:
initialType
=
"cn"
if
voucherType
==
"debit
N
ote"
:
if
voucherType
==
"debit
n
ote"
:
initialType
=
"dn"
if
voucherType
==
"sale
R
eturn"
:
if
voucherType
==
"sale
r
eturn"
:
initialType
=
"sr"
if
voucherType
==
"purchase
R
eturn"
:
if
voucherType
==
"purchase
r
eturn"
:
initialType
=
"pr"
vchCountResult
=
self
.
con
.
execute
(
"select count(vouchercode) as vcount from vouchers where orgcode = %d"
%
(
int
(
orgcode
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment