vhp-mongo-models 2.1.996 → 2.1.997

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.
@@ -2,20 +2,23 @@ module.exports = [{
2
2
  hhid: { type: String, default: '' },
3
3
  coid: { type: String, default: '' },
4
4
  dept: { type: String, default: '' },
5
- ticket: { type: String, default: '' },
6
5
  tech: { type: String, default: '' },
6
+ ticket: { type: String, default: '' }, //origin ticket
7
+ reattached: { type: String, default: '' }, //to hold the attached ticket
7
8
  datesubmitted: { type: Date, default: '' },
8
9
  dateorder: { type: Date, default: '' },
9
10
  datereceived: { type: Date, default: '' },
11
+ dateattached: { type: Date, default: '' },
10
12
  task: { type: String, default: '' },
11
13
  descr: { type: String, default: '' },
12
14
  price: { type: Number, default: 0 },
15
+ paid: { type: Boolean, default: false },//if we have the money
13
16
  pl: { type: String, default: '' },
14
17
  appr: { type: String, default: '' },
15
18
  qty: { type: Number, default: 1 },
16
19
  sitem: { type: String, default: '' },
17
20
  tagid: { type: String, default: '' },
18
- returnfor: { type: Boolean, default: false },
21
+ returnfor: { type: Boolean, default: false },//want to remove
19
22
  done: { type: Boolean, default: false },
20
23
  notes: { type: String, default: '' }
21
24
  }, { minimize: false }]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vhp-mongo-models",
3
- "version": "2.1.996",
3
+ "version": "2.1.997",
4
4
  "productName": "VHP Mongo Models",
5
5
  "description": "Mongo Models library to setup Mongoose Schemas",
6
6
  "author": "VHPim",