Added exceptions

This commit is contained in:
Dobie Wollert
2015-12-30 04:41:59 -08:00
parent f097af33f5
commit 26111f4697
2 changed files with 82 additions and 1 deletions

View File

@ -7,7 +7,10 @@ var ObjectId = Schema.ObjectId;
const EXCEPTION_REASONS = [
'late_to_first_workorder',
'too_little_travel',
'too_much_travel'
'too_much_travel',
'less_than_twenty_hours_worked',
'less_than_thirty_hours_worked',
'greater_than_forty_hours_worked'
];
var schema = new Schema({