Enable grouping by vendor in the expense report
This commit is contained in:
parent
e8fda5f67e
commit
5cebbbe06a
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ class AbstractReport
|
|||
if (strpos($field, 'date') !== false) {
|
||||
//$class[] = 'group-date-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';
|
||||
} elseif (in_array($field, ['amount', 'paid', 'balance'])) {
|
||||
$class[] = 'group-number-50';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue