tango-api-schema 2.6.8 → 2.6.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 +1 -1
- package/schema/billing.model.js +7 -2
package/package.json
CHANGED
package/schema/billing.model.js
CHANGED
|
@@ -50,8 +50,13 @@ const billingSchema = new mongoose.Schema(
|
|
|
50
50
|
},
|
|
51
51
|
proRata: {
|
|
52
52
|
type: String,
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
// 'prorate' = always bill for actual working days (no bump).
|
|
54
|
+
// 'flat' = always bill for the full month regardless of working days.
|
|
55
|
+
// 'before15' / 'after15' = legacy values, still accepted for backward
|
|
56
|
+
// compatibility. Backend reads before15 as flat and after15 as
|
|
57
|
+
// prorate at invoice-generation time.
|
|
58
|
+
enum: ['prorate','flat','before15','after15'],
|
|
59
|
+
default: 'prorate'
|
|
55
60
|
},
|
|
56
61
|
paymentCategory: {
|
|
57
62
|
type: String,
|