Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
weboob
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
132
Issues
132
List
Boards
Labels
Milestones
Merge Requests
40
Merge Requests
40
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
weboob
weboob
Commits
367d9732
Commit
367d9732
authored
Jul 26, 2019
by
ntome
Committed by
ntome
Nov 20, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[lunchr] type ORDER transactions on lunchr website
parent
71113ebf
Pipeline
#2729
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
browser.py
modules/lunchr/browser.py
+2
-1
No files found.
modules/lunchr/browser.py
View file @
367d9732
...
...
@@ -112,7 +112,8 @@ class LunchrBrowser(APIBrowser):
transaction
.
rdate
=
DateTime
(
Dict
(
'created_at'
))(
payment
)
types
=
{
'LUNCHR_CARD_PAYMENT'
:
Transaction
.
TYPE_CARD
,
'ORDER'
:
Transaction
.
TYPE_CARD
,
# order on lunchr website
'LUNCHR_CARD_PAYMENT'
:
Transaction
.
TYPE_CARD
,
# pay in shop
'MEAL_VOUCHER_CREDIT'
:
Transaction
.
TYPE_DEPOSIT
,
# type can be null for refunds
}
...
...
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