payservedb 7.8.0 → 7.8.1
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
|
@@ -37,7 +37,6 @@ const waterInvoiceSchema = new mongoose.Schema(
|
|
|
37
37
|
default: 0
|
|
38
38
|
},
|
|
39
39
|
|
|
40
|
-
// PAYMENTS - Updated structure
|
|
41
40
|
paymentMethods: {
|
|
42
41
|
mobilePayment: {
|
|
43
42
|
status: {
|
|
@@ -66,9 +65,7 @@ const waterInvoiceSchema = new mongoose.Schema(
|
|
|
66
65
|
}
|
|
67
66
|
}
|
|
68
67
|
},
|
|
69
|
-
|
|
70
|
-
// Add a separate field for the primary payment method used
|
|
71
|
-
primaryPaymentMethod: {
|
|
68
|
+
paymentMethod: {
|
|
72
69
|
type: String,
|
|
73
70
|
enum: ['mobile', 'bank', 'cash', 'mixed'],
|
|
74
71
|
default: null
|