Changed grad date to next iep date

This commit is contained in:
ivan-pelly
2026-03-11 19:48:16 -07:00
parent ec36d8842d
commit 7f91e2e557
25 changed files with 44 additions and 44 deletions
@@ -71,7 +71,7 @@ export class DummyStudentService {
{
studentId: '1',
identifier: 'J.B',
expectedGradDate: new Date('2027-02-27'),
nextIepDate: new Date('2027-02-27'),
lastEntryDate: new Date('2026-02-21'),
goalCount: 3,
progressEventCount: 5,
@@ -79,7 +79,7 @@ export class DummyStudentService {
{
studentId: '2',
identifier: 'M.K',
expectedGradDate: new Date('2027-02-27'),
nextIepDate: new Date('2027-02-27'),
lastEntryDate: new Date('2026-02-25'),
goalCount: 4,
progressEventCount: 8,
@@ -87,7 +87,7 @@ export class DummyStudentService {
{
studentId: '3',
identifier: 'A.R',
expectedGradDate: new Date('2027-02-27'),
nextIepDate: new Date('2027-02-27'),
lastEntryDate: null,
goalCount: 2,
progressEventCount: 0,
@@ -154,7 +154,7 @@ export class StudentService {
// *****************************************************************
// Updates a student and returns the refreshed student data.
// *****************************************************************
async updateStudent(studentId: string, data: { identifier?: string; programYear?: number | null; enrollmentDate?: string | null; expectedGrad?: string | null }): Promise<ApiResult<StudentCardDto>> {
async updateStudent(studentId: string, data: { identifier?: string; programYear?: number | null; enrollmentDate?: string | null; nextIepDate?: string | null }): Promise<ApiResult<StudentCardDto>> {
try {
const result = await firstValueFrom(
this.http.put<ResponseResult<StudentCardDto>>(`${this.base}/api/Student/${studentId}`, data)