Files
Toiminnanohjaus/app/Modules/Reports/Application/DTOs/UnbilledReport.php
T
petriandClaude Sonnet 5.5 a57b383e4d Add the unbilled hours report
Hours on customers' billable jobs that no billing material has taken,
by job and work type up to a day, valued at the hourly rates for jobs
billed by the hour, with a chart by service unit and CSV.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-11-25 08:41:43 +02:00

27 lines
682 B
PHP

<?php
declare(strict_types=1);
namespace App\Modules\Reports\Application\DTOs;
/**
* Unbilled hours by job, oldest work first, with totals and the value of
* the hours by the work types' service units (most first).
*/
final readonly class UnbilledReport
{
/**
* @param list<UnbilledJob> $jobs
* @param array<string, int> $valueByServiceUnit
* @param array<int, string> $serviceUnits
*/
public function __construct(
public array $jobs,
public int $approvedQuarters,
public int $unapprovedQuarters,
public int $valueCents,
public array $valueByServiceUnit,
public array $serviceUnits,
) {}
}