Skip to content
Snippets Groups Projects

Anchored nuance to bottom, introduced delay to let it load correctly, and...

Merged Philipp Krop requested to merge master into dev
3 files
+ 71
25
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -132,4 +132,41 @@ export class OrderExport {
this.notice += ", Terminwunsch: "+date;
}
}
}
/**
* This class represents an object that stores if everything is filled.
*
* @export
* @class OrderFilled
*/
export class OrderFilled {
anamnesis: boolean;
question: boolean;
pregnancy: boolean;
implantate: boolean;
pacemaker: boolean;
allergy: boolean;
allergy_type_iodine: boolean;
allergy_type_other: boolean;
preferred_date: boolean;
services: boolean;
infections: boolean;
public everythingFilled(): boolean {
if (!this.services) return false;
if (!this.anamnesis) return false;
if (!this.question) return false;
if (!this.preferred_date) return false;
if (!this.infections) return false;
if (!this.pregnancy) return false;
if (!this.implantate) return false;
if (!this.pacemaker) return false;
if (!this.allergy) return false;
if (!this.allergy_type_iodine) return false;
if (!this.allergy_type_other) return false;
return true;
}
}
\ No newline at end of file
Loading