Kanban / timesheet update

This commit is contained in:
2026-11-30 06:56:14 +02:00
parent 6332ff0fa9
commit a4dbe8ce09
46 changed files with 8091 additions and 331 deletions
@@ -6,7 +6,9 @@ namespace App\Modules\TimeTracking\Application\Contracts;
use App\Modules\TimeTracking\Application\DTOs\ApprovalWeek;
use App\Modules\TimeTracking\Application\DTOs\JobBillingHours;
use App\Modules\TimeTracking\Application\DTOs\MonthSummary;
use App\Modules\TimeTracking\Application\DTOs\TimeEntrySummary;
use App\Modules\TimeTracking\Application\DTOs\TimesheetWeek;
use App\Modules\TimeTracking\Application\DTOs\WeekSheet;
interface TimeEntryQueries
@@ -19,6 +21,19 @@ interface TimeEntryQueries
*/
public function week(int $userId, string $monday, array $extraTaskIds = []): WeekSheet;
/**
* The time sheet of a week: scheduled and pinned tasks with their
* entries, grouped by customer and job (docs/ui-timesheet.md 4).
*
* @param string $monday Y-m-d
*/
public function timesheet(int $userId, string $monday): TimesheetWeek;
/**
* The user's hours in a month (Y-m), billable against internal.
*/
public function monthSummary(int $userId, string $month): MonthSummary;
/**
* The user's entries on a task, newest day first.
*