dashboard widgets from event (#246)

This commit is contained in:
Kevin Papst
2018-07-28 23:18:28 +02:00
committed by GitHub
parent e6f8bc8ae2
commit 0996eca3c5
10 changed files with 384 additions and 129 deletions

View File

@@ -50,7 +50,7 @@ class TimesheetStatistic
*/
public function setDurationThisMonth($durationThisMonth)
{
$this->durationThisMonth = $durationThisMonth;
$this->durationThisMonth = (int) $durationThisMonth;
}
/**
@@ -66,7 +66,7 @@ class TimesheetStatistic
*/
public function setAmountTotal($amountTotal)
{
$this->amountTotal = $amountTotal;
$this->amountTotal = (int) $amountTotal;
}
/**
@@ -82,7 +82,7 @@ class TimesheetStatistic
*/
public function setDurationTotal($durationTotal)
{
$this->durationTotal = $durationTotal;
$this->durationTotal = (int) $durationTotal;
}
/**
@@ -98,7 +98,7 @@ class TimesheetStatistic
*/
public function setAmountThisMonth($amountThisMonth)
{
$this->amountThisMonth = $amountThisMonth;
$this->amountThisMonth = (int) $amountThisMonth;
}
/**