payservedb 9.8.7 → 9.8.9
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.
package/package.json
CHANGED
|
@@ -34,9 +34,11 @@ const ContractPaymentReceiptSchema = new Schema(
|
|
|
34
34
|
type: String,
|
|
35
35
|
trim: true
|
|
36
36
|
},
|
|
37
|
+
// NOT required: a receipt can be created without payment
|
|
38
|
+
|
|
37
39
|
datePaid: {
|
|
38
40
|
type: Date,
|
|
39
|
-
|
|
41
|
+
default: null
|
|
40
42
|
},
|
|
41
43
|
paymentMethod: {
|
|
42
44
|
type: String,
|
|
@@ -49,7 +51,7 @@ const ContractPaymentReceiptSchema = new Schema(
|
|
|
49
51
|
{
|
|
50
52
|
lineType: {
|
|
51
53
|
type: String,
|
|
52
|
-
enum: ['Deposit', '
|
|
54
|
+
enum: ['Deposit', 'Pre-Payment'],
|
|
53
55
|
required: true
|
|
54
56
|
},
|
|
55
57
|
description: {
|