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,25 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Modules\Reports\Application\DTOs;
|
||||
|
||||
/**
|
||||
* An expense an employee paid. The category is the Expenses module's key
|
||||
* (materials, mileage, other); kilometres are in tenths and the cost in
|
||||
* cents (VAT 0).
|
||||
*/
|
||||
final readonly class ReimbursementEntry
|
||||
{
|
||||
public function __construct(
|
||||
public int $userId,
|
||||
public int $jobId,
|
||||
public string $category,
|
||||
public string $spentOn,
|
||||
public ?string $description,
|
||||
public ?string $destination,
|
||||
public ?string $purpose,
|
||||
public ?int $kilometerTenths,
|
||||
public int $costCents,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user