Latest batch of work

This commit is contained in:
Dobie Wollert
2015-04-06 06:36:17 -04:00
parent d3089dcd17
commit 8cfff70ce0
11 changed files with 218 additions and 24 deletions

View File

@ -24,7 +24,12 @@ var workorderSchema = new Schema({
newValues: {},
modifiedBy: { type: ObjectId, ref: 'User' }
}],
deleted: { type: Boolean, default: false }
deleted: { type: Boolean, default: false },
invoiceNumber: String,
invoicedOn: Date,
checkNumber: String,
paidOn: Date,
alternativeContact: String
});
module.exports = mongoose.model('Workorder', workorderSchema);