@managesome/eposmatic-toolkit 0.4.63 → 0.4.64

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.
Files changed (27) hide show
  1. package/esm/helpers/store/common-tenant-purchase-order-actions.js +12 -0
  2. package/esm/helpers/store/common-warehouse-purchase-order-actions.js +20 -0
  3. package/esm/helpers/store/tenant-purchase-orders-cart-actions.js +24 -7
  4. package/esm/helpers/store/warehouse-purchase-orders-cart-actions.js +23 -10
  5. package/esm/helpers/utils/index.js +1 -0
  6. package/esm/helpers/utils/tenant-purchase-order-engine.js +47 -0
  7. package/esm/helpers/utils/warehouse-purchase-order-engine.js +63 -4
  8. package/esm/schemas/models/tenant_purchase_orders.js +4 -0
  9. package/esm/schemas/models/warehouse_purchase_orders.js +4 -0
  10. package/lib/helpers/store/common-tenant-purchase-order-actions.d.ts +6 -1
  11. package/lib/helpers/store/common-tenant-purchase-order-actions.js +13 -0
  12. package/lib/helpers/store/common-warehouse-purchase-order-actions.js +20 -0
  13. package/lib/helpers/store/tenant-purchase-orders-cart-actions.js +23 -6
  14. package/lib/helpers/store/warehouse-purchase-orders-cart-actions.js +23 -10
  15. package/lib/helpers/utils/index.d.ts +1 -0
  16. package/lib/helpers/utils/index.js +1 -0
  17. package/lib/helpers/utils/tenant-purchase-order-engine.d.ts +24 -0
  18. package/lib/helpers/utils/tenant-purchase-order-engine.js +51 -0
  19. package/lib/helpers/utils/warehouse-purchase-order-engine.d.ts +23 -1
  20. package/lib/helpers/utils/warehouse-purchase-order-engine.js +65 -4
  21. package/lib/schemas/models/tenant_purchase_orders.d.ts +972 -0
  22. package/lib/schemas/models/tenant_purchase_orders.js +4 -0
  23. package/lib/schemas/models/warehouse_purchase_orders.d.ts +972 -0
  24. package/lib/schemas/models/warehouse_purchase_orders.js +4 -0
  25. package/lib/schemas/types/tenant_purchase_orders.d.ts +2 -1
  26. package/lib/schemas/types/warehouse_purchase_orders.d.ts +2 -1
  27. package/package.json +1 -1
@@ -25,6 +25,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
25
25
  _gst_amount: number;
26
26
  _discount_amount: number;
27
27
  received_quantity: number;
28
+ item_discount_details?: {
29
+ total_discount: number;
30
+ special_discount_id?: string | null | undefined;
31
+ special_discount?: number | null | undefined;
32
+ is_special_discount_percentage?: boolean | null | undefined;
33
+ special_discount_name?: string | null | undefined;
34
+ special_discount_reason?: string | null | undefined;
35
+ special_reference_number?: string | null | undefined;
36
+ } | null | undefined;
28
37
  is_ready?: boolean | null | undefined;
29
38
  void_reason?: string | null | undefined;
30
39
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -40,6 +49,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
40
49
  _gst_amount: number;
41
50
  _discount_amount: number;
42
51
  received_quantity: number;
52
+ item_discount_details?: {
53
+ total_discount: number;
54
+ special_discount_id?: string | null | undefined;
55
+ special_discount?: number | null | undefined;
56
+ is_special_discount_percentage?: boolean | null | undefined;
57
+ special_discount_name?: string | null | undefined;
58
+ special_discount_reason?: string | null | undefined;
59
+ special_reference_number?: string | null | undefined;
60
+ } | null | undefined;
43
61
  is_ready?: boolean | null | undefined;
44
62
  void_reason?: string | null | undefined;
45
63
  }> & {
@@ -55,6 +73,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
55
73
  _gst_amount: number;
56
74
  _discount_amount: number;
57
75
  received_quantity: number;
76
+ item_discount_details?: {
77
+ total_discount: number;
78
+ special_discount_id?: string | null | undefined;
79
+ special_discount?: number | null | undefined;
80
+ is_special_discount_percentage?: boolean | null | undefined;
81
+ special_discount_name?: string | null | undefined;
82
+ special_discount_reason?: string | null | undefined;
83
+ special_reference_number?: string | null | undefined;
84
+ } | null | undefined;
58
85
  is_ready?: boolean | null | undefined;
59
86
  void_reason?: string | null | undefined;
60
87
  }>;
@@ -74,6 +101,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
74
101
  _gst_amount: number;
75
102
  _discount_amount: number;
76
103
  received_quantity: number;
104
+ item_discount_details?: {
105
+ total_discount: number;
106
+ special_discount_id?: string | null | undefined;
107
+ special_discount?: number | null | undefined;
108
+ is_special_discount_percentage?: boolean | null | undefined;
109
+ special_discount_name?: string | null | undefined;
110
+ special_discount_reason?: string | null | undefined;
111
+ special_reference_number?: string | null | undefined;
112
+ } | null | undefined;
77
113
  is_ready?: boolean | null | undefined;
78
114
  void_reason?: string | null | undefined;
79
115
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -89,6 +125,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
89
125
  _gst_amount: number;
90
126
  _discount_amount: number;
91
127
  received_quantity: number;
128
+ item_discount_details?: {
129
+ total_discount: number;
130
+ special_discount_id?: string | null | undefined;
131
+ special_discount?: number | null | undefined;
132
+ is_special_discount_percentage?: boolean | null | undefined;
133
+ special_discount_name?: string | null | undefined;
134
+ special_discount_reason?: string | null | undefined;
135
+ special_reference_number?: string | null | undefined;
136
+ } | null | undefined;
92
137
  is_ready?: boolean | null | undefined;
93
138
  void_reason?: string | null | undefined;
94
139
  }> & {
@@ -104,6 +149,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
104
149
  _gst_amount: number;
105
150
  _discount_amount: number;
106
151
  received_quantity: number;
152
+ item_discount_details?: {
153
+ total_discount: number;
154
+ special_discount_id?: string | null | undefined;
155
+ special_discount?: number | null | undefined;
156
+ is_special_discount_percentage?: boolean | null | undefined;
157
+ special_discount_name?: string | null | undefined;
158
+ special_discount_reason?: string | null | undefined;
159
+ special_reference_number?: string | null | undefined;
160
+ } | null | undefined;
107
161
  is_ready?: boolean | null | undefined;
108
162
  void_reason?: string | null | undefined;
109
163
  }>;
@@ -123,6 +177,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
123
177
  _gst_amount: number;
124
178
  _discount_amount: number;
125
179
  received_quantity: number;
180
+ item_discount_details?: {
181
+ total_discount: number;
182
+ special_discount_id?: string | null | undefined;
183
+ special_discount?: number | null | undefined;
184
+ is_special_discount_percentage?: boolean | null | undefined;
185
+ special_discount_name?: string | null | undefined;
186
+ special_discount_reason?: string | null | undefined;
187
+ special_reference_number?: string | null | undefined;
188
+ } | null | undefined;
126
189
  is_ready?: boolean | null | undefined;
127
190
  void_reason?: string | null | undefined;
128
191
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -138,6 +201,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
138
201
  _gst_amount: number;
139
202
  _discount_amount: number;
140
203
  received_quantity: number;
204
+ item_discount_details?: {
205
+ total_discount: number;
206
+ special_discount_id?: string | null | undefined;
207
+ special_discount?: number | null | undefined;
208
+ is_special_discount_percentage?: boolean | null | undefined;
209
+ special_discount_name?: string | null | undefined;
210
+ special_discount_reason?: string | null | undefined;
211
+ special_reference_number?: string | null | undefined;
212
+ } | null | undefined;
141
213
  is_ready?: boolean | null | undefined;
142
214
  void_reason?: string | null | undefined;
143
215
  }> & {
@@ -153,6 +225,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
153
225
  _gst_amount: number;
154
226
  _discount_amount: number;
155
227
  received_quantity: number;
228
+ item_discount_details?: {
229
+ total_discount: number;
230
+ special_discount_id?: string | null | undefined;
231
+ special_discount?: number | null | undefined;
232
+ is_special_discount_percentage?: boolean | null | undefined;
233
+ special_discount_name?: string | null | undefined;
234
+ special_discount_reason?: string | null | undefined;
235
+ special_reference_number?: string | null | undefined;
236
+ } | null | undefined;
156
237
  is_ready?: boolean | null | undefined;
157
238
  void_reason?: string | null | undefined;
158
239
  }>;
@@ -179,6 +260,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
179
260
  _gst_amount: number;
180
261
  _discount_amount: number;
181
262
  received_quantity: number;
263
+ item_discount_details?: {
264
+ total_discount: number;
265
+ special_discount_id?: string | null | undefined;
266
+ special_discount?: number | null | undefined;
267
+ is_special_discount_percentage?: boolean | null | undefined;
268
+ special_discount_name?: string | null | undefined;
269
+ special_discount_reason?: string | null | undefined;
270
+ special_reference_number?: string | null | undefined;
271
+ } | null | undefined;
182
272
  is_ready?: boolean | null | undefined;
183
273
  void_reason?: string | null | undefined;
184
274
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -194,6 +284,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
194
284
  _gst_amount: number;
195
285
  _discount_amount: number;
196
286
  received_quantity: number;
287
+ item_discount_details?: {
288
+ total_discount: number;
289
+ special_discount_id?: string | null | undefined;
290
+ special_discount?: number | null | undefined;
291
+ is_special_discount_percentage?: boolean | null | undefined;
292
+ special_discount_name?: string | null | undefined;
293
+ special_discount_reason?: string | null | undefined;
294
+ special_reference_number?: string | null | undefined;
295
+ } | null | undefined;
197
296
  is_ready?: boolean | null | undefined;
198
297
  void_reason?: string | null | undefined;
199
298
  }> & {
@@ -209,6 +308,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
209
308
  _gst_amount: number;
210
309
  _discount_amount: number;
211
310
  received_quantity: number;
311
+ item_discount_details?: {
312
+ total_discount: number;
313
+ special_discount_id?: string | null | undefined;
314
+ special_discount?: number | null | undefined;
315
+ is_special_discount_percentage?: boolean | null | undefined;
316
+ special_discount_name?: string | null | undefined;
317
+ special_discount_reason?: string | null | undefined;
318
+ special_reference_number?: string | null | undefined;
319
+ } | null | undefined;
212
320
  is_ready?: boolean | null | undefined;
213
321
  void_reason?: string | null | undefined;
214
322
  }>;
@@ -228,6 +336,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
228
336
  _gst_amount: number;
229
337
  _discount_amount: number;
230
338
  received_quantity: number;
339
+ item_discount_details?: {
340
+ total_discount: number;
341
+ special_discount_id?: string | null | undefined;
342
+ special_discount?: number | null | undefined;
343
+ is_special_discount_percentage?: boolean | null | undefined;
344
+ special_discount_name?: string | null | undefined;
345
+ special_discount_reason?: string | null | undefined;
346
+ special_reference_number?: string | null | undefined;
347
+ } | null | undefined;
231
348
  is_ready?: boolean | null | undefined;
232
349
  void_reason?: string | null | undefined;
233
350
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -243,6 +360,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
243
360
  _gst_amount: number;
244
361
  _discount_amount: number;
245
362
  received_quantity: number;
363
+ item_discount_details?: {
364
+ total_discount: number;
365
+ special_discount_id?: string | null | undefined;
366
+ special_discount?: number | null | undefined;
367
+ is_special_discount_percentage?: boolean | null | undefined;
368
+ special_discount_name?: string | null | undefined;
369
+ special_discount_reason?: string | null | undefined;
370
+ special_reference_number?: string | null | undefined;
371
+ } | null | undefined;
246
372
  is_ready?: boolean | null | undefined;
247
373
  void_reason?: string | null | undefined;
248
374
  }> & {
@@ -258,6 +384,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
258
384
  _gst_amount: number;
259
385
  _discount_amount: number;
260
386
  received_quantity: number;
387
+ item_discount_details?: {
388
+ total_discount: number;
389
+ special_discount_id?: string | null | undefined;
390
+ special_discount?: number | null | undefined;
391
+ is_special_discount_percentage?: boolean | null | undefined;
392
+ special_discount_name?: string | null | undefined;
393
+ special_discount_reason?: string | null | undefined;
394
+ special_reference_number?: string | null | undefined;
395
+ } | null | undefined;
261
396
  is_ready?: boolean | null | undefined;
262
397
  void_reason?: string | null | undefined;
263
398
  }>;
@@ -277,6 +412,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
277
412
  _gst_amount: number;
278
413
  _discount_amount: number;
279
414
  received_quantity: number;
415
+ item_discount_details?: {
416
+ total_discount: number;
417
+ special_discount_id?: string | null | undefined;
418
+ special_discount?: number | null | undefined;
419
+ is_special_discount_percentage?: boolean | null | undefined;
420
+ special_discount_name?: string | null | undefined;
421
+ special_discount_reason?: string | null | undefined;
422
+ special_reference_number?: string | null | undefined;
423
+ } | null | undefined;
280
424
  is_ready?: boolean | null | undefined;
281
425
  void_reason?: string | null | undefined;
282
426
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -292,6 +436,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
292
436
  _gst_amount: number;
293
437
  _discount_amount: number;
294
438
  received_quantity: number;
439
+ item_discount_details?: {
440
+ total_discount: number;
441
+ special_discount_id?: string | null | undefined;
442
+ special_discount?: number | null | undefined;
443
+ is_special_discount_percentage?: boolean | null | undefined;
444
+ special_discount_name?: string | null | undefined;
445
+ special_discount_reason?: string | null | undefined;
446
+ special_reference_number?: string | null | undefined;
447
+ } | null | undefined;
295
448
  is_ready?: boolean | null | undefined;
296
449
  void_reason?: string | null | undefined;
297
450
  }> & {
@@ -307,6 +460,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
307
460
  _gst_amount: number;
308
461
  _discount_amount: number;
309
462
  received_quantity: number;
463
+ item_discount_details?: {
464
+ total_discount: number;
465
+ special_discount_id?: string | null | undefined;
466
+ special_discount?: number | null | undefined;
467
+ is_special_discount_percentage?: boolean | null | undefined;
468
+ special_discount_name?: string | null | undefined;
469
+ special_discount_reason?: string | null | undefined;
470
+ special_reference_number?: string | null | undefined;
471
+ } | null | undefined;
310
472
  is_ready?: boolean | null | undefined;
311
473
  void_reason?: string | null | undefined;
312
474
  }>;
@@ -416,6 +578,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
416
578
  _gst_amount: number;
417
579
  _discount_amount: number;
418
580
  received_quantity: number;
581
+ item_discount_details?: {
582
+ total_discount: number;
583
+ special_discount_id?: string | null | undefined;
584
+ special_discount?: number | null | undefined;
585
+ is_special_discount_percentage?: boolean | null | undefined;
586
+ special_discount_name?: string | null | undefined;
587
+ special_discount_reason?: string | null | undefined;
588
+ special_reference_number?: string | null | undefined;
589
+ } | null | undefined;
419
590
  is_ready?: boolean | null | undefined;
420
591
  void_reason?: string | null | undefined;
421
592
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -431,6 +602,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
431
602
  _gst_amount: number;
432
603
  _discount_amount: number;
433
604
  received_quantity: number;
605
+ item_discount_details?: {
606
+ total_discount: number;
607
+ special_discount_id?: string | null | undefined;
608
+ special_discount?: number | null | undefined;
609
+ is_special_discount_percentage?: boolean | null | undefined;
610
+ special_discount_name?: string | null | undefined;
611
+ special_discount_reason?: string | null | undefined;
612
+ special_reference_number?: string | null | undefined;
613
+ } | null | undefined;
434
614
  is_ready?: boolean | null | undefined;
435
615
  void_reason?: string | null | undefined;
436
616
  }> & {
@@ -446,6 +626,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
446
626
  _gst_amount: number;
447
627
  _discount_amount: number;
448
628
  received_quantity: number;
629
+ item_discount_details?: {
630
+ total_discount: number;
631
+ special_discount_id?: string | null | undefined;
632
+ special_discount?: number | null | undefined;
633
+ is_special_discount_percentage?: boolean | null | undefined;
634
+ special_discount_name?: string | null | undefined;
635
+ special_discount_reason?: string | null | undefined;
636
+ special_reference_number?: string | null | undefined;
637
+ } | null | undefined;
449
638
  is_ready?: boolean | null | undefined;
450
639
  void_reason?: string | null | undefined;
451
640
  }>;
@@ -465,6 +654,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
465
654
  _gst_amount: number;
466
655
  _discount_amount: number;
467
656
  received_quantity: number;
657
+ item_discount_details?: {
658
+ total_discount: number;
659
+ special_discount_id?: string | null | undefined;
660
+ special_discount?: number | null | undefined;
661
+ is_special_discount_percentage?: boolean | null | undefined;
662
+ special_discount_name?: string | null | undefined;
663
+ special_discount_reason?: string | null | undefined;
664
+ special_reference_number?: string | null | undefined;
665
+ } | null | undefined;
468
666
  is_ready?: boolean | null | undefined;
469
667
  void_reason?: string | null | undefined;
470
668
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -480,6 +678,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
480
678
  _gst_amount: number;
481
679
  _discount_amount: number;
482
680
  received_quantity: number;
681
+ item_discount_details?: {
682
+ total_discount: number;
683
+ special_discount_id?: string | null | undefined;
684
+ special_discount?: number | null | undefined;
685
+ is_special_discount_percentage?: boolean | null | undefined;
686
+ special_discount_name?: string | null | undefined;
687
+ special_discount_reason?: string | null | undefined;
688
+ special_reference_number?: string | null | undefined;
689
+ } | null | undefined;
483
690
  is_ready?: boolean | null | undefined;
484
691
  void_reason?: string | null | undefined;
485
692
  }> & {
@@ -495,6 +702,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
495
702
  _gst_amount: number;
496
703
  _discount_amount: number;
497
704
  received_quantity: number;
705
+ item_discount_details?: {
706
+ total_discount: number;
707
+ special_discount_id?: string | null | undefined;
708
+ special_discount?: number | null | undefined;
709
+ is_special_discount_percentage?: boolean | null | undefined;
710
+ special_discount_name?: string | null | undefined;
711
+ special_discount_reason?: string | null | undefined;
712
+ special_reference_number?: string | null | undefined;
713
+ } | null | undefined;
498
714
  is_ready?: boolean | null | undefined;
499
715
  void_reason?: string | null | undefined;
500
716
  }>;
@@ -514,6 +730,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
514
730
  _gst_amount: number;
515
731
  _discount_amount: number;
516
732
  received_quantity: number;
733
+ item_discount_details?: {
734
+ total_discount: number;
735
+ special_discount_id?: string | null | undefined;
736
+ special_discount?: number | null | undefined;
737
+ is_special_discount_percentage?: boolean | null | undefined;
738
+ special_discount_name?: string | null | undefined;
739
+ special_discount_reason?: string | null | undefined;
740
+ special_reference_number?: string | null | undefined;
741
+ } | null | undefined;
517
742
  is_ready?: boolean | null | undefined;
518
743
  void_reason?: string | null | undefined;
519
744
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -529,6 +754,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
529
754
  _gst_amount: number;
530
755
  _discount_amount: number;
531
756
  received_quantity: number;
757
+ item_discount_details?: {
758
+ total_discount: number;
759
+ special_discount_id?: string | null | undefined;
760
+ special_discount?: number | null | undefined;
761
+ is_special_discount_percentage?: boolean | null | undefined;
762
+ special_discount_name?: string | null | undefined;
763
+ special_discount_reason?: string | null | undefined;
764
+ special_reference_number?: string | null | undefined;
765
+ } | null | undefined;
532
766
  is_ready?: boolean | null | undefined;
533
767
  void_reason?: string | null | undefined;
534
768
  }> & {
@@ -544,6 +778,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
544
778
  _gst_amount: number;
545
779
  _discount_amount: number;
546
780
  received_quantity: number;
781
+ item_discount_details?: {
782
+ total_discount: number;
783
+ special_discount_id?: string | null | undefined;
784
+ special_discount?: number | null | undefined;
785
+ is_special_discount_percentage?: boolean | null | undefined;
786
+ special_discount_name?: string | null | undefined;
787
+ special_discount_reason?: string | null | undefined;
788
+ special_reference_number?: string | null | undefined;
789
+ } | null | undefined;
547
790
  is_ready?: boolean | null | undefined;
548
791
  void_reason?: string | null | undefined;
549
792
  }>;
@@ -653,6 +896,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
653
896
  _gst_amount: number;
654
897
  _discount_amount: number;
655
898
  received_quantity: number;
899
+ item_discount_details?: {
900
+ total_discount: number;
901
+ special_discount_id?: string | null | undefined;
902
+ special_discount?: number | null | undefined;
903
+ is_special_discount_percentage?: boolean | null | undefined;
904
+ special_discount_name?: string | null | undefined;
905
+ special_discount_reason?: string | null | undefined;
906
+ special_reference_number?: string | null | undefined;
907
+ } | null | undefined;
656
908
  is_ready?: boolean | null | undefined;
657
909
  void_reason?: string | null | undefined;
658
910
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -668,6 +920,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
668
920
  _gst_amount: number;
669
921
  _discount_amount: number;
670
922
  received_quantity: number;
923
+ item_discount_details?: {
924
+ total_discount: number;
925
+ special_discount_id?: string | null | undefined;
926
+ special_discount?: number | null | undefined;
927
+ is_special_discount_percentage?: boolean | null | undefined;
928
+ special_discount_name?: string | null | undefined;
929
+ special_discount_reason?: string | null | undefined;
930
+ special_reference_number?: string | null | undefined;
931
+ } | null | undefined;
671
932
  is_ready?: boolean | null | undefined;
672
933
  void_reason?: string | null | undefined;
673
934
  }> & {
@@ -683,6 +944,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
683
944
  _gst_amount: number;
684
945
  _discount_amount: number;
685
946
  received_quantity: number;
947
+ item_discount_details?: {
948
+ total_discount: number;
949
+ special_discount_id?: string | null | undefined;
950
+ special_discount?: number | null | undefined;
951
+ is_special_discount_percentage?: boolean | null | undefined;
952
+ special_discount_name?: string | null | undefined;
953
+ special_discount_reason?: string | null | undefined;
954
+ special_reference_number?: string | null | undefined;
955
+ } | null | undefined;
686
956
  is_ready?: boolean | null | undefined;
687
957
  void_reason?: string | null | undefined;
688
958
  }>;
@@ -702,6 +972,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
702
972
  _gst_amount: number;
703
973
  _discount_amount: number;
704
974
  received_quantity: number;
975
+ item_discount_details?: {
976
+ total_discount: number;
977
+ special_discount_id?: string | null | undefined;
978
+ special_discount?: number | null | undefined;
979
+ is_special_discount_percentage?: boolean | null | undefined;
980
+ special_discount_name?: string | null | undefined;
981
+ special_discount_reason?: string | null | undefined;
982
+ special_reference_number?: string | null | undefined;
983
+ } | null | undefined;
705
984
  is_ready?: boolean | null | undefined;
706
985
  void_reason?: string | null | undefined;
707
986
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -717,6 +996,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
717
996
  _gst_amount: number;
718
997
  _discount_amount: number;
719
998
  received_quantity: number;
999
+ item_discount_details?: {
1000
+ total_discount: number;
1001
+ special_discount_id?: string | null | undefined;
1002
+ special_discount?: number | null | undefined;
1003
+ is_special_discount_percentage?: boolean | null | undefined;
1004
+ special_discount_name?: string | null | undefined;
1005
+ special_discount_reason?: string | null | undefined;
1006
+ special_reference_number?: string | null | undefined;
1007
+ } | null | undefined;
720
1008
  is_ready?: boolean | null | undefined;
721
1009
  void_reason?: string | null | undefined;
722
1010
  }> & {
@@ -732,6 +1020,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
732
1020
  _gst_amount: number;
733
1021
  _discount_amount: number;
734
1022
  received_quantity: number;
1023
+ item_discount_details?: {
1024
+ total_discount: number;
1025
+ special_discount_id?: string | null | undefined;
1026
+ special_discount?: number | null | undefined;
1027
+ is_special_discount_percentage?: boolean | null | undefined;
1028
+ special_discount_name?: string | null | undefined;
1029
+ special_discount_reason?: string | null | undefined;
1030
+ special_reference_number?: string | null | undefined;
1031
+ } | null | undefined;
735
1032
  is_ready?: boolean | null | undefined;
736
1033
  void_reason?: string | null | undefined;
737
1034
  }>;
@@ -751,6 +1048,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
751
1048
  _gst_amount: number;
752
1049
  _discount_amount: number;
753
1050
  received_quantity: number;
1051
+ item_discount_details?: {
1052
+ total_discount: number;
1053
+ special_discount_id?: string | null | undefined;
1054
+ special_discount?: number | null | undefined;
1055
+ is_special_discount_percentage?: boolean | null | undefined;
1056
+ special_discount_name?: string | null | undefined;
1057
+ special_discount_reason?: string | null | undefined;
1058
+ special_reference_number?: string | null | undefined;
1059
+ } | null | undefined;
754
1060
  is_ready?: boolean | null | undefined;
755
1061
  void_reason?: string | null | undefined;
756
1062
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -766,6 +1072,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
766
1072
  _gst_amount: number;
767
1073
  _discount_amount: number;
768
1074
  received_quantity: number;
1075
+ item_discount_details?: {
1076
+ total_discount: number;
1077
+ special_discount_id?: string | null | undefined;
1078
+ special_discount?: number | null | undefined;
1079
+ is_special_discount_percentage?: boolean | null | undefined;
1080
+ special_discount_name?: string | null | undefined;
1081
+ special_discount_reason?: string | null | undefined;
1082
+ special_reference_number?: string | null | undefined;
1083
+ } | null | undefined;
769
1084
  is_ready?: boolean | null | undefined;
770
1085
  void_reason?: string | null | undefined;
771
1086
  }> & {
@@ -781,6 +1096,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
781
1096
  _gst_amount: number;
782
1097
  _discount_amount: number;
783
1098
  received_quantity: number;
1099
+ item_discount_details?: {
1100
+ total_discount: number;
1101
+ special_discount_id?: string | null | undefined;
1102
+ special_discount?: number | null | undefined;
1103
+ is_special_discount_percentage?: boolean | null | undefined;
1104
+ special_discount_name?: string | null | undefined;
1105
+ special_discount_reason?: string | null | undefined;
1106
+ special_reference_number?: string | null | undefined;
1107
+ } | null | undefined;
784
1108
  is_ready?: boolean | null | undefined;
785
1109
  void_reason?: string | null | undefined;
786
1110
  }>;
@@ -993,6 +1317,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
993
1317
  _gst_amount: number;
994
1318
  _discount_amount: number;
995
1319
  received_quantity: number;
1320
+ item_discount_details?: {
1321
+ total_discount: number;
1322
+ special_discount_id?: string | null | undefined;
1323
+ special_discount?: number | null | undefined;
1324
+ is_special_discount_percentage?: boolean | null | undefined;
1325
+ special_discount_name?: string | null | undefined;
1326
+ special_discount_reason?: string | null | undefined;
1327
+ special_reference_number?: string | null | undefined;
1328
+ } | null | undefined;
996
1329
  is_ready?: boolean | null | undefined;
997
1330
  void_reason?: string | null | undefined;
998
1331
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -1008,6 +1341,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1008
1341
  _gst_amount: number;
1009
1342
  _discount_amount: number;
1010
1343
  received_quantity: number;
1344
+ item_discount_details?: {
1345
+ total_discount: number;
1346
+ special_discount_id?: string | null | undefined;
1347
+ special_discount?: number | null | undefined;
1348
+ is_special_discount_percentage?: boolean | null | undefined;
1349
+ special_discount_name?: string | null | undefined;
1350
+ special_discount_reason?: string | null | undefined;
1351
+ special_reference_number?: string | null | undefined;
1352
+ } | null | undefined;
1011
1353
  is_ready?: boolean | null | undefined;
1012
1354
  void_reason?: string | null | undefined;
1013
1355
  }> & {
@@ -1023,6 +1365,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1023
1365
  _gst_amount: number;
1024
1366
  _discount_amount: number;
1025
1367
  received_quantity: number;
1368
+ item_discount_details?: {
1369
+ total_discount: number;
1370
+ special_discount_id?: string | null | undefined;
1371
+ special_discount?: number | null | undefined;
1372
+ is_special_discount_percentage?: boolean | null | undefined;
1373
+ special_discount_name?: string | null | undefined;
1374
+ special_discount_reason?: string | null | undefined;
1375
+ special_reference_number?: string | null | undefined;
1376
+ } | null | undefined;
1026
1377
  is_ready?: boolean | null | undefined;
1027
1378
  void_reason?: string | null | undefined;
1028
1379
  }>;
@@ -1042,6 +1393,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1042
1393
  _gst_amount: number;
1043
1394
  _discount_amount: number;
1044
1395
  received_quantity: number;
1396
+ item_discount_details?: {
1397
+ total_discount: number;
1398
+ special_discount_id?: string | null | undefined;
1399
+ special_discount?: number | null | undefined;
1400
+ is_special_discount_percentage?: boolean | null | undefined;
1401
+ special_discount_name?: string | null | undefined;
1402
+ special_discount_reason?: string | null | undefined;
1403
+ special_reference_number?: string | null | undefined;
1404
+ } | null | undefined;
1045
1405
  is_ready?: boolean | null | undefined;
1046
1406
  void_reason?: string | null | undefined;
1047
1407
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -1057,6 +1417,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1057
1417
  _gst_amount: number;
1058
1418
  _discount_amount: number;
1059
1419
  received_quantity: number;
1420
+ item_discount_details?: {
1421
+ total_discount: number;
1422
+ special_discount_id?: string | null | undefined;
1423
+ special_discount?: number | null | undefined;
1424
+ is_special_discount_percentage?: boolean | null | undefined;
1425
+ special_discount_name?: string | null | undefined;
1426
+ special_discount_reason?: string | null | undefined;
1427
+ special_reference_number?: string | null | undefined;
1428
+ } | null | undefined;
1060
1429
  is_ready?: boolean | null | undefined;
1061
1430
  void_reason?: string | null | undefined;
1062
1431
  }> & {
@@ -1072,6 +1441,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1072
1441
  _gst_amount: number;
1073
1442
  _discount_amount: number;
1074
1443
  received_quantity: number;
1444
+ item_discount_details?: {
1445
+ total_discount: number;
1446
+ special_discount_id?: string | null | undefined;
1447
+ special_discount?: number | null | undefined;
1448
+ is_special_discount_percentage?: boolean | null | undefined;
1449
+ special_discount_name?: string | null | undefined;
1450
+ special_discount_reason?: string | null | undefined;
1451
+ special_reference_number?: string | null | undefined;
1452
+ } | null | undefined;
1075
1453
  is_ready?: boolean | null | undefined;
1076
1454
  void_reason?: string | null | undefined;
1077
1455
  }>;
@@ -1091,6 +1469,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1091
1469
  _gst_amount: number;
1092
1470
  _discount_amount: number;
1093
1471
  received_quantity: number;
1472
+ item_discount_details?: {
1473
+ total_discount: number;
1474
+ special_discount_id?: string | null | undefined;
1475
+ special_discount?: number | null | undefined;
1476
+ is_special_discount_percentage?: boolean | null | undefined;
1477
+ special_discount_name?: string | null | undefined;
1478
+ special_discount_reason?: string | null | undefined;
1479
+ special_reference_number?: string | null | undefined;
1480
+ } | null | undefined;
1094
1481
  is_ready?: boolean | null | undefined;
1095
1482
  void_reason?: string | null | undefined;
1096
1483
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -1106,6 +1493,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1106
1493
  _gst_amount: number;
1107
1494
  _discount_amount: number;
1108
1495
  received_quantity: number;
1496
+ item_discount_details?: {
1497
+ total_discount: number;
1498
+ special_discount_id?: string | null | undefined;
1499
+ special_discount?: number | null | undefined;
1500
+ is_special_discount_percentage?: boolean | null | undefined;
1501
+ special_discount_name?: string | null | undefined;
1502
+ special_discount_reason?: string | null | undefined;
1503
+ special_reference_number?: string | null | undefined;
1504
+ } | null | undefined;
1109
1505
  is_ready?: boolean | null | undefined;
1110
1506
  void_reason?: string | null | undefined;
1111
1507
  }> & {
@@ -1121,6 +1517,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1121
1517
  _gst_amount: number;
1122
1518
  _discount_amount: number;
1123
1519
  received_quantity: number;
1520
+ item_discount_details?: {
1521
+ total_discount: number;
1522
+ special_discount_id?: string | null | undefined;
1523
+ special_discount?: number | null | undefined;
1524
+ is_special_discount_percentage?: boolean | null | undefined;
1525
+ special_discount_name?: string | null | undefined;
1526
+ special_discount_reason?: string | null | undefined;
1527
+ special_reference_number?: string | null | undefined;
1528
+ } | null | undefined;
1124
1529
  is_ready?: boolean | null | undefined;
1125
1530
  void_reason?: string | null | undefined;
1126
1531
  }>;
@@ -1147,6 +1552,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1147
1552
  _gst_amount: number;
1148
1553
  _discount_amount: number;
1149
1554
  received_quantity: number;
1555
+ item_discount_details?: {
1556
+ total_discount: number;
1557
+ special_discount_id?: string | null | undefined;
1558
+ special_discount?: number | null | undefined;
1559
+ is_special_discount_percentage?: boolean | null | undefined;
1560
+ special_discount_name?: string | null | undefined;
1561
+ special_discount_reason?: string | null | undefined;
1562
+ special_reference_number?: string | null | undefined;
1563
+ } | null | undefined;
1150
1564
  is_ready?: boolean | null | undefined;
1151
1565
  void_reason?: string | null | undefined;
1152
1566
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -1162,6 +1576,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1162
1576
  _gst_amount: number;
1163
1577
  _discount_amount: number;
1164
1578
  received_quantity: number;
1579
+ item_discount_details?: {
1580
+ total_discount: number;
1581
+ special_discount_id?: string | null | undefined;
1582
+ special_discount?: number | null | undefined;
1583
+ is_special_discount_percentage?: boolean | null | undefined;
1584
+ special_discount_name?: string | null | undefined;
1585
+ special_discount_reason?: string | null | undefined;
1586
+ special_reference_number?: string | null | undefined;
1587
+ } | null | undefined;
1165
1588
  is_ready?: boolean | null | undefined;
1166
1589
  void_reason?: string | null | undefined;
1167
1590
  }> & {
@@ -1177,6 +1600,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1177
1600
  _gst_amount: number;
1178
1601
  _discount_amount: number;
1179
1602
  received_quantity: number;
1603
+ item_discount_details?: {
1604
+ total_discount: number;
1605
+ special_discount_id?: string | null | undefined;
1606
+ special_discount?: number | null | undefined;
1607
+ is_special_discount_percentage?: boolean | null | undefined;
1608
+ special_discount_name?: string | null | undefined;
1609
+ special_discount_reason?: string | null | undefined;
1610
+ special_reference_number?: string | null | undefined;
1611
+ } | null | undefined;
1180
1612
  is_ready?: boolean | null | undefined;
1181
1613
  void_reason?: string | null | undefined;
1182
1614
  }>;
@@ -1196,6 +1628,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1196
1628
  _gst_amount: number;
1197
1629
  _discount_amount: number;
1198
1630
  received_quantity: number;
1631
+ item_discount_details?: {
1632
+ total_discount: number;
1633
+ special_discount_id?: string | null | undefined;
1634
+ special_discount?: number | null | undefined;
1635
+ is_special_discount_percentage?: boolean | null | undefined;
1636
+ special_discount_name?: string | null | undefined;
1637
+ special_discount_reason?: string | null | undefined;
1638
+ special_reference_number?: string | null | undefined;
1639
+ } | null | undefined;
1199
1640
  is_ready?: boolean | null | undefined;
1200
1641
  void_reason?: string | null | undefined;
1201
1642
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -1211,6 +1652,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1211
1652
  _gst_amount: number;
1212
1653
  _discount_amount: number;
1213
1654
  received_quantity: number;
1655
+ item_discount_details?: {
1656
+ total_discount: number;
1657
+ special_discount_id?: string | null | undefined;
1658
+ special_discount?: number | null | undefined;
1659
+ is_special_discount_percentage?: boolean | null | undefined;
1660
+ special_discount_name?: string | null | undefined;
1661
+ special_discount_reason?: string | null | undefined;
1662
+ special_reference_number?: string | null | undefined;
1663
+ } | null | undefined;
1214
1664
  is_ready?: boolean | null | undefined;
1215
1665
  void_reason?: string | null | undefined;
1216
1666
  }> & {
@@ -1226,6 +1676,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1226
1676
  _gst_amount: number;
1227
1677
  _discount_amount: number;
1228
1678
  received_quantity: number;
1679
+ item_discount_details?: {
1680
+ total_discount: number;
1681
+ special_discount_id?: string | null | undefined;
1682
+ special_discount?: number | null | undefined;
1683
+ is_special_discount_percentage?: boolean | null | undefined;
1684
+ special_discount_name?: string | null | undefined;
1685
+ special_discount_reason?: string | null | undefined;
1686
+ special_reference_number?: string | null | undefined;
1687
+ } | null | undefined;
1229
1688
  is_ready?: boolean | null | undefined;
1230
1689
  void_reason?: string | null | undefined;
1231
1690
  }>;
@@ -1245,6 +1704,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1245
1704
  _gst_amount: number;
1246
1705
  _discount_amount: number;
1247
1706
  received_quantity: number;
1707
+ item_discount_details?: {
1708
+ total_discount: number;
1709
+ special_discount_id?: string | null | undefined;
1710
+ special_discount?: number | null | undefined;
1711
+ is_special_discount_percentage?: boolean | null | undefined;
1712
+ special_discount_name?: string | null | undefined;
1713
+ special_discount_reason?: string | null | undefined;
1714
+ special_reference_number?: string | null | undefined;
1715
+ } | null | undefined;
1248
1716
  is_ready?: boolean | null | undefined;
1249
1717
  void_reason?: string | null | undefined;
1250
1718
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -1260,6 +1728,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1260
1728
  _gst_amount: number;
1261
1729
  _discount_amount: number;
1262
1730
  received_quantity: number;
1731
+ item_discount_details?: {
1732
+ total_discount: number;
1733
+ special_discount_id?: string | null | undefined;
1734
+ special_discount?: number | null | undefined;
1735
+ is_special_discount_percentage?: boolean | null | undefined;
1736
+ special_discount_name?: string | null | undefined;
1737
+ special_discount_reason?: string | null | undefined;
1738
+ special_reference_number?: string | null | undefined;
1739
+ } | null | undefined;
1263
1740
  is_ready?: boolean | null | undefined;
1264
1741
  void_reason?: string | null | undefined;
1265
1742
  }> & {
@@ -1275,6 +1752,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1275
1752
  _gst_amount: number;
1276
1753
  _discount_amount: number;
1277
1754
  received_quantity: number;
1755
+ item_discount_details?: {
1756
+ total_discount: number;
1757
+ special_discount_id?: string | null | undefined;
1758
+ special_discount?: number | null | undefined;
1759
+ is_special_discount_percentage?: boolean | null | undefined;
1760
+ special_discount_name?: string | null | undefined;
1761
+ special_discount_reason?: string | null | undefined;
1762
+ special_reference_number?: string | null | undefined;
1763
+ } | null | undefined;
1278
1764
  is_ready?: boolean | null | undefined;
1279
1765
  void_reason?: string | null | undefined;
1280
1766
  }>;
@@ -1384,6 +1870,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1384
1870
  _gst_amount: number;
1385
1871
  _discount_amount: number;
1386
1872
  received_quantity: number;
1873
+ item_discount_details?: {
1874
+ total_discount: number;
1875
+ special_discount_id?: string | null | undefined;
1876
+ special_discount?: number | null | undefined;
1877
+ is_special_discount_percentage?: boolean | null | undefined;
1878
+ special_discount_name?: string | null | undefined;
1879
+ special_discount_reason?: string | null | undefined;
1880
+ special_reference_number?: string | null | undefined;
1881
+ } | null | undefined;
1387
1882
  is_ready?: boolean | null | undefined;
1388
1883
  void_reason?: string | null | undefined;
1389
1884
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -1399,6 +1894,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1399
1894
  _gst_amount: number;
1400
1895
  _discount_amount: number;
1401
1896
  received_quantity: number;
1897
+ item_discount_details?: {
1898
+ total_discount: number;
1899
+ special_discount_id?: string | null | undefined;
1900
+ special_discount?: number | null | undefined;
1901
+ is_special_discount_percentage?: boolean | null | undefined;
1902
+ special_discount_name?: string | null | undefined;
1903
+ special_discount_reason?: string | null | undefined;
1904
+ special_reference_number?: string | null | undefined;
1905
+ } | null | undefined;
1402
1906
  is_ready?: boolean | null | undefined;
1403
1907
  void_reason?: string | null | undefined;
1404
1908
  }> & {
@@ -1414,6 +1918,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1414
1918
  _gst_amount: number;
1415
1919
  _discount_amount: number;
1416
1920
  received_quantity: number;
1921
+ item_discount_details?: {
1922
+ total_discount: number;
1923
+ special_discount_id?: string | null | undefined;
1924
+ special_discount?: number | null | undefined;
1925
+ is_special_discount_percentage?: boolean | null | undefined;
1926
+ special_discount_name?: string | null | undefined;
1927
+ special_discount_reason?: string | null | undefined;
1928
+ special_reference_number?: string | null | undefined;
1929
+ } | null | undefined;
1417
1930
  is_ready?: boolean | null | undefined;
1418
1931
  void_reason?: string | null | undefined;
1419
1932
  }>;
@@ -1433,6 +1946,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1433
1946
  _gst_amount: number;
1434
1947
  _discount_amount: number;
1435
1948
  received_quantity: number;
1949
+ item_discount_details?: {
1950
+ total_discount: number;
1951
+ special_discount_id?: string | null | undefined;
1952
+ special_discount?: number | null | undefined;
1953
+ is_special_discount_percentage?: boolean | null | undefined;
1954
+ special_discount_name?: string | null | undefined;
1955
+ special_discount_reason?: string | null | undefined;
1956
+ special_reference_number?: string | null | undefined;
1957
+ } | null | undefined;
1436
1958
  is_ready?: boolean | null | undefined;
1437
1959
  void_reason?: string | null | undefined;
1438
1960
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -1448,6 +1970,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1448
1970
  _gst_amount: number;
1449
1971
  _discount_amount: number;
1450
1972
  received_quantity: number;
1973
+ item_discount_details?: {
1974
+ total_discount: number;
1975
+ special_discount_id?: string | null | undefined;
1976
+ special_discount?: number | null | undefined;
1977
+ is_special_discount_percentage?: boolean | null | undefined;
1978
+ special_discount_name?: string | null | undefined;
1979
+ special_discount_reason?: string | null | undefined;
1980
+ special_reference_number?: string | null | undefined;
1981
+ } | null | undefined;
1451
1982
  is_ready?: boolean | null | undefined;
1452
1983
  void_reason?: string | null | undefined;
1453
1984
  }> & {
@@ -1463,6 +1994,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1463
1994
  _gst_amount: number;
1464
1995
  _discount_amount: number;
1465
1996
  received_quantity: number;
1997
+ item_discount_details?: {
1998
+ total_discount: number;
1999
+ special_discount_id?: string | null | undefined;
2000
+ special_discount?: number | null | undefined;
2001
+ is_special_discount_percentage?: boolean | null | undefined;
2002
+ special_discount_name?: string | null | undefined;
2003
+ special_discount_reason?: string | null | undefined;
2004
+ special_reference_number?: string | null | undefined;
2005
+ } | null | undefined;
1466
2006
  is_ready?: boolean | null | undefined;
1467
2007
  void_reason?: string | null | undefined;
1468
2008
  }>;
@@ -1482,6 +2022,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1482
2022
  _gst_amount: number;
1483
2023
  _discount_amount: number;
1484
2024
  received_quantity: number;
2025
+ item_discount_details?: {
2026
+ total_discount: number;
2027
+ special_discount_id?: string | null | undefined;
2028
+ special_discount?: number | null | undefined;
2029
+ is_special_discount_percentage?: boolean | null | undefined;
2030
+ special_discount_name?: string | null | undefined;
2031
+ special_discount_reason?: string | null | undefined;
2032
+ special_reference_number?: string | null | undefined;
2033
+ } | null | undefined;
1485
2034
  is_ready?: boolean | null | undefined;
1486
2035
  void_reason?: string | null | undefined;
1487
2036
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -1497,6 +2046,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1497
2046
  _gst_amount: number;
1498
2047
  _discount_amount: number;
1499
2048
  received_quantity: number;
2049
+ item_discount_details?: {
2050
+ total_discount: number;
2051
+ special_discount_id?: string | null | undefined;
2052
+ special_discount?: number | null | undefined;
2053
+ is_special_discount_percentage?: boolean | null | undefined;
2054
+ special_discount_name?: string | null | undefined;
2055
+ special_discount_reason?: string | null | undefined;
2056
+ special_reference_number?: string | null | undefined;
2057
+ } | null | undefined;
1500
2058
  is_ready?: boolean | null | undefined;
1501
2059
  void_reason?: string | null | undefined;
1502
2060
  }> & {
@@ -1512,6 +2070,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1512
2070
  _gst_amount: number;
1513
2071
  _discount_amount: number;
1514
2072
  received_quantity: number;
2073
+ item_discount_details?: {
2074
+ total_discount: number;
2075
+ special_discount_id?: string | null | undefined;
2076
+ special_discount?: number | null | undefined;
2077
+ is_special_discount_percentage?: boolean | null | undefined;
2078
+ special_discount_name?: string | null | undefined;
2079
+ special_discount_reason?: string | null | undefined;
2080
+ special_reference_number?: string | null | undefined;
2081
+ } | null | undefined;
1515
2082
  is_ready?: boolean | null | undefined;
1516
2083
  void_reason?: string | null | undefined;
1517
2084
  }>;
@@ -1621,6 +2188,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1621
2188
  _gst_amount: number;
1622
2189
  _discount_amount: number;
1623
2190
  received_quantity: number;
2191
+ item_discount_details?: {
2192
+ total_discount: number;
2193
+ special_discount_id?: string | null | undefined;
2194
+ special_discount?: number | null | undefined;
2195
+ is_special_discount_percentage?: boolean | null | undefined;
2196
+ special_discount_name?: string | null | undefined;
2197
+ special_discount_reason?: string | null | undefined;
2198
+ special_reference_number?: string | null | undefined;
2199
+ } | null | undefined;
1624
2200
  is_ready?: boolean | null | undefined;
1625
2201
  void_reason?: string | null | undefined;
1626
2202
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -1636,6 +2212,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1636
2212
  _gst_amount: number;
1637
2213
  _discount_amount: number;
1638
2214
  received_quantity: number;
2215
+ item_discount_details?: {
2216
+ total_discount: number;
2217
+ special_discount_id?: string | null | undefined;
2218
+ special_discount?: number | null | undefined;
2219
+ is_special_discount_percentage?: boolean | null | undefined;
2220
+ special_discount_name?: string | null | undefined;
2221
+ special_discount_reason?: string | null | undefined;
2222
+ special_reference_number?: string | null | undefined;
2223
+ } | null | undefined;
1639
2224
  is_ready?: boolean | null | undefined;
1640
2225
  void_reason?: string | null | undefined;
1641
2226
  }> & {
@@ -1651,6 +2236,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1651
2236
  _gst_amount: number;
1652
2237
  _discount_amount: number;
1653
2238
  received_quantity: number;
2239
+ item_discount_details?: {
2240
+ total_discount: number;
2241
+ special_discount_id?: string | null | undefined;
2242
+ special_discount?: number | null | undefined;
2243
+ is_special_discount_percentage?: boolean | null | undefined;
2244
+ special_discount_name?: string | null | undefined;
2245
+ special_discount_reason?: string | null | undefined;
2246
+ special_reference_number?: string | null | undefined;
2247
+ } | null | undefined;
1654
2248
  is_ready?: boolean | null | undefined;
1655
2249
  void_reason?: string | null | undefined;
1656
2250
  }>;
@@ -1670,6 +2264,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1670
2264
  _gst_amount: number;
1671
2265
  _discount_amount: number;
1672
2266
  received_quantity: number;
2267
+ item_discount_details?: {
2268
+ total_discount: number;
2269
+ special_discount_id?: string | null | undefined;
2270
+ special_discount?: number | null | undefined;
2271
+ is_special_discount_percentage?: boolean | null | undefined;
2272
+ special_discount_name?: string | null | undefined;
2273
+ special_discount_reason?: string | null | undefined;
2274
+ special_reference_number?: string | null | undefined;
2275
+ } | null | undefined;
1673
2276
  is_ready?: boolean | null | undefined;
1674
2277
  void_reason?: string | null | undefined;
1675
2278
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -1685,6 +2288,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1685
2288
  _gst_amount: number;
1686
2289
  _discount_amount: number;
1687
2290
  received_quantity: number;
2291
+ item_discount_details?: {
2292
+ total_discount: number;
2293
+ special_discount_id?: string | null | undefined;
2294
+ special_discount?: number | null | undefined;
2295
+ is_special_discount_percentage?: boolean | null | undefined;
2296
+ special_discount_name?: string | null | undefined;
2297
+ special_discount_reason?: string | null | undefined;
2298
+ special_reference_number?: string | null | undefined;
2299
+ } | null | undefined;
1688
2300
  is_ready?: boolean | null | undefined;
1689
2301
  void_reason?: string | null | undefined;
1690
2302
  }> & {
@@ -1700,6 +2312,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1700
2312
  _gst_amount: number;
1701
2313
  _discount_amount: number;
1702
2314
  received_quantity: number;
2315
+ item_discount_details?: {
2316
+ total_discount: number;
2317
+ special_discount_id?: string | null | undefined;
2318
+ special_discount?: number | null | undefined;
2319
+ is_special_discount_percentage?: boolean | null | undefined;
2320
+ special_discount_name?: string | null | undefined;
2321
+ special_discount_reason?: string | null | undefined;
2322
+ special_reference_number?: string | null | undefined;
2323
+ } | null | undefined;
1703
2324
  is_ready?: boolean | null | undefined;
1704
2325
  void_reason?: string | null | undefined;
1705
2326
  }>;
@@ -1719,6 +2340,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1719
2340
  _gst_amount: number;
1720
2341
  _discount_amount: number;
1721
2342
  received_quantity: number;
2343
+ item_discount_details?: {
2344
+ total_discount: number;
2345
+ special_discount_id?: string | null | undefined;
2346
+ special_discount?: number | null | undefined;
2347
+ is_special_discount_percentage?: boolean | null | undefined;
2348
+ special_discount_name?: string | null | undefined;
2349
+ special_discount_reason?: string | null | undefined;
2350
+ special_reference_number?: string | null | undefined;
2351
+ } | null | undefined;
1722
2352
  is_ready?: boolean | null | undefined;
1723
2353
  void_reason?: string | null | undefined;
1724
2354
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -1734,6 +2364,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1734
2364
  _gst_amount: number;
1735
2365
  _discount_amount: number;
1736
2366
  received_quantity: number;
2367
+ item_discount_details?: {
2368
+ total_discount: number;
2369
+ special_discount_id?: string | null | undefined;
2370
+ special_discount?: number | null | undefined;
2371
+ is_special_discount_percentage?: boolean | null | undefined;
2372
+ special_discount_name?: string | null | undefined;
2373
+ special_discount_reason?: string | null | undefined;
2374
+ special_reference_number?: string | null | undefined;
2375
+ } | null | undefined;
1737
2376
  is_ready?: boolean | null | undefined;
1738
2377
  void_reason?: string | null | undefined;
1739
2378
  }> & {
@@ -1749,6 +2388,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1749
2388
  _gst_amount: number;
1750
2389
  _discount_amount: number;
1751
2390
  received_quantity: number;
2391
+ item_discount_details?: {
2392
+ total_discount: number;
2393
+ special_discount_id?: string | null | undefined;
2394
+ special_discount?: number | null | undefined;
2395
+ is_special_discount_percentage?: boolean | null | undefined;
2396
+ special_discount_name?: string | null | undefined;
2397
+ special_discount_reason?: string | null | undefined;
2398
+ special_reference_number?: string | null | undefined;
2399
+ } | null | undefined;
1752
2400
  is_ready?: boolean | null | undefined;
1753
2401
  void_reason?: string | null | undefined;
1754
2402
  }>;
@@ -1961,6 +2609,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1961
2609
  _gst_amount: number;
1962
2610
  _discount_amount: number;
1963
2611
  received_quantity: number;
2612
+ item_discount_details?: {
2613
+ total_discount: number;
2614
+ special_discount_id?: string | null | undefined;
2615
+ special_discount?: number | null | undefined;
2616
+ is_special_discount_percentage?: boolean | null | undefined;
2617
+ special_discount_name?: string | null | undefined;
2618
+ special_discount_reason?: string | null | undefined;
2619
+ special_reference_number?: string | null | undefined;
2620
+ } | null | undefined;
1964
2621
  is_ready?: boolean | null | undefined;
1965
2622
  void_reason?: string | null | undefined;
1966
2623
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -1976,6 +2633,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1976
2633
  _gst_amount: number;
1977
2634
  _discount_amount: number;
1978
2635
  received_quantity: number;
2636
+ item_discount_details?: {
2637
+ total_discount: number;
2638
+ special_discount_id?: string | null | undefined;
2639
+ special_discount?: number | null | undefined;
2640
+ is_special_discount_percentage?: boolean | null | undefined;
2641
+ special_discount_name?: string | null | undefined;
2642
+ special_discount_reason?: string | null | undefined;
2643
+ special_reference_number?: string | null | undefined;
2644
+ } | null | undefined;
1979
2645
  is_ready?: boolean | null | undefined;
1980
2646
  void_reason?: string | null | undefined;
1981
2647
  }> & {
@@ -1991,6 +2657,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
1991
2657
  _gst_amount: number;
1992
2658
  _discount_amount: number;
1993
2659
  received_quantity: number;
2660
+ item_discount_details?: {
2661
+ total_discount: number;
2662
+ special_discount_id?: string | null | undefined;
2663
+ special_discount?: number | null | undefined;
2664
+ is_special_discount_percentage?: boolean | null | undefined;
2665
+ special_discount_name?: string | null | undefined;
2666
+ special_discount_reason?: string | null | undefined;
2667
+ special_reference_number?: string | null | undefined;
2668
+ } | null | undefined;
1994
2669
  is_ready?: boolean | null | undefined;
1995
2670
  void_reason?: string | null | undefined;
1996
2671
  }>;
@@ -2010,6 +2685,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2010
2685
  _gst_amount: number;
2011
2686
  _discount_amount: number;
2012
2687
  received_quantity: number;
2688
+ item_discount_details?: {
2689
+ total_discount: number;
2690
+ special_discount_id?: string | null | undefined;
2691
+ special_discount?: number | null | undefined;
2692
+ is_special_discount_percentage?: boolean | null | undefined;
2693
+ special_discount_name?: string | null | undefined;
2694
+ special_discount_reason?: string | null | undefined;
2695
+ special_reference_number?: string | null | undefined;
2696
+ } | null | undefined;
2013
2697
  is_ready?: boolean | null | undefined;
2014
2698
  void_reason?: string | null | undefined;
2015
2699
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -2025,6 +2709,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2025
2709
  _gst_amount: number;
2026
2710
  _discount_amount: number;
2027
2711
  received_quantity: number;
2712
+ item_discount_details?: {
2713
+ total_discount: number;
2714
+ special_discount_id?: string | null | undefined;
2715
+ special_discount?: number | null | undefined;
2716
+ is_special_discount_percentage?: boolean | null | undefined;
2717
+ special_discount_name?: string | null | undefined;
2718
+ special_discount_reason?: string | null | undefined;
2719
+ special_reference_number?: string | null | undefined;
2720
+ } | null | undefined;
2028
2721
  is_ready?: boolean | null | undefined;
2029
2722
  void_reason?: string | null | undefined;
2030
2723
  }> & {
@@ -2040,6 +2733,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2040
2733
  _gst_amount: number;
2041
2734
  _discount_amount: number;
2042
2735
  received_quantity: number;
2736
+ item_discount_details?: {
2737
+ total_discount: number;
2738
+ special_discount_id?: string | null | undefined;
2739
+ special_discount?: number | null | undefined;
2740
+ is_special_discount_percentage?: boolean | null | undefined;
2741
+ special_discount_name?: string | null | undefined;
2742
+ special_discount_reason?: string | null | undefined;
2743
+ special_reference_number?: string | null | undefined;
2744
+ } | null | undefined;
2043
2745
  is_ready?: boolean | null | undefined;
2044
2746
  void_reason?: string | null | undefined;
2045
2747
  }>;
@@ -2059,6 +2761,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2059
2761
  _gst_amount: number;
2060
2762
  _discount_amount: number;
2061
2763
  received_quantity: number;
2764
+ item_discount_details?: {
2765
+ total_discount: number;
2766
+ special_discount_id?: string | null | undefined;
2767
+ special_discount?: number | null | undefined;
2768
+ is_special_discount_percentage?: boolean | null | undefined;
2769
+ special_discount_name?: string | null | undefined;
2770
+ special_discount_reason?: string | null | undefined;
2771
+ special_reference_number?: string | null | undefined;
2772
+ } | null | undefined;
2062
2773
  is_ready?: boolean | null | undefined;
2063
2774
  void_reason?: string | null | undefined;
2064
2775
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -2074,6 +2785,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2074
2785
  _gst_amount: number;
2075
2786
  _discount_amount: number;
2076
2787
  received_quantity: number;
2788
+ item_discount_details?: {
2789
+ total_discount: number;
2790
+ special_discount_id?: string | null | undefined;
2791
+ special_discount?: number | null | undefined;
2792
+ is_special_discount_percentage?: boolean | null | undefined;
2793
+ special_discount_name?: string | null | undefined;
2794
+ special_discount_reason?: string | null | undefined;
2795
+ special_reference_number?: string | null | undefined;
2796
+ } | null | undefined;
2077
2797
  is_ready?: boolean | null | undefined;
2078
2798
  void_reason?: string | null | undefined;
2079
2799
  }> & {
@@ -2089,6 +2809,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2089
2809
  _gst_amount: number;
2090
2810
  _discount_amount: number;
2091
2811
  received_quantity: number;
2812
+ item_discount_details?: {
2813
+ total_discount: number;
2814
+ special_discount_id?: string | null | undefined;
2815
+ special_discount?: number | null | undefined;
2816
+ is_special_discount_percentage?: boolean | null | undefined;
2817
+ special_discount_name?: string | null | undefined;
2818
+ special_discount_reason?: string | null | undefined;
2819
+ special_reference_number?: string | null | undefined;
2820
+ } | null | undefined;
2092
2821
  is_ready?: boolean | null | undefined;
2093
2822
  void_reason?: string | null | undefined;
2094
2823
  }>;
@@ -2115,6 +2844,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2115
2844
  _gst_amount: number;
2116
2845
  _discount_amount: number;
2117
2846
  received_quantity: number;
2847
+ item_discount_details?: {
2848
+ total_discount: number;
2849
+ special_discount_id?: string | null | undefined;
2850
+ special_discount?: number | null | undefined;
2851
+ is_special_discount_percentage?: boolean | null | undefined;
2852
+ special_discount_name?: string | null | undefined;
2853
+ special_discount_reason?: string | null | undefined;
2854
+ special_reference_number?: string | null | undefined;
2855
+ } | null | undefined;
2118
2856
  is_ready?: boolean | null | undefined;
2119
2857
  void_reason?: string | null | undefined;
2120
2858
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -2130,6 +2868,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2130
2868
  _gst_amount: number;
2131
2869
  _discount_amount: number;
2132
2870
  received_quantity: number;
2871
+ item_discount_details?: {
2872
+ total_discount: number;
2873
+ special_discount_id?: string | null | undefined;
2874
+ special_discount?: number | null | undefined;
2875
+ is_special_discount_percentage?: boolean | null | undefined;
2876
+ special_discount_name?: string | null | undefined;
2877
+ special_discount_reason?: string | null | undefined;
2878
+ special_reference_number?: string | null | undefined;
2879
+ } | null | undefined;
2133
2880
  is_ready?: boolean | null | undefined;
2134
2881
  void_reason?: string | null | undefined;
2135
2882
  }> & {
@@ -2145,6 +2892,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2145
2892
  _gst_amount: number;
2146
2893
  _discount_amount: number;
2147
2894
  received_quantity: number;
2895
+ item_discount_details?: {
2896
+ total_discount: number;
2897
+ special_discount_id?: string | null | undefined;
2898
+ special_discount?: number | null | undefined;
2899
+ is_special_discount_percentage?: boolean | null | undefined;
2900
+ special_discount_name?: string | null | undefined;
2901
+ special_discount_reason?: string | null | undefined;
2902
+ special_reference_number?: string | null | undefined;
2903
+ } | null | undefined;
2148
2904
  is_ready?: boolean | null | undefined;
2149
2905
  void_reason?: string | null | undefined;
2150
2906
  }>;
@@ -2164,6 +2920,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2164
2920
  _gst_amount: number;
2165
2921
  _discount_amount: number;
2166
2922
  received_quantity: number;
2923
+ item_discount_details?: {
2924
+ total_discount: number;
2925
+ special_discount_id?: string | null | undefined;
2926
+ special_discount?: number | null | undefined;
2927
+ is_special_discount_percentage?: boolean | null | undefined;
2928
+ special_discount_name?: string | null | undefined;
2929
+ special_discount_reason?: string | null | undefined;
2930
+ special_reference_number?: string | null | undefined;
2931
+ } | null | undefined;
2167
2932
  is_ready?: boolean | null | undefined;
2168
2933
  void_reason?: string | null | undefined;
2169
2934
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -2179,6 +2944,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2179
2944
  _gst_amount: number;
2180
2945
  _discount_amount: number;
2181
2946
  received_quantity: number;
2947
+ item_discount_details?: {
2948
+ total_discount: number;
2949
+ special_discount_id?: string | null | undefined;
2950
+ special_discount?: number | null | undefined;
2951
+ is_special_discount_percentage?: boolean | null | undefined;
2952
+ special_discount_name?: string | null | undefined;
2953
+ special_discount_reason?: string | null | undefined;
2954
+ special_reference_number?: string | null | undefined;
2955
+ } | null | undefined;
2182
2956
  is_ready?: boolean | null | undefined;
2183
2957
  void_reason?: string | null | undefined;
2184
2958
  }> & {
@@ -2194,6 +2968,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2194
2968
  _gst_amount: number;
2195
2969
  _discount_amount: number;
2196
2970
  received_quantity: number;
2971
+ item_discount_details?: {
2972
+ total_discount: number;
2973
+ special_discount_id?: string | null | undefined;
2974
+ special_discount?: number | null | undefined;
2975
+ is_special_discount_percentage?: boolean | null | undefined;
2976
+ special_discount_name?: string | null | undefined;
2977
+ special_discount_reason?: string | null | undefined;
2978
+ special_reference_number?: string | null | undefined;
2979
+ } | null | undefined;
2197
2980
  is_ready?: boolean | null | undefined;
2198
2981
  void_reason?: string | null | undefined;
2199
2982
  }>;
@@ -2213,6 +2996,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2213
2996
  _gst_amount: number;
2214
2997
  _discount_amount: number;
2215
2998
  received_quantity: number;
2999
+ item_discount_details?: {
3000
+ total_discount: number;
3001
+ special_discount_id?: string | null | undefined;
3002
+ special_discount?: number | null | undefined;
3003
+ is_special_discount_percentage?: boolean | null | undefined;
3004
+ special_discount_name?: string | null | undefined;
3005
+ special_discount_reason?: string | null | undefined;
3006
+ special_reference_number?: string | null | undefined;
3007
+ } | null | undefined;
2216
3008
  is_ready?: boolean | null | undefined;
2217
3009
  void_reason?: string | null | undefined;
2218
3010
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -2228,6 +3020,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2228
3020
  _gst_amount: number;
2229
3021
  _discount_amount: number;
2230
3022
  received_quantity: number;
3023
+ item_discount_details?: {
3024
+ total_discount: number;
3025
+ special_discount_id?: string | null | undefined;
3026
+ special_discount?: number | null | undefined;
3027
+ is_special_discount_percentage?: boolean | null | undefined;
3028
+ special_discount_name?: string | null | undefined;
3029
+ special_discount_reason?: string | null | undefined;
3030
+ special_reference_number?: string | null | undefined;
3031
+ } | null | undefined;
2231
3032
  is_ready?: boolean | null | undefined;
2232
3033
  void_reason?: string | null | undefined;
2233
3034
  }> & {
@@ -2243,6 +3044,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2243
3044
  _gst_amount: number;
2244
3045
  _discount_amount: number;
2245
3046
  received_quantity: number;
3047
+ item_discount_details?: {
3048
+ total_discount: number;
3049
+ special_discount_id?: string | null | undefined;
3050
+ special_discount?: number | null | undefined;
3051
+ is_special_discount_percentage?: boolean | null | undefined;
3052
+ special_discount_name?: string | null | undefined;
3053
+ special_discount_reason?: string | null | undefined;
3054
+ special_reference_number?: string | null | undefined;
3055
+ } | null | undefined;
2246
3056
  is_ready?: boolean | null | undefined;
2247
3057
  void_reason?: string | null | undefined;
2248
3058
  }>;
@@ -2352,6 +3162,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2352
3162
  _gst_amount: number;
2353
3163
  _discount_amount: number;
2354
3164
  received_quantity: number;
3165
+ item_discount_details?: {
3166
+ total_discount: number;
3167
+ special_discount_id?: string | null | undefined;
3168
+ special_discount?: number | null | undefined;
3169
+ is_special_discount_percentage?: boolean | null | undefined;
3170
+ special_discount_name?: string | null | undefined;
3171
+ special_discount_reason?: string | null | undefined;
3172
+ special_reference_number?: string | null | undefined;
3173
+ } | null | undefined;
2355
3174
  is_ready?: boolean | null | undefined;
2356
3175
  void_reason?: string | null | undefined;
2357
3176
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -2367,6 +3186,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2367
3186
  _gst_amount: number;
2368
3187
  _discount_amount: number;
2369
3188
  received_quantity: number;
3189
+ item_discount_details?: {
3190
+ total_discount: number;
3191
+ special_discount_id?: string | null | undefined;
3192
+ special_discount?: number | null | undefined;
3193
+ is_special_discount_percentage?: boolean | null | undefined;
3194
+ special_discount_name?: string | null | undefined;
3195
+ special_discount_reason?: string | null | undefined;
3196
+ special_reference_number?: string | null | undefined;
3197
+ } | null | undefined;
2370
3198
  is_ready?: boolean | null | undefined;
2371
3199
  void_reason?: string | null | undefined;
2372
3200
  }> & {
@@ -2382,6 +3210,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2382
3210
  _gst_amount: number;
2383
3211
  _discount_amount: number;
2384
3212
  received_quantity: number;
3213
+ item_discount_details?: {
3214
+ total_discount: number;
3215
+ special_discount_id?: string | null | undefined;
3216
+ special_discount?: number | null | undefined;
3217
+ is_special_discount_percentage?: boolean | null | undefined;
3218
+ special_discount_name?: string | null | undefined;
3219
+ special_discount_reason?: string | null | undefined;
3220
+ special_reference_number?: string | null | undefined;
3221
+ } | null | undefined;
2385
3222
  is_ready?: boolean | null | undefined;
2386
3223
  void_reason?: string | null | undefined;
2387
3224
  }>;
@@ -2401,6 +3238,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2401
3238
  _gst_amount: number;
2402
3239
  _discount_amount: number;
2403
3240
  received_quantity: number;
3241
+ item_discount_details?: {
3242
+ total_discount: number;
3243
+ special_discount_id?: string | null | undefined;
3244
+ special_discount?: number | null | undefined;
3245
+ is_special_discount_percentage?: boolean | null | undefined;
3246
+ special_discount_name?: string | null | undefined;
3247
+ special_discount_reason?: string | null | undefined;
3248
+ special_reference_number?: string | null | undefined;
3249
+ } | null | undefined;
2404
3250
  is_ready?: boolean | null | undefined;
2405
3251
  void_reason?: string | null | undefined;
2406
3252
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -2416,6 +3262,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2416
3262
  _gst_amount: number;
2417
3263
  _discount_amount: number;
2418
3264
  received_quantity: number;
3265
+ item_discount_details?: {
3266
+ total_discount: number;
3267
+ special_discount_id?: string | null | undefined;
3268
+ special_discount?: number | null | undefined;
3269
+ is_special_discount_percentage?: boolean | null | undefined;
3270
+ special_discount_name?: string | null | undefined;
3271
+ special_discount_reason?: string | null | undefined;
3272
+ special_reference_number?: string | null | undefined;
3273
+ } | null | undefined;
2419
3274
  is_ready?: boolean | null | undefined;
2420
3275
  void_reason?: string | null | undefined;
2421
3276
  }> & {
@@ -2431,6 +3286,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2431
3286
  _gst_amount: number;
2432
3287
  _discount_amount: number;
2433
3288
  received_quantity: number;
3289
+ item_discount_details?: {
3290
+ total_discount: number;
3291
+ special_discount_id?: string | null | undefined;
3292
+ special_discount?: number | null | undefined;
3293
+ is_special_discount_percentage?: boolean | null | undefined;
3294
+ special_discount_name?: string | null | undefined;
3295
+ special_discount_reason?: string | null | undefined;
3296
+ special_reference_number?: string | null | undefined;
3297
+ } | null | undefined;
2434
3298
  is_ready?: boolean | null | undefined;
2435
3299
  void_reason?: string | null | undefined;
2436
3300
  }>;
@@ -2450,6 +3314,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2450
3314
  _gst_amount: number;
2451
3315
  _discount_amount: number;
2452
3316
  received_quantity: number;
3317
+ item_discount_details?: {
3318
+ total_discount: number;
3319
+ special_discount_id?: string | null | undefined;
3320
+ special_discount?: number | null | undefined;
3321
+ is_special_discount_percentage?: boolean | null | undefined;
3322
+ special_discount_name?: string | null | undefined;
3323
+ special_discount_reason?: string | null | undefined;
3324
+ special_reference_number?: string | null | undefined;
3325
+ } | null | undefined;
2453
3326
  is_ready?: boolean | null | undefined;
2454
3327
  void_reason?: string | null | undefined;
2455
3328
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -2465,6 +3338,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2465
3338
  _gst_amount: number;
2466
3339
  _discount_amount: number;
2467
3340
  received_quantity: number;
3341
+ item_discount_details?: {
3342
+ total_discount: number;
3343
+ special_discount_id?: string | null | undefined;
3344
+ special_discount?: number | null | undefined;
3345
+ is_special_discount_percentage?: boolean | null | undefined;
3346
+ special_discount_name?: string | null | undefined;
3347
+ special_discount_reason?: string | null | undefined;
3348
+ special_reference_number?: string | null | undefined;
3349
+ } | null | undefined;
2468
3350
  is_ready?: boolean | null | undefined;
2469
3351
  void_reason?: string | null | undefined;
2470
3352
  }> & {
@@ -2480,6 +3362,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2480
3362
  _gst_amount: number;
2481
3363
  _discount_amount: number;
2482
3364
  received_quantity: number;
3365
+ item_discount_details?: {
3366
+ total_discount: number;
3367
+ special_discount_id?: string | null | undefined;
3368
+ special_discount?: number | null | undefined;
3369
+ is_special_discount_percentage?: boolean | null | undefined;
3370
+ special_discount_name?: string | null | undefined;
3371
+ special_discount_reason?: string | null | undefined;
3372
+ special_reference_number?: string | null | undefined;
3373
+ } | null | undefined;
2483
3374
  is_ready?: boolean | null | undefined;
2484
3375
  void_reason?: string | null | undefined;
2485
3376
  }>;
@@ -2589,6 +3480,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2589
3480
  _gst_amount: number;
2590
3481
  _discount_amount: number;
2591
3482
  received_quantity: number;
3483
+ item_discount_details?: {
3484
+ total_discount: number;
3485
+ special_discount_id?: string | null | undefined;
3486
+ special_discount?: number | null | undefined;
3487
+ is_special_discount_percentage?: boolean | null | undefined;
3488
+ special_discount_name?: string | null | undefined;
3489
+ special_discount_reason?: string | null | undefined;
3490
+ special_reference_number?: string | null | undefined;
3491
+ } | null | undefined;
2592
3492
  is_ready?: boolean | null | undefined;
2593
3493
  void_reason?: string | null | undefined;
2594
3494
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -2604,6 +3504,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2604
3504
  _gst_amount: number;
2605
3505
  _discount_amount: number;
2606
3506
  received_quantity: number;
3507
+ item_discount_details?: {
3508
+ total_discount: number;
3509
+ special_discount_id?: string | null | undefined;
3510
+ special_discount?: number | null | undefined;
3511
+ is_special_discount_percentage?: boolean | null | undefined;
3512
+ special_discount_name?: string | null | undefined;
3513
+ special_discount_reason?: string | null | undefined;
3514
+ special_reference_number?: string | null | undefined;
3515
+ } | null | undefined;
2607
3516
  is_ready?: boolean | null | undefined;
2608
3517
  void_reason?: string | null | undefined;
2609
3518
  }> & {
@@ -2619,6 +3528,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2619
3528
  _gst_amount: number;
2620
3529
  _discount_amount: number;
2621
3530
  received_quantity: number;
3531
+ item_discount_details?: {
3532
+ total_discount: number;
3533
+ special_discount_id?: string | null | undefined;
3534
+ special_discount?: number | null | undefined;
3535
+ is_special_discount_percentage?: boolean | null | undefined;
3536
+ special_discount_name?: string | null | undefined;
3537
+ special_discount_reason?: string | null | undefined;
3538
+ special_reference_number?: string | null | undefined;
3539
+ } | null | undefined;
2622
3540
  is_ready?: boolean | null | undefined;
2623
3541
  void_reason?: string | null | undefined;
2624
3542
  }>;
@@ -2638,6 +3556,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2638
3556
  _gst_amount: number;
2639
3557
  _discount_amount: number;
2640
3558
  received_quantity: number;
3559
+ item_discount_details?: {
3560
+ total_discount: number;
3561
+ special_discount_id?: string | null | undefined;
3562
+ special_discount?: number | null | undefined;
3563
+ is_special_discount_percentage?: boolean | null | undefined;
3564
+ special_discount_name?: string | null | undefined;
3565
+ special_discount_reason?: string | null | undefined;
3566
+ special_reference_number?: string | null | undefined;
3567
+ } | null | undefined;
2641
3568
  is_ready?: boolean | null | undefined;
2642
3569
  void_reason?: string | null | undefined;
2643
3570
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -2653,6 +3580,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2653
3580
  _gst_amount: number;
2654
3581
  _discount_amount: number;
2655
3582
  received_quantity: number;
3583
+ item_discount_details?: {
3584
+ total_discount: number;
3585
+ special_discount_id?: string | null | undefined;
3586
+ special_discount?: number | null | undefined;
3587
+ is_special_discount_percentage?: boolean | null | undefined;
3588
+ special_discount_name?: string | null | undefined;
3589
+ special_discount_reason?: string | null | undefined;
3590
+ special_reference_number?: string | null | undefined;
3591
+ } | null | undefined;
2656
3592
  is_ready?: boolean | null | undefined;
2657
3593
  void_reason?: string | null | undefined;
2658
3594
  }> & {
@@ -2668,6 +3604,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2668
3604
  _gst_amount: number;
2669
3605
  _discount_amount: number;
2670
3606
  received_quantity: number;
3607
+ item_discount_details?: {
3608
+ total_discount: number;
3609
+ special_discount_id?: string | null | undefined;
3610
+ special_discount?: number | null | undefined;
3611
+ is_special_discount_percentage?: boolean | null | undefined;
3612
+ special_discount_name?: string | null | undefined;
3613
+ special_discount_reason?: string | null | undefined;
3614
+ special_reference_number?: string | null | undefined;
3615
+ } | null | undefined;
2671
3616
  is_ready?: boolean | null | undefined;
2672
3617
  void_reason?: string | null | undefined;
2673
3618
  }>;
@@ -2687,6 +3632,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2687
3632
  _gst_amount: number;
2688
3633
  _discount_amount: number;
2689
3634
  received_quantity: number;
3635
+ item_discount_details?: {
3636
+ total_discount: number;
3637
+ special_discount_id?: string | null | undefined;
3638
+ special_discount?: number | null | undefined;
3639
+ is_special_discount_percentage?: boolean | null | undefined;
3640
+ special_discount_name?: string | null | undefined;
3641
+ special_discount_reason?: string | null | undefined;
3642
+ special_reference_number?: string | null | undefined;
3643
+ } | null | undefined;
2690
3644
  is_ready?: boolean | null | undefined;
2691
3645
  void_reason?: string | null | undefined;
2692
3646
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
@@ -2702,6 +3656,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2702
3656
  _gst_amount: number;
2703
3657
  _discount_amount: number;
2704
3658
  received_quantity: number;
3659
+ item_discount_details?: {
3660
+ total_discount: number;
3661
+ special_discount_id?: string | null | undefined;
3662
+ special_discount?: number | null | undefined;
3663
+ is_special_discount_percentage?: boolean | null | undefined;
3664
+ special_discount_name?: string | null | undefined;
3665
+ special_discount_reason?: string | null | undefined;
3666
+ special_reference_number?: string | null | undefined;
3667
+ } | null | undefined;
2705
3668
  is_ready?: boolean | null | undefined;
2706
3669
  void_reason?: string | null | undefined;
2707
3670
  }> & {
@@ -2717,6 +3680,15 @@ export declare const TenantPurchaseOrderSchema: Schema<any, import("mongoose").M
2717
3680
  _gst_amount: number;
2718
3681
  _discount_amount: number;
2719
3682
  received_quantity: number;
3683
+ item_discount_details?: {
3684
+ total_discount: number;
3685
+ special_discount_id?: string | null | undefined;
3686
+ special_discount?: number | null | undefined;
3687
+ is_special_discount_percentage?: boolean | null | undefined;
3688
+ special_discount_name?: string | null | undefined;
3689
+ special_discount_reason?: string | null | undefined;
3690
+ special_reference_number?: string | null | undefined;
3691
+ } | null | undefined;
2720
3692
  is_ready?: boolean | null | undefined;
2721
3693
  void_reason?: string | null | undefined;
2722
3694
  }>;