Budget graph in project details (#3406)
* do not copy description if restarting via calendar * added support to display negative durations * fix charts for larger numbers
This commit is contained in:
@@ -17,7 +17,10 @@ final class Month extends Timesheet
|
||||
private $billableDuration = 0;
|
||||
private $billableRate = 0.00;
|
||||
|
||||
public function __construct(string $month)
|
||||
/**
|
||||
* @param string|int $month
|
||||
*/
|
||||
public function __construct($month)
|
||||
{
|
||||
$monthNumber = (int) $month;
|
||||
if ($monthNumber < 1 || $monthNumber > 12) {
|
||||
|
||||
Reference in New Issue
Block a user