Kanban / timesheet update
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user