Skip to content
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

Total Ratted - Dashboard Summary Stat #587

Merged
merged 4 commits into from
Dec 5, 2021

Conversation

tehraven
Copy link
Contributor

Adding a new Home statistic for total ratted stat.

Attempts to solve eveseat/seat#835

Fixed layout formatting for tablet/mobile

Before This Code
image image
------------- -------------
image image
------------- -------------
image image
------------- -------------

*/
public function getTotalCharacterRattingIsk(array $character_ids): ?float
{
return CharacterWalletJournal::selectRaw('SUM(amount) as total_ratting_value')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any way to avoid selectRaw() here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

☕ yeah, just late and my copy-pasta game was weak.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

@warlof
Copy link
Member

warlof commented Nov 26, 2021

Maybe a change for the icon ? Anyway, big thanks 👍

What about coins ?

@tehraven
Copy link
Contributor Author

Maybe a change for the icon ? Anyway, big thanks 👍

What about coins ?

Yeah that works, too. Done.

Copy link
Member

@warlof warlof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be sum('amount'), isn't it ?

@tehraven
Copy link
Contributor Author

amount

Yeah I really need to go to bed, lol.

@warlof
Copy link
Member

warlof commented Nov 26, 2021

No hurry 🙂
LGTM 👍

@tehraven
Copy link
Contributor Author

@leonjza any love for this one? :)

@warlof
Copy link
Member

warlof commented Nov 29, 2021

Gonna merge that this weekend at last. It's EoY and business is even more crazy with all that COVID party.

@warlof warlof merged commit 0d57257 into eveseat:master Dec 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants