mirror of
https://github.com/opelly27/WinStudentGoalTracker.git
synced 2026-05-20 09:57:37 +00:00
Changed grad date to next iep date
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user