Update date handling in finances and enhance layout with new script inclusion
This commit is contained in:
@@ -331,7 +331,9 @@ $(function() {
|
||||
});
|
||||
|
||||
$('body').on('change', '.date-range', function() {
|
||||
document.location.href = '/finances/main_view/dates=' + $(this).val();
|
||||
// replace spaces
|
||||
var date = $(this).val().replace(/ /g, '_');
|
||||
document.location.href = '/finances/main_view/dates=' + date;
|
||||
});
|
||||
|
||||
jQuery('body').on('click', '.date-range-icon', function() {
|
||||
|
||||
Reference in New Issue
Block a user