Profitability by job and service unit from a period's hours, expenses and the created billing materials of its months. Hours are costed at one internal hourly cost, set on the price list maintenance page; a job of several service units is shared evenly between them. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
22 lines
510 B
PHP
22 lines
510 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Modules\Billing\Application\DTOs;
|
|
|
|
/**
|
|
* A job's billed amounts without VAT in cents by line kind, and the hours
|
|
* billed on its hour lines in quarter hours.
|
|
*/
|
|
final readonly class BilledJobRevenue
|
|
{
|
|
public function __construct(
|
|
public int $jobId,
|
|
public int $hoursNetCents,
|
|
public int $fixedPriceNetCents,
|
|
public int $monthlyFeeNetCents,
|
|
public int $expenseNetCents,
|
|
public int $billedQuarters,
|
|
) {}
|
|
}
|