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