mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Improve report grouping
This commit is contained in:
parent
4adb51e75f
commit
26a33f26e1
@ -66,7 +66,7 @@ class AbstractReport
|
||||
|
||||
if (strpos($field, 'date') !== false) {
|
||||
$class[] = 'group-date-' . (isset($this->options['group_dates_by']) ? $this->options['group_dates_by'] : 'monthyear');
|
||||
} elseif (in_array($field, ['client', 'vendor', 'product', 'method'])) {
|
||||
} elseif (in_array($field, ['client', 'vendor', 'product', 'method', 'category'])) {
|
||||
$class[] = 'group-letter-100';
|
||||
} elseif (in_array($field, ['amount', 'paid', 'balance'])) {
|
||||
$class[] = 'group-number-50';
|
||||
|
Loading…
x
Reference in New Issue
Block a user