vhp-mongo-models 2.1.4 → 2.1.6
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.
|
@@ -32,6 +32,7 @@ let conform = {
|
|
|
32
32
|
let ticketFinal = {
|
|
33
33
|
showReplacement:{type:Boolean,default:false},
|
|
34
34
|
summary:{type:Object,default:{}}, //a static version of the presentation
|
|
35
|
+
approved:{type:Array,default:[]},
|
|
35
36
|
conform:conform,
|
|
36
37
|
invoice:ticketInvoice,
|
|
37
38
|
signature:{type:String,default:''},
|
|
@@ -49,9 +49,11 @@ const ticketFinal = require('./final.js')
|
|
|
49
49
|
}
|
|
50
50
|
*/
|
|
51
51
|
module.exports = {
|
|
52
|
-
id: { type: String, default: '' },
|
|
52
|
+
id: { type: String, default: '' }, // <00><wonum>
|
|
53
53
|
ref: { type: Object, default: {} },
|
|
54
54
|
custid: {type:String, default:''},
|
|
55
|
+
coid:{type:String,default:''},
|
|
56
|
+
wonum:{type:String,default:''}, //the wonum from jonas. relative to the the company
|
|
55
57
|
cat:{type:String,default:''}, //converted cat from jonas. Orginal cat can be found in wo.cat
|
|
56
58
|
dept:{type:String,default:''},
|
|
57
59
|
|
package/index.js
CHANGED