added fixed-rate and hourly-rate for customer, project and activity (#304)

This commit is contained in:
Kevin Papst
2018-09-06 23:37:25 +02:00
committed by GitHub
parent 6163f33abf
commit 8cae5e8b3f
32 changed files with 1173 additions and 154 deletions

View File

@@ -44,10 +44,13 @@ class TimesheetFixtures extends Fixture
protected $startDate = '2018-04-01';
/**
* @param string $date
* @param string|\DateTime $date
*/
public function setStartDate($date)
{
if ($date instanceof \DateTime) {
$date = $date->format('Y-m-d');
}
$this->startDate = $date;
}