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,28 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Modules\Reports\Application\Contracts;
|
||||
|
||||
use App\Modules\Reports\Application\DTOs\ReimbursementEntry;
|
||||
use App\Modules\Reports\Domain\ValueObjects\ReportPeriod;
|
||||
|
||||
/**
|
||||
* Expenses by the day spent, from the Expenses module.
|
||||
*/
|
||||
interface ReportExpenses
|
||||
{
|
||||
/**
|
||||
* Expenses the employees paid themselves, by user and day.
|
||||
*
|
||||
* @return list<ReimbursementEntry>
|
||||
*/
|
||||
public function employeePaid(ReportPeriod $period): array;
|
||||
|
||||
/**
|
||||
* Purchase costs (VAT 0) of every expense, by job id.
|
||||
*
|
||||
* @return array<int, int>
|
||||
*/
|
||||
public function costsByJob(ReportPeriod $period): array;
|
||||
}
|
||||
Reference in New Issue
Block a user