Перейти к основному содержимому

useTimesheetEntry

@mineflow/client-react


@mineflow/client-react / useTimesheetEntry

Function: useTimesheetEntry()

function useTimesheetEntry(id: string): UseQueryResult<{
adjustedAt: string | null;
adjustedBy: string | null;
adjustmentReason: string | null;
confirmedFromShiftReport: boolean;
downtimeHours: number;
hoursWorked: number;
id: string;
personnelId: string;
shiftId: string;
shiftReportId: string | null;
status: TimesheetEntryResponse_OutputStatus;
}>;

Defined in: client-react/src/domain-hooks/hr.generated.ts:86

Одна строка табеля HR по id.

Parameters

ParameterType
idstring

Returns

UseQueryResult<{ adjustedAt: string | null; adjustedBy: string | null; adjustmentReason: string | null; confirmedFromShiftReport: boolean; downtimeHours: number; hoursWorked: number; id: string; personnelId: string; shiftId: string; shiftReportId: string | null; status: TimesheetEntryResponse_OutputStatus; }>