Merge branch 'master' of github.com:akaunting/akaunting

This commit is contained in:
Cüneyt Şentürk 2024-09-25 10:12:05 +01:00
commit 14fa016c01
1 changed files with 7 additions and 1 deletions

View File

@ -286,7 +286,13 @@ abstract class Report
public function getFormattedDate($event, $date)
{
return $this->getPeriodicDate($date, $event->class->getSetting('period'), $event->class->year);
$period = $this->getSearchStringValue('period');
if (empty($period)) {
$period = $event->class->getSetting('period');
}
return $this->getPeriodicDate($date, $period, $event->class->year);
}
protected function fireEvent($event_class, $event, $group = null)