The expenses employees paid themselves in a period, by person with kilometres and amounts, printable and as CSV for payroll. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
24 lines
504 B
PHP
24 lines
504 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Modules\Reports\Application\DTOs;
|
|
|
|
/**
|
|
* A person's expenses to reimburse by day, with the kilometres (tenths)
|
|
* and costs (cents, VAT 0) summed.
|
|
*/
|
|
final readonly class PersonReimbursements
|
|
{
|
|
/**
|
|
* @param list<ReimbursementLine> $lines
|
|
*/
|
|
public function __construct(
|
|
public int $userId,
|
|
public string $name,
|
|
public array $lines,
|
|
public int $kilometerTenths,
|
|
public int $costCents,
|
|
) {}
|
|
}
|