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