Placements developer guide
Preparing search index...
@vektorprogrammet/domain/placements
calculatedDaysServed
Function calculatedDaysServed
calculatedDaysServed
(
evidence
:
{
dates
:
readonly
{
schools
:
readonly
{
name
:
string
;
schoolId
:
number
&
Brand
<
"SchoolId"
>
;
}
[]
;
serviceDate
:
string
;
}
[]
;
legacyTotals
:
readonly
{
school
:
{
name
:
string
;
schoolId
:
number
&
Brand
<
"SchoolId"
>
}
;
workdays
:
number
;
}
[]
;
}
,
)
:
number
The calculated count: the distinct service dates plus the accepted legacy totals.
Parameters
evidence
:
{
dates
:
readonly
{
schools
:
readonly
{
name
:
string
;
schoolId
:
number
&
Brand
<
"SchoolId"
>
;
}
[]
;
serviceDate
:
string
;
}
[]
;
legacyTotals
:
readonly
{
school
:
{
name
:
string
;
schoolId
:
number
&
Brand
<
"SchoolId"
>
}
;
workdays
:
number
;
}
[]
;
}
Returns
number
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Placements developer guide
Loading...
The calculated count: the distinct service dates plus the accepted legacy totals.