monthly budget, monthly report, unified report calculation (#2684)

This commit is contained in:
Kevin Papst
2021-08-06 18:38:41 +02:00
committed by GitHub
parent 21f785638c
commit cefd747e91
196 changed files with 5031 additions and 2167 deletions

View File

@@ -98,13 +98,11 @@ final class ProjectFixtures implements TestFixture
$visible = $this->isVisible;
}
$project = new Project();
$project
->setName($faker->catchPhrase . ($visible ? '' : ' (x)'))
->setBudget(rand(0, 10000))
->setComment($faker->text)
->setCustomer($customers[array_rand($customers)])
->setVisible($visible)
;
$project->setName($faker->catchPhrase . ($visible ? '' : ' (x)'));
$project->setBudget(rand(0, 10000));
$project->setComment($faker->text);
$project->setCustomer($customers[array_rand($customers)]);
$project->setVisible($visible);
if (null !== $this->callback) {
\call_user_func($this->callback, $project);