diff --git a/src/app/models/sample.interface.ts b/src/app/models/sample.interface.ts index c59952d..d64e0f9 100644 --- a/src/app/models/sample.interface.ts +++ b/src/app/models/sample.interface.ts @@ -4,4 +4,5 @@ export interface Sample { initials?: string; date: Date; location: string; + computing_id?: string; } diff --git a/src/app/print/print.component.ts b/src/app/print/print.component.ts index 8ffe83f..3c23fdb 100644 --- a/src/app/print/print.component.ts +++ b/src/app/print/print.component.ts @@ -92,6 +92,7 @@ export class PrintComponent implements AfterViewInit { student_id: this.cardNum, date: this.dateCreated, location: this.settings.locationId, + computing_id: this.initials, }; this.api.addSample(newSample).subscribe((result) => {