handling when currency is not in right place
This commit is contained in:
parent
232a7bdb4c
commit
844d204ffa
1 changed files with 21 additions and 9 deletions
|
|
@ -162,6 +162,18 @@ class SubmitPage(Page):
|
|||
TIME = 1
|
||||
NAME = 3
|
||||
TYPE = 4
|
||||
if csv.header[7] == "Devise":
|
||||
CURRENCY = 7
|
||||
GROSS = 8
|
||||
FEE = 9
|
||||
NET = 10
|
||||
FROM = 11
|
||||
TO = 12
|
||||
TRANS_ID = 13
|
||||
ITEM = 16
|
||||
SITE = -1
|
||||
|
||||
else:
|
||||
CURRENCY = 6
|
||||
GROSS = 7
|
||||
FEE = 8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue