nazar-salary 3.4.5 → 3.4.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.
- package/index.d.ts +6 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -830,13 +830,19 @@ declare module 'nazar-salary' {
|
|
|
830
830
|
teachers: number;
|
|
831
831
|
};
|
|
832
832
|
finance: {
|
|
833
|
+
/** Verified payments, NET of bank commission (sum of net_amount) */
|
|
833
834
|
verified_amount: number;
|
|
834
835
|
verified_count: number;
|
|
836
|
+
/** Not-yet-verified payments, GROSS (sum of purchase_amount) — net_amount only exists after verification, so this is not comparable to verified_amount and the two must not be summed */
|
|
837
|
+
not_verified_amount: number;
|
|
838
|
+
not_verified_count: number;
|
|
835
839
|
manager_commission: number;
|
|
836
840
|
teacher_pending_amount: number;
|
|
837
841
|
teacher_pending_count: number;
|
|
838
842
|
/** Total future teacher payments = sum of (remaining_lessons * rate_per_lesson) for all active students */
|
|
839
843
|
future_teacher_payment: number;
|
|
844
|
+
/** Future teacher payments owed for students whose payments fall in the selected month (verified or not). Group courses counted once per group. */
|
|
845
|
+
future_teacher_payment_from_month: number;
|
|
840
846
|
};
|
|
841
847
|
}
|
|
842
848
|
|