handling when currency is not in right place

This commit is contained in:
Vincent Paredes 2014-11-04 18:53:54 +01:00 committed by Romain Bignon
commit 844d204ffa

View file

@ -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