translate base
This commit is contained in:
1 parent
a794dacd39
commit
581cb8241c
413 files changed
+9087
-428
No files matched your search
@@ -10,10 +10,13 @@
|
||||
|
||||
class MonthlyLeaveChart extends ChartWidget
|
||||
{
|
||||
protected ?string $heading = 'Vacation Days by Month';
|
||||
|
||||
protected int | string | array $columnSpan = 1;
|
||||
|
||||
public function getHeading(): ?string
|
||||
{
|
||||
return __('hr.widgets.vacation_days_by_month');
|
||||
}
|
||||
|
||||
protected function getType(): string
|
||||
{
|
||||
return 'bar';
|
||||
@@ -37,7 +40,7 @@ protected function getData(): array
|
||||
return [
|
||||
'datasets' => [
|
||||
[
|
||||
'label' => 'Vacation Days',
|
||||
'label' => __('hr.widgets.vacation_days'),
|
||||
'data' => $data,
|
||||
'backgroundColor' => '#f59e0b',
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user