vhp-mongo-models 2.1.64 → 2.1.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,10 +11,13 @@ module.exports = [{
|
|
|
11
11
|
state: { type: String, default: '' },
|
|
12
12
|
zip: { type: String, default: '' },
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
jonascode: {type:String, default:''}, //new add
|
|
15
|
+
custid: { type: String, default: '' }, //phone number
|
|
15
16
|
occupant: { type: String, default: '' },
|
|
16
17
|
billTo: { type: Boolean, default: false },
|
|
17
18
|
|
|
19
|
+
contacts: {type:Array, default:[]}, //new add
|
|
20
|
+
|
|
18
21
|
location: {
|
|
19
22
|
type: Object, default: {
|
|
20
23
|
building_id: '',
|
|
@@ -10,7 +10,7 @@ module.exports = [
|
|
|
10
10
|
hhid:{type: String, default:''},
|
|
11
11
|
status:{type:String,default:'CHILD'}, //PARENT | CHILD
|
|
12
12
|
parent:{type:String,default:''},
|
|
13
|
-
children:{type:
|
|
13
|
+
children:{type:Array,default:[]},
|
|
14
14
|
custid:{type: String, default:''},//person calling in, could be the occupant
|
|
15
15
|
|
|
16
16
|
coid:{type:String,default:''},
|
|
@@ -5,7 +5,7 @@ module.exports = [
|
|
|
5
5
|
group:{type:String,default:''},//names the type of product it is. Would like to use this instead of type
|
|
6
6
|
system:{type:String,default:''}, //way to link related service items
|
|
7
7
|
space:{type:String,default:''},
|
|
8
|
-
considerreplace:{type:
|
|
8
|
+
considerreplace:{type:Date,default:''},
|
|
9
9
|
subspace:{type:String,default:''},
|
|
10
10
|
quantity:{type:Number,default:1}, //optional qty
|
|
11
11
|
notes:{type:Array,default:[]},// for better history {tech:'',date:'',ticketId:''}
|
|
@@ -18,8 +18,8 @@ let ticketTime = {
|
|
|
18
18
|
techs:{type:Object,default:{}},
|
|
19
19
|
driving:{type:Number,default:0},
|
|
20
20
|
labor:{type:Number,default:0},
|
|
21
|
-
start:{type:Date,default:
|
|
22
|
-
end:{type:Date,default:
|
|
21
|
+
start:{type:Date,default:''},
|
|
22
|
+
end:{type:Date,default:''},
|
|
23
23
|
hours:{type:Number,default:0},
|
|
24
24
|
revenuePer:{type:Number,default:0}
|
|
25
25
|
}
|