mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 18:43:49 +00:00
adjust property name to make it work with changes calendar bundle
This commit is contained in:
@@ -85,6 +85,6 @@ final class AgentAggregator implements AggregatorInterface
|
||||
|
||||
public function getTitle(): string
|
||||
{
|
||||
return 'Group appointments by agent';
|
||||
return 'Group calendars by agent';
|
||||
}
|
||||
}
|
||||
|
@@ -40,7 +40,7 @@ class CancelReasonAggregator implements AggregatorInterface
|
||||
|
||||
public function alterQuery(QueryBuilder $qb, $data)
|
||||
{
|
||||
// TODO: still needs to take into account appointments without a cancel reason somehow
|
||||
// TODO: still needs to take into account calendars without a cancel reason somehow
|
||||
if (!in_array('calcancel', $qb->getAllAliases(), true)) {
|
||||
$qb->join('cal.cancelReason', 'calcancel');
|
||||
}
|
||||
@@ -88,6 +88,6 @@ class CancelReasonAggregator implements AggregatorInterface
|
||||
|
||||
public function getTitle(): string
|
||||
{
|
||||
return 'Group appointments by cancel reason';
|
||||
return 'Group calendars by cancel reason';
|
||||
}
|
||||
}
|
||||
|
@@ -87,6 +87,6 @@ final class JobAggregator implements AggregatorInterface
|
||||
|
||||
public function getTitle(): string
|
||||
{
|
||||
return 'Group appointments by agent job';
|
||||
return 'Group calendars by agent job';
|
||||
}
|
||||
}
|
||||
|
@@ -80,6 +80,6 @@ final class LocationAggregator implements AggregatorInterface
|
||||
|
||||
public function getTitle(): string
|
||||
{
|
||||
return 'Group appointments by location';
|
||||
return 'Group calendars by location';
|
||||
}
|
||||
}
|
||||
|
@@ -87,6 +87,6 @@ final class LocationTypeAggregator implements AggregatorInterface
|
||||
|
||||
public function getTitle(): string
|
||||
{
|
||||
return 'Group appointments by location type';
|
||||
return 'Group calendars by location type';
|
||||
}
|
||||
}
|
||||
|
@@ -55,10 +55,10 @@ class MonthYearAggregator implements AggregatorInterface
|
||||
return 'by month and year';
|
||||
}
|
||||
|
||||
$month = substr($value, 0, 2);
|
||||
$year = substr($value, 3, 4);
|
||||
$month = (int)substr($value, 0, 2);
|
||||
$year = (int)substr($value, 3, 4);
|
||||
|
||||
return strftime('%B %G', mktime(0, 0, 0, $month, '1', $year));
|
||||
return strftime('%B %G', mktime(0, 0, 0, $month, 1, $year));
|
||||
};
|
||||
}
|
||||
|
||||
@@ -69,6 +69,6 @@ class MonthYearAggregator implements AggregatorInterface
|
||||
|
||||
public function getTitle(): string
|
||||
{
|
||||
return 'Group appointments by month and year';
|
||||
return 'Group calendars by month and year';
|
||||
}
|
||||
}
|
||||
|
@@ -87,6 +87,6 @@ final class ScopeAggregator implements AggregatorInterface
|
||||
|
||||
public function getTitle(): string
|
||||
{
|
||||
return 'Group appointments by agent scope';
|
||||
return 'Group calendars by agent scope';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user