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]>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?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,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user