rounding rules via admin screen, round begin when starting record (#1229)

This commit is contained in:
Kevin Papst
2019-11-10 13:57:05 +01:00
committed by GitHub
parent fa1c79e15c
commit c6c4098759
47 changed files with 1100 additions and 185 deletions

View File

@@ -11,8 +11,13 @@ namespace App\Timesheet\Rounding;
use App\Entity\Timesheet;
class FloorRounding implements RoundingInterface
final class FloorRounding implements RoundingInterface
{
public function getId(): string
{
return 'floor';
}
/**
* @param Timesheet $record
* @param int $minutes