-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Add debts on the dashboard #1373
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.
Perhaps it should be more usefull to see the total for 1 person instead of all details?
import moment from 'moment'; | ||
Vue.filter('formatDate', function(value) { | ||
if (value) { | ||
return moment(String(value)).format('LL') |
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.
Great, but it must support locale. Just add moment.locale(lang);
on line 210 after loadLanguageAsync(window.Laravel.locale, true).then((lang) =>
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.
Good point. I was lazy. Thanks.
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.
I've added it and tested it, it seems to work. Can you double check?
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.
@asbiin waiting for your validation here!
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.
Seems good!
What about this ? |
Yes, but it's also more work :-D But yeah, it would be interesting. But we can ship this as is, then improve it in another PR. |
This pull request has been automatically locked since there |
This PR adds support for displaying debts on the dashboard, regardless of the contacts, in order to have a complete overview.
Code-related tasks
If the code changes the SQL schema
vCard
and.csv
files.Other tasks
UNRELEASED
.