-
-
Notifications
You must be signed in to change notification settings - Fork 775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
export earnings, txid, token name/value, payee location #5957
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- changed PR to master
- resolved conflicts
- recreated migration
profile = request.user.profile | ||
earnings = profile.earnings if export_type == 'earnings' else profile.sent_earnings | ||
earnings = earnings.all().order_by('-created_on') | ||
earnings = earnings.filter(network='mainnet').order_by('-created_on') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be dynamic to work on local also ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nah it's just for export -> should be fine
@owocki CI fail :| |
@thelostone-mc just deployed a fix for tests |
app/dashboard/models.py
Outdated
@@ -1759,10 +1759,13 @@ def psave_tip(sender, instance, **kwargs): | |||
def postsave_tip(sender, instance, created, **kwargs): | |||
is_valid = instance.sender_profile != instance.recipient_profile and instance.txid | |||
if instance.pk and is_valid: | |||
value_true = 0 | |||
value_true = 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^ @owocki value_usd
:P
I'll fix it up and see
Codecov Report
@@ Coverage Diff @@
## master #5957 +/- ##
==========================================
+ Coverage 27.08% 27.11% +0.02%
==========================================
Files 290 290
Lines 26635 26642 +7
Branches 3943 3943
==========================================
+ Hits 7214 7223 +9
+ Misses 19154 19148 -6
- Partials 267 271 +4
Continue to review full report at Codecov.
|
Description
export earnings, txid, token name/value, payee location in earnings export
Refers/Fixes
customer request
Testing
tested locally