@managesome/eposmatic-toolkit 0.2.256 → 0.2.258
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/lib/helpers/utils/offers-helpers.js +6 -2
- package/lib/schemas/models/offers.d.ts +25 -25
- package/lib/schemas/models/offers.js +68 -11
- package/lib/schemas/models/offers_fingerprints.d.ts +3 -3
- package/lib/schemas/models/offers_fingerprints.js +4 -5
- package/lib/schemas/models/order.d.ts +150 -150
- package/lib/schemas/models/purchase_orders.d.ts +135 -135
- package/lib/schemas/models/reservations.d.ts +3 -3
- package/lib/schemas/models/tenant.d.ts +60 -57
- package/lib/schemas/models/tenant.js +4 -0
- package/lib/schemas/models/warehouse.d.ts +12 -12
- package/lib/schemas/models/warehouse_invoices.d.ts +135 -135
- package/lib/schemas/types/offers_fingerprints.d.ts +1 -1
- package/lib/schemas/types/tenant.d.ts +1 -0
- package/package.json +1 -1
|
@@ -20,12 +20,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
20
20
|
price: number;
|
|
21
21
|
item_id: import("mongoose").Types.ObjectId;
|
|
22
22
|
quantity: number;
|
|
23
|
+
special_instructions: string;
|
|
23
24
|
subtotal: number;
|
|
24
25
|
_gst_amount: number;
|
|
25
26
|
_net_amount: number;
|
|
26
27
|
_gross_amount: number;
|
|
27
28
|
_discount_amount: number;
|
|
28
|
-
special_instructions: string;
|
|
29
29
|
is_ready?: boolean | null | undefined;
|
|
30
30
|
void_reason?: string | null | undefined;
|
|
31
31
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -34,12 +34,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
34
34
|
price: number;
|
|
35
35
|
item_id: import("mongoose").Types.ObjectId;
|
|
36
36
|
quantity: number;
|
|
37
|
+
special_instructions: string;
|
|
37
38
|
subtotal: number;
|
|
38
39
|
_gst_amount: number;
|
|
39
40
|
_net_amount: number;
|
|
40
41
|
_gross_amount: number;
|
|
41
42
|
_discount_amount: number;
|
|
42
|
-
special_instructions: string;
|
|
43
43
|
is_ready?: boolean | null | undefined;
|
|
44
44
|
void_reason?: string | null | undefined;
|
|
45
45
|
}> & {
|
|
@@ -48,12 +48,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
48
48
|
price: number;
|
|
49
49
|
item_id: import("mongoose").Types.ObjectId;
|
|
50
50
|
quantity: number;
|
|
51
|
+
special_instructions: string;
|
|
51
52
|
subtotal: number;
|
|
52
53
|
_gst_amount: number;
|
|
53
54
|
_net_amount: number;
|
|
54
55
|
_gross_amount: number;
|
|
55
56
|
_discount_amount: number;
|
|
56
|
-
special_instructions: string;
|
|
57
57
|
is_ready?: boolean | null | undefined;
|
|
58
58
|
void_reason?: string | null | undefined;
|
|
59
59
|
}>;
|
|
@@ -66,12 +66,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
66
66
|
price: number;
|
|
67
67
|
item_id: import("mongoose").Types.ObjectId;
|
|
68
68
|
quantity: number;
|
|
69
|
+
special_instructions: string;
|
|
69
70
|
subtotal: number;
|
|
70
71
|
_gst_amount: number;
|
|
71
72
|
_net_amount: number;
|
|
72
73
|
_gross_amount: number;
|
|
73
74
|
_discount_amount: number;
|
|
74
|
-
special_instructions: string;
|
|
75
75
|
is_ready?: boolean | null | undefined;
|
|
76
76
|
void_reason?: string | null | undefined;
|
|
77
77
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -80,12 +80,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
80
80
|
price: number;
|
|
81
81
|
item_id: import("mongoose").Types.ObjectId;
|
|
82
82
|
quantity: number;
|
|
83
|
+
special_instructions: string;
|
|
83
84
|
subtotal: number;
|
|
84
85
|
_gst_amount: number;
|
|
85
86
|
_net_amount: number;
|
|
86
87
|
_gross_amount: number;
|
|
87
88
|
_discount_amount: number;
|
|
88
|
-
special_instructions: string;
|
|
89
89
|
is_ready?: boolean | null | undefined;
|
|
90
90
|
void_reason?: string | null | undefined;
|
|
91
91
|
}> & {
|
|
@@ -94,12 +94,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
94
94
|
price: number;
|
|
95
95
|
item_id: import("mongoose").Types.ObjectId;
|
|
96
96
|
quantity: number;
|
|
97
|
+
special_instructions: string;
|
|
97
98
|
subtotal: number;
|
|
98
99
|
_gst_amount: number;
|
|
99
100
|
_net_amount: number;
|
|
100
101
|
_gross_amount: number;
|
|
101
102
|
_discount_amount: number;
|
|
102
|
-
special_instructions: string;
|
|
103
103
|
is_ready?: boolean | null | undefined;
|
|
104
104
|
void_reason?: string | null | undefined;
|
|
105
105
|
}>;
|
|
@@ -112,12 +112,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
112
112
|
price: number;
|
|
113
113
|
item_id: import("mongoose").Types.ObjectId;
|
|
114
114
|
quantity: number;
|
|
115
|
+
special_instructions: string;
|
|
115
116
|
subtotal: number;
|
|
116
117
|
_gst_amount: number;
|
|
117
118
|
_net_amount: number;
|
|
118
119
|
_gross_amount: number;
|
|
119
120
|
_discount_amount: number;
|
|
120
|
-
special_instructions: string;
|
|
121
121
|
is_ready?: boolean | null | undefined;
|
|
122
122
|
void_reason?: string | null | undefined;
|
|
123
123
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -126,12 +126,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
126
126
|
price: number;
|
|
127
127
|
item_id: import("mongoose").Types.ObjectId;
|
|
128
128
|
quantity: number;
|
|
129
|
+
special_instructions: string;
|
|
129
130
|
subtotal: number;
|
|
130
131
|
_gst_amount: number;
|
|
131
132
|
_net_amount: number;
|
|
132
133
|
_gross_amount: number;
|
|
133
134
|
_discount_amount: number;
|
|
134
|
-
special_instructions: string;
|
|
135
135
|
is_ready?: boolean | null | undefined;
|
|
136
136
|
void_reason?: string | null | undefined;
|
|
137
137
|
}> & {
|
|
@@ -140,12 +140,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
140
140
|
price: number;
|
|
141
141
|
item_id: import("mongoose").Types.ObjectId;
|
|
142
142
|
quantity: number;
|
|
143
|
+
special_instructions: string;
|
|
143
144
|
subtotal: number;
|
|
144
145
|
_gst_amount: number;
|
|
145
146
|
_net_amount: number;
|
|
146
147
|
_gross_amount: number;
|
|
147
148
|
_discount_amount: number;
|
|
148
|
-
special_instructions: string;
|
|
149
149
|
is_ready?: boolean | null | undefined;
|
|
150
150
|
void_reason?: string | null | undefined;
|
|
151
151
|
}>;
|
|
@@ -218,12 +218,6 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
218
218
|
tax_number: string;
|
|
219
219
|
amount_earned: number;
|
|
220
220
|
grand_total: number;
|
|
221
|
-
staff_details: {
|
|
222
|
-
staff_id: string;
|
|
223
|
-
staff_name: string;
|
|
224
|
-
staff_mobile: string;
|
|
225
|
-
staff_email: string;
|
|
226
|
-
};
|
|
227
221
|
iterations: import("mongoose").Types.DocumentArray<{
|
|
228
222
|
updatedAt: NativeDate;
|
|
229
223
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -235,12 +229,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
235
229
|
price: number;
|
|
236
230
|
item_id: import("mongoose").Types.ObjectId;
|
|
237
231
|
quantity: number;
|
|
232
|
+
special_instructions: string;
|
|
238
233
|
subtotal: number;
|
|
239
234
|
_gst_amount: number;
|
|
240
235
|
_net_amount: number;
|
|
241
236
|
_gross_amount: number;
|
|
242
237
|
_discount_amount: number;
|
|
243
|
-
special_instructions: string;
|
|
244
238
|
is_ready?: boolean | null | undefined;
|
|
245
239
|
void_reason?: string | null | undefined;
|
|
246
240
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -249,12 +243,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
249
243
|
price: number;
|
|
250
244
|
item_id: import("mongoose").Types.ObjectId;
|
|
251
245
|
quantity: number;
|
|
246
|
+
special_instructions: string;
|
|
252
247
|
subtotal: number;
|
|
253
248
|
_gst_amount: number;
|
|
254
249
|
_net_amount: number;
|
|
255
250
|
_gross_amount: number;
|
|
256
251
|
_discount_amount: number;
|
|
257
|
-
special_instructions: string;
|
|
258
252
|
is_ready?: boolean | null | undefined;
|
|
259
253
|
void_reason?: string | null | undefined;
|
|
260
254
|
}> & {
|
|
@@ -263,12 +257,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
263
257
|
price: number;
|
|
264
258
|
item_id: import("mongoose").Types.ObjectId;
|
|
265
259
|
quantity: number;
|
|
260
|
+
special_instructions: string;
|
|
266
261
|
subtotal: number;
|
|
267
262
|
_gst_amount: number;
|
|
268
263
|
_net_amount: number;
|
|
269
264
|
_gross_amount: number;
|
|
270
265
|
_discount_amount: number;
|
|
271
|
-
special_instructions: string;
|
|
272
266
|
is_ready?: boolean | null | undefined;
|
|
273
267
|
void_reason?: string | null | undefined;
|
|
274
268
|
}>;
|
|
@@ -281,12 +275,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
281
275
|
price: number;
|
|
282
276
|
item_id: import("mongoose").Types.ObjectId;
|
|
283
277
|
quantity: number;
|
|
278
|
+
special_instructions: string;
|
|
284
279
|
subtotal: number;
|
|
285
280
|
_gst_amount: number;
|
|
286
281
|
_net_amount: number;
|
|
287
282
|
_gross_amount: number;
|
|
288
283
|
_discount_amount: number;
|
|
289
|
-
special_instructions: string;
|
|
290
284
|
is_ready?: boolean | null | undefined;
|
|
291
285
|
void_reason?: string | null | undefined;
|
|
292
286
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -295,12 +289,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
295
289
|
price: number;
|
|
296
290
|
item_id: import("mongoose").Types.ObjectId;
|
|
297
291
|
quantity: number;
|
|
292
|
+
special_instructions: string;
|
|
298
293
|
subtotal: number;
|
|
299
294
|
_gst_amount: number;
|
|
300
295
|
_net_amount: number;
|
|
301
296
|
_gross_amount: number;
|
|
302
297
|
_discount_amount: number;
|
|
303
|
-
special_instructions: string;
|
|
304
298
|
is_ready?: boolean | null | undefined;
|
|
305
299
|
void_reason?: string | null | undefined;
|
|
306
300
|
}> & {
|
|
@@ -309,12 +303,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
309
303
|
price: number;
|
|
310
304
|
item_id: import("mongoose").Types.ObjectId;
|
|
311
305
|
quantity: number;
|
|
306
|
+
special_instructions: string;
|
|
312
307
|
subtotal: number;
|
|
313
308
|
_gst_amount: number;
|
|
314
309
|
_net_amount: number;
|
|
315
310
|
_gross_amount: number;
|
|
316
311
|
_discount_amount: number;
|
|
317
|
-
special_instructions: string;
|
|
318
312
|
is_ready?: boolean | null | undefined;
|
|
319
313
|
void_reason?: string | null | undefined;
|
|
320
314
|
}>;
|
|
@@ -327,12 +321,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
327
321
|
price: number;
|
|
328
322
|
item_id: import("mongoose").Types.ObjectId;
|
|
329
323
|
quantity: number;
|
|
324
|
+
special_instructions: string;
|
|
330
325
|
subtotal: number;
|
|
331
326
|
_gst_amount: number;
|
|
332
327
|
_net_amount: number;
|
|
333
328
|
_gross_amount: number;
|
|
334
329
|
_discount_amount: number;
|
|
335
|
-
special_instructions: string;
|
|
336
330
|
is_ready?: boolean | null | undefined;
|
|
337
331
|
void_reason?: string | null | undefined;
|
|
338
332
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -341,12 +335,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
341
335
|
price: number;
|
|
342
336
|
item_id: import("mongoose").Types.ObjectId;
|
|
343
337
|
quantity: number;
|
|
338
|
+
special_instructions: string;
|
|
344
339
|
subtotal: number;
|
|
345
340
|
_gst_amount: number;
|
|
346
341
|
_net_amount: number;
|
|
347
342
|
_gross_amount: number;
|
|
348
343
|
_discount_amount: number;
|
|
349
|
-
special_instructions: string;
|
|
350
344
|
is_ready?: boolean | null | undefined;
|
|
351
345
|
void_reason?: string | null | undefined;
|
|
352
346
|
}> & {
|
|
@@ -355,12 +349,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
355
349
|
price: number;
|
|
356
350
|
item_id: import("mongoose").Types.ObjectId;
|
|
357
351
|
quantity: number;
|
|
352
|
+
special_instructions: string;
|
|
358
353
|
subtotal: number;
|
|
359
354
|
_gst_amount: number;
|
|
360
355
|
_net_amount: number;
|
|
361
356
|
_gross_amount: number;
|
|
362
357
|
_discount_amount: number;
|
|
363
|
-
special_instructions: string;
|
|
364
358
|
is_ready?: boolean | null | undefined;
|
|
365
359
|
void_reason?: string | null | undefined;
|
|
366
360
|
}>;
|
|
@@ -452,12 +446,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
452
446
|
price: number;
|
|
453
447
|
item_id: import("mongoose").Types.ObjectId;
|
|
454
448
|
quantity: number;
|
|
449
|
+
special_instructions: string;
|
|
455
450
|
subtotal: number;
|
|
456
451
|
_gst_amount: number;
|
|
457
452
|
_net_amount: number;
|
|
458
453
|
_gross_amount: number;
|
|
459
454
|
_discount_amount: number;
|
|
460
|
-
special_instructions: string;
|
|
461
455
|
is_ready?: boolean | null | undefined;
|
|
462
456
|
void_reason?: string | null | undefined;
|
|
463
457
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -466,12 +460,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
466
460
|
price: number;
|
|
467
461
|
item_id: import("mongoose").Types.ObjectId;
|
|
468
462
|
quantity: number;
|
|
463
|
+
special_instructions: string;
|
|
469
464
|
subtotal: number;
|
|
470
465
|
_gst_amount: number;
|
|
471
466
|
_net_amount: number;
|
|
472
467
|
_gross_amount: number;
|
|
473
468
|
_discount_amount: number;
|
|
474
|
-
special_instructions: string;
|
|
475
469
|
is_ready?: boolean | null | undefined;
|
|
476
470
|
void_reason?: string | null | undefined;
|
|
477
471
|
}> & {
|
|
@@ -480,12 +474,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
480
474
|
price: number;
|
|
481
475
|
item_id: import("mongoose").Types.ObjectId;
|
|
482
476
|
quantity: number;
|
|
477
|
+
special_instructions: string;
|
|
483
478
|
subtotal: number;
|
|
484
479
|
_gst_amount: number;
|
|
485
480
|
_net_amount: number;
|
|
486
481
|
_gross_amount: number;
|
|
487
482
|
_discount_amount: number;
|
|
488
|
-
special_instructions: string;
|
|
489
483
|
is_ready?: boolean | null | undefined;
|
|
490
484
|
void_reason?: string | null | undefined;
|
|
491
485
|
}>;
|
|
@@ -498,12 +492,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
498
492
|
price: number;
|
|
499
493
|
item_id: import("mongoose").Types.ObjectId;
|
|
500
494
|
quantity: number;
|
|
495
|
+
special_instructions: string;
|
|
501
496
|
subtotal: number;
|
|
502
497
|
_gst_amount: number;
|
|
503
498
|
_net_amount: number;
|
|
504
499
|
_gross_amount: number;
|
|
505
500
|
_discount_amount: number;
|
|
506
|
-
special_instructions: string;
|
|
507
501
|
is_ready?: boolean | null | undefined;
|
|
508
502
|
void_reason?: string | null | undefined;
|
|
509
503
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -512,12 +506,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
512
506
|
price: number;
|
|
513
507
|
item_id: import("mongoose").Types.ObjectId;
|
|
514
508
|
quantity: number;
|
|
509
|
+
special_instructions: string;
|
|
515
510
|
subtotal: number;
|
|
516
511
|
_gst_amount: number;
|
|
517
512
|
_net_amount: number;
|
|
518
513
|
_gross_amount: number;
|
|
519
514
|
_discount_amount: number;
|
|
520
|
-
special_instructions: string;
|
|
521
515
|
is_ready?: boolean | null | undefined;
|
|
522
516
|
void_reason?: string | null | undefined;
|
|
523
517
|
}> & {
|
|
@@ -526,12 +520,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
526
520
|
price: number;
|
|
527
521
|
item_id: import("mongoose").Types.ObjectId;
|
|
528
522
|
quantity: number;
|
|
523
|
+
special_instructions: string;
|
|
529
524
|
subtotal: number;
|
|
530
525
|
_gst_amount: number;
|
|
531
526
|
_net_amount: number;
|
|
532
527
|
_gross_amount: number;
|
|
533
528
|
_discount_amount: number;
|
|
534
|
-
special_instructions: string;
|
|
535
529
|
is_ready?: boolean | null | undefined;
|
|
536
530
|
void_reason?: string | null | undefined;
|
|
537
531
|
}>;
|
|
@@ -544,12 +538,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
544
538
|
price: number;
|
|
545
539
|
item_id: import("mongoose").Types.ObjectId;
|
|
546
540
|
quantity: number;
|
|
541
|
+
special_instructions: string;
|
|
547
542
|
subtotal: number;
|
|
548
543
|
_gst_amount: number;
|
|
549
544
|
_net_amount: number;
|
|
550
545
|
_gross_amount: number;
|
|
551
546
|
_discount_amount: number;
|
|
552
|
-
special_instructions: string;
|
|
553
547
|
is_ready?: boolean | null | undefined;
|
|
554
548
|
void_reason?: string | null | undefined;
|
|
555
549
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -558,12 +552,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
558
552
|
price: number;
|
|
559
553
|
item_id: import("mongoose").Types.ObjectId;
|
|
560
554
|
quantity: number;
|
|
555
|
+
special_instructions: string;
|
|
561
556
|
subtotal: number;
|
|
562
557
|
_gst_amount: number;
|
|
563
558
|
_net_amount: number;
|
|
564
559
|
_gross_amount: number;
|
|
565
560
|
_discount_amount: number;
|
|
566
|
-
special_instructions: string;
|
|
567
561
|
is_ready?: boolean | null | undefined;
|
|
568
562
|
void_reason?: string | null | undefined;
|
|
569
563
|
}> & {
|
|
@@ -572,12 +566,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
572
566
|
price: number;
|
|
573
567
|
item_id: import("mongoose").Types.ObjectId;
|
|
574
568
|
quantity: number;
|
|
569
|
+
special_instructions: string;
|
|
575
570
|
subtotal: number;
|
|
576
571
|
_gst_amount: number;
|
|
577
572
|
_net_amount: number;
|
|
578
573
|
_gross_amount: number;
|
|
579
574
|
_discount_amount: number;
|
|
580
|
-
special_instructions: string;
|
|
581
575
|
is_ready?: boolean | null | undefined;
|
|
582
576
|
void_reason?: string | null | undefined;
|
|
583
577
|
}>;
|
|
@@ -669,12 +663,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
669
663
|
price: number;
|
|
670
664
|
item_id: import("mongoose").Types.ObjectId;
|
|
671
665
|
quantity: number;
|
|
666
|
+
special_instructions: string;
|
|
672
667
|
subtotal: number;
|
|
673
668
|
_gst_amount: number;
|
|
674
669
|
_net_amount: number;
|
|
675
670
|
_gross_amount: number;
|
|
676
671
|
_discount_amount: number;
|
|
677
|
-
special_instructions: string;
|
|
678
672
|
is_ready?: boolean | null | undefined;
|
|
679
673
|
void_reason?: string | null | undefined;
|
|
680
674
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -683,12 +677,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
683
677
|
price: number;
|
|
684
678
|
item_id: import("mongoose").Types.ObjectId;
|
|
685
679
|
quantity: number;
|
|
680
|
+
special_instructions: string;
|
|
686
681
|
subtotal: number;
|
|
687
682
|
_gst_amount: number;
|
|
688
683
|
_net_amount: number;
|
|
689
684
|
_gross_amount: number;
|
|
690
685
|
_discount_amount: number;
|
|
691
|
-
special_instructions: string;
|
|
692
686
|
is_ready?: boolean | null | undefined;
|
|
693
687
|
void_reason?: string | null | undefined;
|
|
694
688
|
}> & {
|
|
@@ -697,12 +691,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
697
691
|
price: number;
|
|
698
692
|
item_id: import("mongoose").Types.ObjectId;
|
|
699
693
|
quantity: number;
|
|
694
|
+
special_instructions: string;
|
|
700
695
|
subtotal: number;
|
|
701
696
|
_gst_amount: number;
|
|
702
697
|
_net_amount: number;
|
|
703
698
|
_gross_amount: number;
|
|
704
699
|
_discount_amount: number;
|
|
705
|
-
special_instructions: string;
|
|
706
700
|
is_ready?: boolean | null | undefined;
|
|
707
701
|
void_reason?: string | null | undefined;
|
|
708
702
|
}>;
|
|
@@ -715,12 +709,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
715
709
|
price: number;
|
|
716
710
|
item_id: import("mongoose").Types.ObjectId;
|
|
717
711
|
quantity: number;
|
|
712
|
+
special_instructions: string;
|
|
718
713
|
subtotal: number;
|
|
719
714
|
_gst_amount: number;
|
|
720
715
|
_net_amount: number;
|
|
721
716
|
_gross_amount: number;
|
|
722
717
|
_discount_amount: number;
|
|
723
|
-
special_instructions: string;
|
|
724
718
|
is_ready?: boolean | null | undefined;
|
|
725
719
|
void_reason?: string | null | undefined;
|
|
726
720
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -729,12 +723,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
729
723
|
price: number;
|
|
730
724
|
item_id: import("mongoose").Types.ObjectId;
|
|
731
725
|
quantity: number;
|
|
726
|
+
special_instructions: string;
|
|
732
727
|
subtotal: number;
|
|
733
728
|
_gst_amount: number;
|
|
734
729
|
_net_amount: number;
|
|
735
730
|
_gross_amount: number;
|
|
736
731
|
_discount_amount: number;
|
|
737
|
-
special_instructions: string;
|
|
738
732
|
is_ready?: boolean | null | undefined;
|
|
739
733
|
void_reason?: string | null | undefined;
|
|
740
734
|
}> & {
|
|
@@ -743,12 +737,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
743
737
|
price: number;
|
|
744
738
|
item_id: import("mongoose").Types.ObjectId;
|
|
745
739
|
quantity: number;
|
|
740
|
+
special_instructions: string;
|
|
746
741
|
subtotal: number;
|
|
747
742
|
_gst_amount: number;
|
|
748
743
|
_net_amount: number;
|
|
749
744
|
_gross_amount: number;
|
|
750
745
|
_discount_amount: number;
|
|
751
|
-
special_instructions: string;
|
|
752
746
|
is_ready?: boolean | null | undefined;
|
|
753
747
|
void_reason?: string | null | undefined;
|
|
754
748
|
}>;
|
|
@@ -761,12 +755,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
761
755
|
price: number;
|
|
762
756
|
item_id: import("mongoose").Types.ObjectId;
|
|
763
757
|
quantity: number;
|
|
758
|
+
special_instructions: string;
|
|
764
759
|
subtotal: number;
|
|
765
760
|
_gst_amount: number;
|
|
766
761
|
_net_amount: number;
|
|
767
762
|
_gross_amount: number;
|
|
768
763
|
_discount_amount: number;
|
|
769
|
-
special_instructions: string;
|
|
770
764
|
is_ready?: boolean | null | undefined;
|
|
771
765
|
void_reason?: string | null | undefined;
|
|
772
766
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -775,12 +769,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
775
769
|
price: number;
|
|
776
770
|
item_id: import("mongoose").Types.ObjectId;
|
|
777
771
|
quantity: number;
|
|
772
|
+
special_instructions: string;
|
|
778
773
|
subtotal: number;
|
|
779
774
|
_gst_amount: number;
|
|
780
775
|
_net_amount: number;
|
|
781
776
|
_gross_amount: number;
|
|
782
777
|
_discount_amount: number;
|
|
783
|
-
special_instructions: string;
|
|
784
778
|
is_ready?: boolean | null | undefined;
|
|
785
779
|
void_reason?: string | null | undefined;
|
|
786
780
|
}> & {
|
|
@@ -789,12 +783,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
789
783
|
price: number;
|
|
790
784
|
item_id: import("mongoose").Types.ObjectId;
|
|
791
785
|
quantity: number;
|
|
786
|
+
special_instructions: string;
|
|
792
787
|
subtotal: number;
|
|
793
788
|
_gst_amount: number;
|
|
794
789
|
_net_amount: number;
|
|
795
790
|
_gross_amount: number;
|
|
796
791
|
_discount_amount: number;
|
|
797
|
-
special_instructions: string;
|
|
798
792
|
is_ready?: boolean | null | undefined;
|
|
799
793
|
void_reason?: string | null | undefined;
|
|
800
794
|
}>;
|
|
@@ -879,18 +873,24 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
879
873
|
amount_collected: number;
|
|
880
874
|
is_deleted: boolean;
|
|
881
875
|
order_status_updated_at: NativeDate;
|
|
876
|
+
staff_details: {
|
|
877
|
+
staff_id: string;
|
|
878
|
+
staff_name: string;
|
|
879
|
+
staff_mobile: string;
|
|
880
|
+
staff_email: string;
|
|
881
|
+
};
|
|
882
882
|
order_settled_at: NativeDate;
|
|
883
883
|
order_settled_at_mins: number;
|
|
884
884
|
warehouse_id: string;
|
|
885
885
|
vendor_id: import("mongoose").Types.ObjectId;
|
|
886
886
|
vendor_name: string;
|
|
887
887
|
cancel_reason?: string | null | undefined;
|
|
888
|
-
gst?: number | null | undefined;
|
|
889
|
-
gst_amount?: number | null | undefined;
|
|
890
|
-
is_gst_inclusive?: boolean | null | undefined;
|
|
891
888
|
delete_reason?: string | null | undefined;
|
|
892
889
|
is_reopened?: boolean | null | undefined;
|
|
893
890
|
deferred_settlement?: boolean | null | undefined;
|
|
891
|
+
gst?: number | null | undefined;
|
|
892
|
+
gst_amount?: number | null | undefined;
|
|
893
|
+
is_gst_inclusive?: boolean | null | undefined;
|
|
894
894
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
895
895
|
createdAt: NativeDate;
|
|
896
896
|
updatedAt: NativeDate;
|
|
@@ -908,12 +908,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
908
908
|
price: number;
|
|
909
909
|
item_id: import("mongoose").Types.ObjectId;
|
|
910
910
|
quantity: number;
|
|
911
|
+
special_instructions: string;
|
|
911
912
|
subtotal: number;
|
|
912
913
|
_gst_amount: number;
|
|
913
914
|
_net_amount: number;
|
|
914
915
|
_gross_amount: number;
|
|
915
916
|
_discount_amount: number;
|
|
916
|
-
special_instructions: string;
|
|
917
917
|
is_ready?: boolean | null | undefined;
|
|
918
918
|
void_reason?: string | null | undefined;
|
|
919
919
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -922,12 +922,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
922
922
|
price: number;
|
|
923
923
|
item_id: import("mongoose").Types.ObjectId;
|
|
924
924
|
quantity: number;
|
|
925
|
+
special_instructions: string;
|
|
925
926
|
subtotal: number;
|
|
926
927
|
_gst_amount: number;
|
|
927
928
|
_net_amount: number;
|
|
928
929
|
_gross_amount: number;
|
|
929
930
|
_discount_amount: number;
|
|
930
|
-
special_instructions: string;
|
|
931
931
|
is_ready?: boolean | null | undefined;
|
|
932
932
|
void_reason?: string | null | undefined;
|
|
933
933
|
}> & {
|
|
@@ -936,12 +936,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
936
936
|
price: number;
|
|
937
937
|
item_id: import("mongoose").Types.ObjectId;
|
|
938
938
|
quantity: number;
|
|
939
|
+
special_instructions: string;
|
|
939
940
|
subtotal: number;
|
|
940
941
|
_gst_amount: number;
|
|
941
942
|
_net_amount: number;
|
|
942
943
|
_gross_amount: number;
|
|
943
944
|
_discount_amount: number;
|
|
944
|
-
special_instructions: string;
|
|
945
945
|
is_ready?: boolean | null | undefined;
|
|
946
946
|
void_reason?: string | null | undefined;
|
|
947
947
|
}>;
|
|
@@ -954,12 +954,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
954
954
|
price: number;
|
|
955
955
|
item_id: import("mongoose").Types.ObjectId;
|
|
956
956
|
quantity: number;
|
|
957
|
+
special_instructions: string;
|
|
957
958
|
subtotal: number;
|
|
958
959
|
_gst_amount: number;
|
|
959
960
|
_net_amount: number;
|
|
960
961
|
_gross_amount: number;
|
|
961
962
|
_discount_amount: number;
|
|
962
|
-
special_instructions: string;
|
|
963
963
|
is_ready?: boolean | null | undefined;
|
|
964
964
|
void_reason?: string | null | undefined;
|
|
965
965
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -968,12 +968,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
968
968
|
price: number;
|
|
969
969
|
item_id: import("mongoose").Types.ObjectId;
|
|
970
970
|
quantity: number;
|
|
971
|
+
special_instructions: string;
|
|
971
972
|
subtotal: number;
|
|
972
973
|
_gst_amount: number;
|
|
973
974
|
_net_amount: number;
|
|
974
975
|
_gross_amount: number;
|
|
975
976
|
_discount_amount: number;
|
|
976
|
-
special_instructions: string;
|
|
977
977
|
is_ready?: boolean | null | undefined;
|
|
978
978
|
void_reason?: string | null | undefined;
|
|
979
979
|
}> & {
|
|
@@ -982,12 +982,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
982
982
|
price: number;
|
|
983
983
|
item_id: import("mongoose").Types.ObjectId;
|
|
984
984
|
quantity: number;
|
|
985
|
+
special_instructions: string;
|
|
985
986
|
subtotal: number;
|
|
986
987
|
_gst_amount: number;
|
|
987
988
|
_net_amount: number;
|
|
988
989
|
_gross_amount: number;
|
|
989
990
|
_discount_amount: number;
|
|
990
|
-
special_instructions: string;
|
|
991
991
|
is_ready?: boolean | null | undefined;
|
|
992
992
|
void_reason?: string | null | undefined;
|
|
993
993
|
}>;
|
|
@@ -1000,12 +1000,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1000
1000
|
price: number;
|
|
1001
1001
|
item_id: import("mongoose").Types.ObjectId;
|
|
1002
1002
|
quantity: number;
|
|
1003
|
+
special_instructions: string;
|
|
1003
1004
|
subtotal: number;
|
|
1004
1005
|
_gst_amount: number;
|
|
1005
1006
|
_net_amount: number;
|
|
1006
1007
|
_gross_amount: number;
|
|
1007
1008
|
_discount_amount: number;
|
|
1008
|
-
special_instructions: string;
|
|
1009
1009
|
is_ready?: boolean | null | undefined;
|
|
1010
1010
|
void_reason?: string | null | undefined;
|
|
1011
1011
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -1014,12 +1014,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1014
1014
|
price: number;
|
|
1015
1015
|
item_id: import("mongoose").Types.ObjectId;
|
|
1016
1016
|
quantity: number;
|
|
1017
|
+
special_instructions: string;
|
|
1017
1018
|
subtotal: number;
|
|
1018
1019
|
_gst_amount: number;
|
|
1019
1020
|
_net_amount: number;
|
|
1020
1021
|
_gross_amount: number;
|
|
1021
1022
|
_discount_amount: number;
|
|
1022
|
-
special_instructions: string;
|
|
1023
1023
|
is_ready?: boolean | null | undefined;
|
|
1024
1024
|
void_reason?: string | null | undefined;
|
|
1025
1025
|
}> & {
|
|
@@ -1028,12 +1028,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1028
1028
|
price: number;
|
|
1029
1029
|
item_id: import("mongoose").Types.ObjectId;
|
|
1030
1030
|
quantity: number;
|
|
1031
|
+
special_instructions: string;
|
|
1031
1032
|
subtotal: number;
|
|
1032
1033
|
_gst_amount: number;
|
|
1033
1034
|
_net_amount: number;
|
|
1034
1035
|
_gross_amount: number;
|
|
1035
1036
|
_discount_amount: number;
|
|
1036
|
-
special_instructions: string;
|
|
1037
1037
|
is_ready?: boolean | null | undefined;
|
|
1038
1038
|
void_reason?: string | null | undefined;
|
|
1039
1039
|
}>;
|
|
@@ -1106,12 +1106,6 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1106
1106
|
tax_number: string;
|
|
1107
1107
|
amount_earned: number;
|
|
1108
1108
|
grand_total: number;
|
|
1109
|
-
staff_details: {
|
|
1110
|
-
staff_id: string;
|
|
1111
|
-
staff_name: string;
|
|
1112
|
-
staff_mobile: string;
|
|
1113
|
-
staff_email: string;
|
|
1114
|
-
};
|
|
1115
1109
|
iterations: import("mongoose").Types.DocumentArray<{
|
|
1116
1110
|
updatedAt: NativeDate;
|
|
1117
1111
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -1123,12 +1117,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1123
1117
|
price: number;
|
|
1124
1118
|
item_id: import("mongoose").Types.ObjectId;
|
|
1125
1119
|
quantity: number;
|
|
1120
|
+
special_instructions: string;
|
|
1126
1121
|
subtotal: number;
|
|
1127
1122
|
_gst_amount: number;
|
|
1128
1123
|
_net_amount: number;
|
|
1129
1124
|
_gross_amount: number;
|
|
1130
1125
|
_discount_amount: number;
|
|
1131
|
-
special_instructions: string;
|
|
1132
1126
|
is_ready?: boolean | null | undefined;
|
|
1133
1127
|
void_reason?: string | null | undefined;
|
|
1134
1128
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -1137,12 +1131,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1137
1131
|
price: number;
|
|
1138
1132
|
item_id: import("mongoose").Types.ObjectId;
|
|
1139
1133
|
quantity: number;
|
|
1134
|
+
special_instructions: string;
|
|
1140
1135
|
subtotal: number;
|
|
1141
1136
|
_gst_amount: number;
|
|
1142
1137
|
_net_amount: number;
|
|
1143
1138
|
_gross_amount: number;
|
|
1144
1139
|
_discount_amount: number;
|
|
1145
|
-
special_instructions: string;
|
|
1146
1140
|
is_ready?: boolean | null | undefined;
|
|
1147
1141
|
void_reason?: string | null | undefined;
|
|
1148
1142
|
}> & {
|
|
@@ -1151,12 +1145,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1151
1145
|
price: number;
|
|
1152
1146
|
item_id: import("mongoose").Types.ObjectId;
|
|
1153
1147
|
quantity: number;
|
|
1148
|
+
special_instructions: string;
|
|
1154
1149
|
subtotal: number;
|
|
1155
1150
|
_gst_amount: number;
|
|
1156
1151
|
_net_amount: number;
|
|
1157
1152
|
_gross_amount: number;
|
|
1158
1153
|
_discount_amount: number;
|
|
1159
|
-
special_instructions: string;
|
|
1160
1154
|
is_ready?: boolean | null | undefined;
|
|
1161
1155
|
void_reason?: string | null | undefined;
|
|
1162
1156
|
}>;
|
|
@@ -1169,12 +1163,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1169
1163
|
price: number;
|
|
1170
1164
|
item_id: import("mongoose").Types.ObjectId;
|
|
1171
1165
|
quantity: number;
|
|
1166
|
+
special_instructions: string;
|
|
1172
1167
|
subtotal: number;
|
|
1173
1168
|
_gst_amount: number;
|
|
1174
1169
|
_net_amount: number;
|
|
1175
1170
|
_gross_amount: number;
|
|
1176
1171
|
_discount_amount: number;
|
|
1177
|
-
special_instructions: string;
|
|
1178
1172
|
is_ready?: boolean | null | undefined;
|
|
1179
1173
|
void_reason?: string | null | undefined;
|
|
1180
1174
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -1183,12 +1177,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1183
1177
|
price: number;
|
|
1184
1178
|
item_id: import("mongoose").Types.ObjectId;
|
|
1185
1179
|
quantity: number;
|
|
1180
|
+
special_instructions: string;
|
|
1186
1181
|
subtotal: number;
|
|
1187
1182
|
_gst_amount: number;
|
|
1188
1183
|
_net_amount: number;
|
|
1189
1184
|
_gross_amount: number;
|
|
1190
1185
|
_discount_amount: number;
|
|
1191
|
-
special_instructions: string;
|
|
1192
1186
|
is_ready?: boolean | null | undefined;
|
|
1193
1187
|
void_reason?: string | null | undefined;
|
|
1194
1188
|
}> & {
|
|
@@ -1197,12 +1191,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1197
1191
|
price: number;
|
|
1198
1192
|
item_id: import("mongoose").Types.ObjectId;
|
|
1199
1193
|
quantity: number;
|
|
1194
|
+
special_instructions: string;
|
|
1200
1195
|
subtotal: number;
|
|
1201
1196
|
_gst_amount: number;
|
|
1202
1197
|
_net_amount: number;
|
|
1203
1198
|
_gross_amount: number;
|
|
1204
1199
|
_discount_amount: number;
|
|
1205
|
-
special_instructions: string;
|
|
1206
1200
|
is_ready?: boolean | null | undefined;
|
|
1207
1201
|
void_reason?: string | null | undefined;
|
|
1208
1202
|
}>;
|
|
@@ -1215,12 +1209,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1215
1209
|
price: number;
|
|
1216
1210
|
item_id: import("mongoose").Types.ObjectId;
|
|
1217
1211
|
quantity: number;
|
|
1212
|
+
special_instructions: string;
|
|
1218
1213
|
subtotal: number;
|
|
1219
1214
|
_gst_amount: number;
|
|
1220
1215
|
_net_amount: number;
|
|
1221
1216
|
_gross_amount: number;
|
|
1222
1217
|
_discount_amount: number;
|
|
1223
|
-
special_instructions: string;
|
|
1224
1218
|
is_ready?: boolean | null | undefined;
|
|
1225
1219
|
void_reason?: string | null | undefined;
|
|
1226
1220
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -1229,12 +1223,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1229
1223
|
price: number;
|
|
1230
1224
|
item_id: import("mongoose").Types.ObjectId;
|
|
1231
1225
|
quantity: number;
|
|
1226
|
+
special_instructions: string;
|
|
1232
1227
|
subtotal: number;
|
|
1233
1228
|
_gst_amount: number;
|
|
1234
1229
|
_net_amount: number;
|
|
1235
1230
|
_gross_amount: number;
|
|
1236
1231
|
_discount_amount: number;
|
|
1237
|
-
special_instructions: string;
|
|
1238
1232
|
is_ready?: boolean | null | undefined;
|
|
1239
1233
|
void_reason?: string | null | undefined;
|
|
1240
1234
|
}> & {
|
|
@@ -1243,12 +1237,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1243
1237
|
price: number;
|
|
1244
1238
|
item_id: import("mongoose").Types.ObjectId;
|
|
1245
1239
|
quantity: number;
|
|
1240
|
+
special_instructions: string;
|
|
1246
1241
|
subtotal: number;
|
|
1247
1242
|
_gst_amount: number;
|
|
1248
1243
|
_net_amount: number;
|
|
1249
1244
|
_gross_amount: number;
|
|
1250
1245
|
_discount_amount: number;
|
|
1251
|
-
special_instructions: string;
|
|
1252
1246
|
is_ready?: boolean | null | undefined;
|
|
1253
1247
|
void_reason?: string | null | undefined;
|
|
1254
1248
|
}>;
|
|
@@ -1340,12 +1334,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1340
1334
|
price: number;
|
|
1341
1335
|
item_id: import("mongoose").Types.ObjectId;
|
|
1342
1336
|
quantity: number;
|
|
1337
|
+
special_instructions: string;
|
|
1343
1338
|
subtotal: number;
|
|
1344
1339
|
_gst_amount: number;
|
|
1345
1340
|
_net_amount: number;
|
|
1346
1341
|
_gross_amount: number;
|
|
1347
1342
|
_discount_amount: number;
|
|
1348
|
-
special_instructions: string;
|
|
1349
1343
|
is_ready?: boolean | null | undefined;
|
|
1350
1344
|
void_reason?: string | null | undefined;
|
|
1351
1345
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -1354,12 +1348,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1354
1348
|
price: number;
|
|
1355
1349
|
item_id: import("mongoose").Types.ObjectId;
|
|
1356
1350
|
quantity: number;
|
|
1351
|
+
special_instructions: string;
|
|
1357
1352
|
subtotal: number;
|
|
1358
1353
|
_gst_amount: number;
|
|
1359
1354
|
_net_amount: number;
|
|
1360
1355
|
_gross_amount: number;
|
|
1361
1356
|
_discount_amount: number;
|
|
1362
|
-
special_instructions: string;
|
|
1363
1357
|
is_ready?: boolean | null | undefined;
|
|
1364
1358
|
void_reason?: string | null | undefined;
|
|
1365
1359
|
}> & {
|
|
@@ -1368,12 +1362,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1368
1362
|
price: number;
|
|
1369
1363
|
item_id: import("mongoose").Types.ObjectId;
|
|
1370
1364
|
quantity: number;
|
|
1365
|
+
special_instructions: string;
|
|
1371
1366
|
subtotal: number;
|
|
1372
1367
|
_gst_amount: number;
|
|
1373
1368
|
_net_amount: number;
|
|
1374
1369
|
_gross_amount: number;
|
|
1375
1370
|
_discount_amount: number;
|
|
1376
|
-
special_instructions: string;
|
|
1377
1371
|
is_ready?: boolean | null | undefined;
|
|
1378
1372
|
void_reason?: string | null | undefined;
|
|
1379
1373
|
}>;
|
|
@@ -1386,12 +1380,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1386
1380
|
price: number;
|
|
1387
1381
|
item_id: import("mongoose").Types.ObjectId;
|
|
1388
1382
|
quantity: number;
|
|
1383
|
+
special_instructions: string;
|
|
1389
1384
|
subtotal: number;
|
|
1390
1385
|
_gst_amount: number;
|
|
1391
1386
|
_net_amount: number;
|
|
1392
1387
|
_gross_amount: number;
|
|
1393
1388
|
_discount_amount: number;
|
|
1394
|
-
special_instructions: string;
|
|
1395
1389
|
is_ready?: boolean | null | undefined;
|
|
1396
1390
|
void_reason?: string | null | undefined;
|
|
1397
1391
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -1400,12 +1394,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1400
1394
|
price: number;
|
|
1401
1395
|
item_id: import("mongoose").Types.ObjectId;
|
|
1402
1396
|
quantity: number;
|
|
1397
|
+
special_instructions: string;
|
|
1403
1398
|
subtotal: number;
|
|
1404
1399
|
_gst_amount: number;
|
|
1405
1400
|
_net_amount: number;
|
|
1406
1401
|
_gross_amount: number;
|
|
1407
1402
|
_discount_amount: number;
|
|
1408
|
-
special_instructions: string;
|
|
1409
1403
|
is_ready?: boolean | null | undefined;
|
|
1410
1404
|
void_reason?: string | null | undefined;
|
|
1411
1405
|
}> & {
|
|
@@ -1414,12 +1408,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1414
1408
|
price: number;
|
|
1415
1409
|
item_id: import("mongoose").Types.ObjectId;
|
|
1416
1410
|
quantity: number;
|
|
1411
|
+
special_instructions: string;
|
|
1417
1412
|
subtotal: number;
|
|
1418
1413
|
_gst_amount: number;
|
|
1419
1414
|
_net_amount: number;
|
|
1420
1415
|
_gross_amount: number;
|
|
1421
1416
|
_discount_amount: number;
|
|
1422
|
-
special_instructions: string;
|
|
1423
1417
|
is_ready?: boolean | null | undefined;
|
|
1424
1418
|
void_reason?: string | null | undefined;
|
|
1425
1419
|
}>;
|
|
@@ -1432,12 +1426,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1432
1426
|
price: number;
|
|
1433
1427
|
item_id: import("mongoose").Types.ObjectId;
|
|
1434
1428
|
quantity: number;
|
|
1429
|
+
special_instructions: string;
|
|
1435
1430
|
subtotal: number;
|
|
1436
1431
|
_gst_amount: number;
|
|
1437
1432
|
_net_amount: number;
|
|
1438
1433
|
_gross_amount: number;
|
|
1439
1434
|
_discount_amount: number;
|
|
1440
|
-
special_instructions: string;
|
|
1441
1435
|
is_ready?: boolean | null | undefined;
|
|
1442
1436
|
void_reason?: string | null | undefined;
|
|
1443
1437
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -1446,12 +1440,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1446
1440
|
price: number;
|
|
1447
1441
|
item_id: import("mongoose").Types.ObjectId;
|
|
1448
1442
|
quantity: number;
|
|
1443
|
+
special_instructions: string;
|
|
1449
1444
|
subtotal: number;
|
|
1450
1445
|
_gst_amount: number;
|
|
1451
1446
|
_net_amount: number;
|
|
1452
1447
|
_gross_amount: number;
|
|
1453
1448
|
_discount_amount: number;
|
|
1454
|
-
special_instructions: string;
|
|
1455
1449
|
is_ready?: boolean | null | undefined;
|
|
1456
1450
|
void_reason?: string | null | undefined;
|
|
1457
1451
|
}> & {
|
|
@@ -1460,12 +1454,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1460
1454
|
price: number;
|
|
1461
1455
|
item_id: import("mongoose").Types.ObjectId;
|
|
1462
1456
|
quantity: number;
|
|
1457
|
+
special_instructions: string;
|
|
1463
1458
|
subtotal: number;
|
|
1464
1459
|
_gst_amount: number;
|
|
1465
1460
|
_net_amount: number;
|
|
1466
1461
|
_gross_amount: number;
|
|
1467
1462
|
_discount_amount: number;
|
|
1468
|
-
special_instructions: string;
|
|
1469
1463
|
is_ready?: boolean | null | undefined;
|
|
1470
1464
|
void_reason?: string | null | undefined;
|
|
1471
1465
|
}>;
|
|
@@ -1557,12 +1551,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1557
1551
|
price: number;
|
|
1558
1552
|
item_id: import("mongoose").Types.ObjectId;
|
|
1559
1553
|
quantity: number;
|
|
1554
|
+
special_instructions: string;
|
|
1560
1555
|
subtotal: number;
|
|
1561
1556
|
_gst_amount: number;
|
|
1562
1557
|
_net_amount: number;
|
|
1563
1558
|
_gross_amount: number;
|
|
1564
1559
|
_discount_amount: number;
|
|
1565
|
-
special_instructions: string;
|
|
1566
1560
|
is_ready?: boolean | null | undefined;
|
|
1567
1561
|
void_reason?: string | null | undefined;
|
|
1568
1562
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -1571,12 +1565,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1571
1565
|
price: number;
|
|
1572
1566
|
item_id: import("mongoose").Types.ObjectId;
|
|
1573
1567
|
quantity: number;
|
|
1568
|
+
special_instructions: string;
|
|
1574
1569
|
subtotal: number;
|
|
1575
1570
|
_gst_amount: number;
|
|
1576
1571
|
_net_amount: number;
|
|
1577
1572
|
_gross_amount: number;
|
|
1578
1573
|
_discount_amount: number;
|
|
1579
|
-
special_instructions: string;
|
|
1580
1574
|
is_ready?: boolean | null | undefined;
|
|
1581
1575
|
void_reason?: string | null | undefined;
|
|
1582
1576
|
}> & {
|
|
@@ -1585,12 +1579,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1585
1579
|
price: number;
|
|
1586
1580
|
item_id: import("mongoose").Types.ObjectId;
|
|
1587
1581
|
quantity: number;
|
|
1582
|
+
special_instructions: string;
|
|
1588
1583
|
subtotal: number;
|
|
1589
1584
|
_gst_amount: number;
|
|
1590
1585
|
_net_amount: number;
|
|
1591
1586
|
_gross_amount: number;
|
|
1592
1587
|
_discount_amount: number;
|
|
1593
|
-
special_instructions: string;
|
|
1594
1588
|
is_ready?: boolean | null | undefined;
|
|
1595
1589
|
void_reason?: string | null | undefined;
|
|
1596
1590
|
}>;
|
|
@@ -1603,12 +1597,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1603
1597
|
price: number;
|
|
1604
1598
|
item_id: import("mongoose").Types.ObjectId;
|
|
1605
1599
|
quantity: number;
|
|
1600
|
+
special_instructions: string;
|
|
1606
1601
|
subtotal: number;
|
|
1607
1602
|
_gst_amount: number;
|
|
1608
1603
|
_net_amount: number;
|
|
1609
1604
|
_gross_amount: number;
|
|
1610
1605
|
_discount_amount: number;
|
|
1611
|
-
special_instructions: string;
|
|
1612
1606
|
is_ready?: boolean | null | undefined;
|
|
1613
1607
|
void_reason?: string | null | undefined;
|
|
1614
1608
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -1617,12 +1611,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1617
1611
|
price: number;
|
|
1618
1612
|
item_id: import("mongoose").Types.ObjectId;
|
|
1619
1613
|
quantity: number;
|
|
1614
|
+
special_instructions: string;
|
|
1620
1615
|
subtotal: number;
|
|
1621
1616
|
_gst_amount: number;
|
|
1622
1617
|
_net_amount: number;
|
|
1623
1618
|
_gross_amount: number;
|
|
1624
1619
|
_discount_amount: number;
|
|
1625
|
-
special_instructions: string;
|
|
1626
1620
|
is_ready?: boolean | null | undefined;
|
|
1627
1621
|
void_reason?: string | null | undefined;
|
|
1628
1622
|
}> & {
|
|
@@ -1631,12 +1625,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1631
1625
|
price: number;
|
|
1632
1626
|
item_id: import("mongoose").Types.ObjectId;
|
|
1633
1627
|
quantity: number;
|
|
1628
|
+
special_instructions: string;
|
|
1634
1629
|
subtotal: number;
|
|
1635
1630
|
_gst_amount: number;
|
|
1636
1631
|
_net_amount: number;
|
|
1637
1632
|
_gross_amount: number;
|
|
1638
1633
|
_discount_amount: number;
|
|
1639
|
-
special_instructions: string;
|
|
1640
1634
|
is_ready?: boolean | null | undefined;
|
|
1641
1635
|
void_reason?: string | null | undefined;
|
|
1642
1636
|
}>;
|
|
@@ -1649,12 +1643,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1649
1643
|
price: number;
|
|
1650
1644
|
item_id: import("mongoose").Types.ObjectId;
|
|
1651
1645
|
quantity: number;
|
|
1646
|
+
special_instructions: string;
|
|
1652
1647
|
subtotal: number;
|
|
1653
1648
|
_gst_amount: number;
|
|
1654
1649
|
_net_amount: number;
|
|
1655
1650
|
_gross_amount: number;
|
|
1656
1651
|
_discount_amount: number;
|
|
1657
|
-
special_instructions: string;
|
|
1658
1652
|
is_ready?: boolean | null | undefined;
|
|
1659
1653
|
void_reason?: string | null | undefined;
|
|
1660
1654
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -1663,12 +1657,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1663
1657
|
price: number;
|
|
1664
1658
|
item_id: import("mongoose").Types.ObjectId;
|
|
1665
1659
|
quantity: number;
|
|
1660
|
+
special_instructions: string;
|
|
1666
1661
|
subtotal: number;
|
|
1667
1662
|
_gst_amount: number;
|
|
1668
1663
|
_net_amount: number;
|
|
1669
1664
|
_gross_amount: number;
|
|
1670
1665
|
_discount_amount: number;
|
|
1671
|
-
special_instructions: string;
|
|
1672
1666
|
is_ready?: boolean | null | undefined;
|
|
1673
1667
|
void_reason?: string | null | undefined;
|
|
1674
1668
|
}> & {
|
|
@@ -1677,12 +1671,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1677
1671
|
price: number;
|
|
1678
1672
|
item_id: import("mongoose").Types.ObjectId;
|
|
1679
1673
|
quantity: number;
|
|
1674
|
+
special_instructions: string;
|
|
1680
1675
|
subtotal: number;
|
|
1681
1676
|
_gst_amount: number;
|
|
1682
1677
|
_net_amount: number;
|
|
1683
1678
|
_gross_amount: number;
|
|
1684
1679
|
_discount_amount: number;
|
|
1685
|
-
special_instructions: string;
|
|
1686
1680
|
is_ready?: boolean | null | undefined;
|
|
1687
1681
|
void_reason?: string | null | undefined;
|
|
1688
1682
|
}>;
|
|
@@ -1767,18 +1761,24 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1767
1761
|
amount_collected: number;
|
|
1768
1762
|
is_deleted: boolean;
|
|
1769
1763
|
order_status_updated_at: NativeDate;
|
|
1764
|
+
staff_details: {
|
|
1765
|
+
staff_id: string;
|
|
1766
|
+
staff_name: string;
|
|
1767
|
+
staff_mobile: string;
|
|
1768
|
+
staff_email: string;
|
|
1769
|
+
};
|
|
1770
1770
|
order_settled_at: NativeDate;
|
|
1771
1771
|
order_settled_at_mins: number;
|
|
1772
1772
|
warehouse_id: string;
|
|
1773
1773
|
vendor_id: import("mongoose").Types.ObjectId;
|
|
1774
1774
|
vendor_name: string;
|
|
1775
1775
|
cancel_reason?: string | null | undefined;
|
|
1776
|
-
gst?: number | null | undefined;
|
|
1777
|
-
gst_amount?: number | null | undefined;
|
|
1778
|
-
is_gst_inclusive?: boolean | null | undefined;
|
|
1779
1776
|
delete_reason?: string | null | undefined;
|
|
1780
1777
|
is_reopened?: boolean | null | undefined;
|
|
1781
1778
|
deferred_settlement?: boolean | null | undefined;
|
|
1779
|
+
gst?: number | null | undefined;
|
|
1780
|
+
gst_amount?: number | null | undefined;
|
|
1781
|
+
is_gst_inclusive?: boolean | null | undefined;
|
|
1782
1782
|
}>> & import("mongoose").FlatRecord<{
|
|
1783
1783
|
createdAt: NativeDate;
|
|
1784
1784
|
updatedAt: NativeDate;
|
|
@@ -1796,12 +1796,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1796
1796
|
price: number;
|
|
1797
1797
|
item_id: import("mongoose").Types.ObjectId;
|
|
1798
1798
|
quantity: number;
|
|
1799
|
+
special_instructions: string;
|
|
1799
1800
|
subtotal: number;
|
|
1800
1801
|
_gst_amount: number;
|
|
1801
1802
|
_net_amount: number;
|
|
1802
1803
|
_gross_amount: number;
|
|
1803
1804
|
_discount_amount: number;
|
|
1804
|
-
special_instructions: string;
|
|
1805
1805
|
is_ready?: boolean | null | undefined;
|
|
1806
1806
|
void_reason?: string | null | undefined;
|
|
1807
1807
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -1810,12 +1810,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1810
1810
|
price: number;
|
|
1811
1811
|
item_id: import("mongoose").Types.ObjectId;
|
|
1812
1812
|
quantity: number;
|
|
1813
|
+
special_instructions: string;
|
|
1813
1814
|
subtotal: number;
|
|
1814
1815
|
_gst_amount: number;
|
|
1815
1816
|
_net_amount: number;
|
|
1816
1817
|
_gross_amount: number;
|
|
1817
1818
|
_discount_amount: number;
|
|
1818
|
-
special_instructions: string;
|
|
1819
1819
|
is_ready?: boolean | null | undefined;
|
|
1820
1820
|
void_reason?: string | null | undefined;
|
|
1821
1821
|
}> & {
|
|
@@ -1824,12 +1824,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1824
1824
|
price: number;
|
|
1825
1825
|
item_id: import("mongoose").Types.ObjectId;
|
|
1826
1826
|
quantity: number;
|
|
1827
|
+
special_instructions: string;
|
|
1827
1828
|
subtotal: number;
|
|
1828
1829
|
_gst_amount: number;
|
|
1829
1830
|
_net_amount: number;
|
|
1830
1831
|
_gross_amount: number;
|
|
1831
1832
|
_discount_amount: number;
|
|
1832
|
-
special_instructions: string;
|
|
1833
1833
|
is_ready?: boolean | null | undefined;
|
|
1834
1834
|
void_reason?: string | null | undefined;
|
|
1835
1835
|
}>;
|
|
@@ -1842,12 +1842,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1842
1842
|
price: number;
|
|
1843
1843
|
item_id: import("mongoose").Types.ObjectId;
|
|
1844
1844
|
quantity: number;
|
|
1845
|
+
special_instructions: string;
|
|
1845
1846
|
subtotal: number;
|
|
1846
1847
|
_gst_amount: number;
|
|
1847
1848
|
_net_amount: number;
|
|
1848
1849
|
_gross_amount: number;
|
|
1849
1850
|
_discount_amount: number;
|
|
1850
|
-
special_instructions: string;
|
|
1851
1851
|
is_ready?: boolean | null | undefined;
|
|
1852
1852
|
void_reason?: string | null | undefined;
|
|
1853
1853
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -1856,12 +1856,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1856
1856
|
price: number;
|
|
1857
1857
|
item_id: import("mongoose").Types.ObjectId;
|
|
1858
1858
|
quantity: number;
|
|
1859
|
+
special_instructions: string;
|
|
1859
1860
|
subtotal: number;
|
|
1860
1861
|
_gst_amount: number;
|
|
1861
1862
|
_net_amount: number;
|
|
1862
1863
|
_gross_amount: number;
|
|
1863
1864
|
_discount_amount: number;
|
|
1864
|
-
special_instructions: string;
|
|
1865
1865
|
is_ready?: boolean | null | undefined;
|
|
1866
1866
|
void_reason?: string | null | undefined;
|
|
1867
1867
|
}> & {
|
|
@@ -1870,12 +1870,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1870
1870
|
price: number;
|
|
1871
1871
|
item_id: import("mongoose").Types.ObjectId;
|
|
1872
1872
|
quantity: number;
|
|
1873
|
+
special_instructions: string;
|
|
1873
1874
|
subtotal: number;
|
|
1874
1875
|
_gst_amount: number;
|
|
1875
1876
|
_net_amount: number;
|
|
1876
1877
|
_gross_amount: number;
|
|
1877
1878
|
_discount_amount: number;
|
|
1878
|
-
special_instructions: string;
|
|
1879
1879
|
is_ready?: boolean | null | undefined;
|
|
1880
1880
|
void_reason?: string | null | undefined;
|
|
1881
1881
|
}>;
|
|
@@ -1888,12 +1888,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1888
1888
|
price: number;
|
|
1889
1889
|
item_id: import("mongoose").Types.ObjectId;
|
|
1890
1890
|
quantity: number;
|
|
1891
|
+
special_instructions: string;
|
|
1891
1892
|
subtotal: number;
|
|
1892
1893
|
_gst_amount: number;
|
|
1893
1894
|
_net_amount: number;
|
|
1894
1895
|
_gross_amount: number;
|
|
1895
1896
|
_discount_amount: number;
|
|
1896
|
-
special_instructions: string;
|
|
1897
1897
|
is_ready?: boolean | null | undefined;
|
|
1898
1898
|
void_reason?: string | null | undefined;
|
|
1899
1899
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -1902,12 +1902,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1902
1902
|
price: number;
|
|
1903
1903
|
item_id: import("mongoose").Types.ObjectId;
|
|
1904
1904
|
quantity: number;
|
|
1905
|
+
special_instructions: string;
|
|
1905
1906
|
subtotal: number;
|
|
1906
1907
|
_gst_amount: number;
|
|
1907
1908
|
_net_amount: number;
|
|
1908
1909
|
_gross_amount: number;
|
|
1909
1910
|
_discount_amount: number;
|
|
1910
|
-
special_instructions: string;
|
|
1911
1911
|
is_ready?: boolean | null | undefined;
|
|
1912
1912
|
void_reason?: string | null | undefined;
|
|
1913
1913
|
}> & {
|
|
@@ -1916,12 +1916,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1916
1916
|
price: number;
|
|
1917
1917
|
item_id: import("mongoose").Types.ObjectId;
|
|
1918
1918
|
quantity: number;
|
|
1919
|
+
special_instructions: string;
|
|
1919
1920
|
subtotal: number;
|
|
1920
1921
|
_gst_amount: number;
|
|
1921
1922
|
_net_amount: number;
|
|
1922
1923
|
_gross_amount: number;
|
|
1923
1924
|
_discount_amount: number;
|
|
1924
|
-
special_instructions: string;
|
|
1925
1925
|
is_ready?: boolean | null | undefined;
|
|
1926
1926
|
void_reason?: string | null | undefined;
|
|
1927
1927
|
}>;
|
|
@@ -1994,12 +1994,6 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1994
1994
|
tax_number: string;
|
|
1995
1995
|
amount_earned: number;
|
|
1996
1996
|
grand_total: number;
|
|
1997
|
-
staff_details: {
|
|
1998
|
-
staff_id: string;
|
|
1999
|
-
staff_name: string;
|
|
2000
|
-
staff_mobile: string;
|
|
2001
|
-
staff_email: string;
|
|
2002
|
-
};
|
|
2003
1997
|
iterations: import("mongoose").Types.DocumentArray<{
|
|
2004
1998
|
updatedAt: NativeDate;
|
|
2005
1999
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -2011,12 +2005,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2011
2005
|
price: number;
|
|
2012
2006
|
item_id: import("mongoose").Types.ObjectId;
|
|
2013
2007
|
quantity: number;
|
|
2008
|
+
special_instructions: string;
|
|
2014
2009
|
subtotal: number;
|
|
2015
2010
|
_gst_amount: number;
|
|
2016
2011
|
_net_amount: number;
|
|
2017
2012
|
_gross_amount: number;
|
|
2018
2013
|
_discount_amount: number;
|
|
2019
|
-
special_instructions: string;
|
|
2020
2014
|
is_ready?: boolean | null | undefined;
|
|
2021
2015
|
void_reason?: string | null | undefined;
|
|
2022
2016
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -2025,12 +2019,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2025
2019
|
price: number;
|
|
2026
2020
|
item_id: import("mongoose").Types.ObjectId;
|
|
2027
2021
|
quantity: number;
|
|
2022
|
+
special_instructions: string;
|
|
2028
2023
|
subtotal: number;
|
|
2029
2024
|
_gst_amount: number;
|
|
2030
2025
|
_net_amount: number;
|
|
2031
2026
|
_gross_amount: number;
|
|
2032
2027
|
_discount_amount: number;
|
|
2033
|
-
special_instructions: string;
|
|
2034
2028
|
is_ready?: boolean | null | undefined;
|
|
2035
2029
|
void_reason?: string | null | undefined;
|
|
2036
2030
|
}> & {
|
|
@@ -2039,12 +2033,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2039
2033
|
price: number;
|
|
2040
2034
|
item_id: import("mongoose").Types.ObjectId;
|
|
2041
2035
|
quantity: number;
|
|
2036
|
+
special_instructions: string;
|
|
2042
2037
|
subtotal: number;
|
|
2043
2038
|
_gst_amount: number;
|
|
2044
2039
|
_net_amount: number;
|
|
2045
2040
|
_gross_amount: number;
|
|
2046
2041
|
_discount_amount: number;
|
|
2047
|
-
special_instructions: string;
|
|
2048
2042
|
is_ready?: boolean | null | undefined;
|
|
2049
2043
|
void_reason?: string | null | undefined;
|
|
2050
2044
|
}>;
|
|
@@ -2057,12 +2051,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2057
2051
|
price: number;
|
|
2058
2052
|
item_id: import("mongoose").Types.ObjectId;
|
|
2059
2053
|
quantity: number;
|
|
2054
|
+
special_instructions: string;
|
|
2060
2055
|
subtotal: number;
|
|
2061
2056
|
_gst_amount: number;
|
|
2062
2057
|
_net_amount: number;
|
|
2063
2058
|
_gross_amount: number;
|
|
2064
2059
|
_discount_amount: number;
|
|
2065
|
-
special_instructions: string;
|
|
2066
2060
|
is_ready?: boolean | null | undefined;
|
|
2067
2061
|
void_reason?: string | null | undefined;
|
|
2068
2062
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -2071,12 +2065,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2071
2065
|
price: number;
|
|
2072
2066
|
item_id: import("mongoose").Types.ObjectId;
|
|
2073
2067
|
quantity: number;
|
|
2068
|
+
special_instructions: string;
|
|
2074
2069
|
subtotal: number;
|
|
2075
2070
|
_gst_amount: number;
|
|
2076
2071
|
_net_amount: number;
|
|
2077
2072
|
_gross_amount: number;
|
|
2078
2073
|
_discount_amount: number;
|
|
2079
|
-
special_instructions: string;
|
|
2080
2074
|
is_ready?: boolean | null | undefined;
|
|
2081
2075
|
void_reason?: string | null | undefined;
|
|
2082
2076
|
}> & {
|
|
@@ -2085,12 +2079,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2085
2079
|
price: number;
|
|
2086
2080
|
item_id: import("mongoose").Types.ObjectId;
|
|
2087
2081
|
quantity: number;
|
|
2082
|
+
special_instructions: string;
|
|
2088
2083
|
subtotal: number;
|
|
2089
2084
|
_gst_amount: number;
|
|
2090
2085
|
_net_amount: number;
|
|
2091
2086
|
_gross_amount: number;
|
|
2092
2087
|
_discount_amount: number;
|
|
2093
|
-
special_instructions: string;
|
|
2094
2088
|
is_ready?: boolean | null | undefined;
|
|
2095
2089
|
void_reason?: string | null | undefined;
|
|
2096
2090
|
}>;
|
|
@@ -2103,12 +2097,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2103
2097
|
price: number;
|
|
2104
2098
|
item_id: import("mongoose").Types.ObjectId;
|
|
2105
2099
|
quantity: number;
|
|
2100
|
+
special_instructions: string;
|
|
2106
2101
|
subtotal: number;
|
|
2107
2102
|
_gst_amount: number;
|
|
2108
2103
|
_net_amount: number;
|
|
2109
2104
|
_gross_amount: number;
|
|
2110
2105
|
_discount_amount: number;
|
|
2111
|
-
special_instructions: string;
|
|
2112
2106
|
is_ready?: boolean | null | undefined;
|
|
2113
2107
|
void_reason?: string | null | undefined;
|
|
2114
2108
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -2117,12 +2111,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2117
2111
|
price: number;
|
|
2118
2112
|
item_id: import("mongoose").Types.ObjectId;
|
|
2119
2113
|
quantity: number;
|
|
2114
|
+
special_instructions: string;
|
|
2120
2115
|
subtotal: number;
|
|
2121
2116
|
_gst_amount: number;
|
|
2122
2117
|
_net_amount: number;
|
|
2123
2118
|
_gross_amount: number;
|
|
2124
2119
|
_discount_amount: number;
|
|
2125
|
-
special_instructions: string;
|
|
2126
2120
|
is_ready?: boolean | null | undefined;
|
|
2127
2121
|
void_reason?: string | null | undefined;
|
|
2128
2122
|
}> & {
|
|
@@ -2131,12 +2125,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2131
2125
|
price: number;
|
|
2132
2126
|
item_id: import("mongoose").Types.ObjectId;
|
|
2133
2127
|
quantity: number;
|
|
2128
|
+
special_instructions: string;
|
|
2134
2129
|
subtotal: number;
|
|
2135
2130
|
_gst_amount: number;
|
|
2136
2131
|
_net_amount: number;
|
|
2137
2132
|
_gross_amount: number;
|
|
2138
2133
|
_discount_amount: number;
|
|
2139
|
-
special_instructions: string;
|
|
2140
2134
|
is_ready?: boolean | null | undefined;
|
|
2141
2135
|
void_reason?: string | null | undefined;
|
|
2142
2136
|
}>;
|
|
@@ -2228,12 +2222,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2228
2222
|
price: number;
|
|
2229
2223
|
item_id: import("mongoose").Types.ObjectId;
|
|
2230
2224
|
quantity: number;
|
|
2225
|
+
special_instructions: string;
|
|
2231
2226
|
subtotal: number;
|
|
2232
2227
|
_gst_amount: number;
|
|
2233
2228
|
_net_amount: number;
|
|
2234
2229
|
_gross_amount: number;
|
|
2235
2230
|
_discount_amount: number;
|
|
2236
|
-
special_instructions: string;
|
|
2237
2231
|
is_ready?: boolean | null | undefined;
|
|
2238
2232
|
void_reason?: string | null | undefined;
|
|
2239
2233
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -2242,12 +2236,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2242
2236
|
price: number;
|
|
2243
2237
|
item_id: import("mongoose").Types.ObjectId;
|
|
2244
2238
|
quantity: number;
|
|
2239
|
+
special_instructions: string;
|
|
2245
2240
|
subtotal: number;
|
|
2246
2241
|
_gst_amount: number;
|
|
2247
2242
|
_net_amount: number;
|
|
2248
2243
|
_gross_amount: number;
|
|
2249
2244
|
_discount_amount: number;
|
|
2250
|
-
special_instructions: string;
|
|
2251
2245
|
is_ready?: boolean | null | undefined;
|
|
2252
2246
|
void_reason?: string | null | undefined;
|
|
2253
2247
|
}> & {
|
|
@@ -2256,12 +2250,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2256
2250
|
price: number;
|
|
2257
2251
|
item_id: import("mongoose").Types.ObjectId;
|
|
2258
2252
|
quantity: number;
|
|
2253
|
+
special_instructions: string;
|
|
2259
2254
|
subtotal: number;
|
|
2260
2255
|
_gst_amount: number;
|
|
2261
2256
|
_net_amount: number;
|
|
2262
2257
|
_gross_amount: number;
|
|
2263
2258
|
_discount_amount: number;
|
|
2264
|
-
special_instructions: string;
|
|
2265
2259
|
is_ready?: boolean | null | undefined;
|
|
2266
2260
|
void_reason?: string | null | undefined;
|
|
2267
2261
|
}>;
|
|
@@ -2274,12 +2268,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2274
2268
|
price: number;
|
|
2275
2269
|
item_id: import("mongoose").Types.ObjectId;
|
|
2276
2270
|
quantity: number;
|
|
2271
|
+
special_instructions: string;
|
|
2277
2272
|
subtotal: number;
|
|
2278
2273
|
_gst_amount: number;
|
|
2279
2274
|
_net_amount: number;
|
|
2280
2275
|
_gross_amount: number;
|
|
2281
2276
|
_discount_amount: number;
|
|
2282
|
-
special_instructions: string;
|
|
2283
2277
|
is_ready?: boolean | null | undefined;
|
|
2284
2278
|
void_reason?: string | null | undefined;
|
|
2285
2279
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -2288,12 +2282,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2288
2282
|
price: number;
|
|
2289
2283
|
item_id: import("mongoose").Types.ObjectId;
|
|
2290
2284
|
quantity: number;
|
|
2285
|
+
special_instructions: string;
|
|
2291
2286
|
subtotal: number;
|
|
2292
2287
|
_gst_amount: number;
|
|
2293
2288
|
_net_amount: number;
|
|
2294
2289
|
_gross_amount: number;
|
|
2295
2290
|
_discount_amount: number;
|
|
2296
|
-
special_instructions: string;
|
|
2297
2291
|
is_ready?: boolean | null | undefined;
|
|
2298
2292
|
void_reason?: string | null | undefined;
|
|
2299
2293
|
}> & {
|
|
@@ -2302,12 +2296,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2302
2296
|
price: number;
|
|
2303
2297
|
item_id: import("mongoose").Types.ObjectId;
|
|
2304
2298
|
quantity: number;
|
|
2299
|
+
special_instructions: string;
|
|
2305
2300
|
subtotal: number;
|
|
2306
2301
|
_gst_amount: number;
|
|
2307
2302
|
_net_amount: number;
|
|
2308
2303
|
_gross_amount: number;
|
|
2309
2304
|
_discount_amount: number;
|
|
2310
|
-
special_instructions: string;
|
|
2311
2305
|
is_ready?: boolean | null | undefined;
|
|
2312
2306
|
void_reason?: string | null | undefined;
|
|
2313
2307
|
}>;
|
|
@@ -2320,12 +2314,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2320
2314
|
price: number;
|
|
2321
2315
|
item_id: import("mongoose").Types.ObjectId;
|
|
2322
2316
|
quantity: number;
|
|
2317
|
+
special_instructions: string;
|
|
2323
2318
|
subtotal: number;
|
|
2324
2319
|
_gst_amount: number;
|
|
2325
2320
|
_net_amount: number;
|
|
2326
2321
|
_gross_amount: number;
|
|
2327
2322
|
_discount_amount: number;
|
|
2328
|
-
special_instructions: string;
|
|
2329
2323
|
is_ready?: boolean | null | undefined;
|
|
2330
2324
|
void_reason?: string | null | undefined;
|
|
2331
2325
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -2334,12 +2328,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2334
2328
|
price: number;
|
|
2335
2329
|
item_id: import("mongoose").Types.ObjectId;
|
|
2336
2330
|
quantity: number;
|
|
2331
|
+
special_instructions: string;
|
|
2337
2332
|
subtotal: number;
|
|
2338
2333
|
_gst_amount: number;
|
|
2339
2334
|
_net_amount: number;
|
|
2340
2335
|
_gross_amount: number;
|
|
2341
2336
|
_discount_amount: number;
|
|
2342
|
-
special_instructions: string;
|
|
2343
2337
|
is_ready?: boolean | null | undefined;
|
|
2344
2338
|
void_reason?: string | null | undefined;
|
|
2345
2339
|
}> & {
|
|
@@ -2348,12 +2342,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2348
2342
|
price: number;
|
|
2349
2343
|
item_id: import("mongoose").Types.ObjectId;
|
|
2350
2344
|
quantity: number;
|
|
2345
|
+
special_instructions: string;
|
|
2351
2346
|
subtotal: number;
|
|
2352
2347
|
_gst_amount: number;
|
|
2353
2348
|
_net_amount: number;
|
|
2354
2349
|
_gross_amount: number;
|
|
2355
2350
|
_discount_amount: number;
|
|
2356
|
-
special_instructions: string;
|
|
2357
2351
|
is_ready?: boolean | null | undefined;
|
|
2358
2352
|
void_reason?: string | null | undefined;
|
|
2359
2353
|
}>;
|
|
@@ -2445,12 +2439,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2445
2439
|
price: number;
|
|
2446
2440
|
item_id: import("mongoose").Types.ObjectId;
|
|
2447
2441
|
quantity: number;
|
|
2442
|
+
special_instructions: string;
|
|
2448
2443
|
subtotal: number;
|
|
2449
2444
|
_gst_amount: number;
|
|
2450
2445
|
_net_amount: number;
|
|
2451
2446
|
_gross_amount: number;
|
|
2452
2447
|
_discount_amount: number;
|
|
2453
|
-
special_instructions: string;
|
|
2454
2448
|
is_ready?: boolean | null | undefined;
|
|
2455
2449
|
void_reason?: string | null | undefined;
|
|
2456
2450
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -2459,12 +2453,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2459
2453
|
price: number;
|
|
2460
2454
|
item_id: import("mongoose").Types.ObjectId;
|
|
2461
2455
|
quantity: number;
|
|
2456
|
+
special_instructions: string;
|
|
2462
2457
|
subtotal: number;
|
|
2463
2458
|
_gst_amount: number;
|
|
2464
2459
|
_net_amount: number;
|
|
2465
2460
|
_gross_amount: number;
|
|
2466
2461
|
_discount_amount: number;
|
|
2467
|
-
special_instructions: string;
|
|
2468
2462
|
is_ready?: boolean | null | undefined;
|
|
2469
2463
|
void_reason?: string | null | undefined;
|
|
2470
2464
|
}> & {
|
|
@@ -2473,12 +2467,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2473
2467
|
price: number;
|
|
2474
2468
|
item_id: import("mongoose").Types.ObjectId;
|
|
2475
2469
|
quantity: number;
|
|
2470
|
+
special_instructions: string;
|
|
2476
2471
|
subtotal: number;
|
|
2477
2472
|
_gst_amount: number;
|
|
2478
2473
|
_net_amount: number;
|
|
2479
2474
|
_gross_amount: number;
|
|
2480
2475
|
_discount_amount: number;
|
|
2481
|
-
special_instructions: string;
|
|
2482
2476
|
is_ready?: boolean | null | undefined;
|
|
2483
2477
|
void_reason?: string | null | undefined;
|
|
2484
2478
|
}>;
|
|
@@ -2491,12 +2485,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2491
2485
|
price: number;
|
|
2492
2486
|
item_id: import("mongoose").Types.ObjectId;
|
|
2493
2487
|
quantity: number;
|
|
2488
|
+
special_instructions: string;
|
|
2494
2489
|
subtotal: number;
|
|
2495
2490
|
_gst_amount: number;
|
|
2496
2491
|
_net_amount: number;
|
|
2497
2492
|
_gross_amount: number;
|
|
2498
2493
|
_discount_amount: number;
|
|
2499
|
-
special_instructions: string;
|
|
2500
2494
|
is_ready?: boolean | null | undefined;
|
|
2501
2495
|
void_reason?: string | null | undefined;
|
|
2502
2496
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -2505,12 +2499,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2505
2499
|
price: number;
|
|
2506
2500
|
item_id: import("mongoose").Types.ObjectId;
|
|
2507
2501
|
quantity: number;
|
|
2502
|
+
special_instructions: string;
|
|
2508
2503
|
subtotal: number;
|
|
2509
2504
|
_gst_amount: number;
|
|
2510
2505
|
_net_amount: number;
|
|
2511
2506
|
_gross_amount: number;
|
|
2512
2507
|
_discount_amount: number;
|
|
2513
|
-
special_instructions: string;
|
|
2514
2508
|
is_ready?: boolean | null | undefined;
|
|
2515
2509
|
void_reason?: string | null | undefined;
|
|
2516
2510
|
}> & {
|
|
@@ -2519,12 +2513,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2519
2513
|
price: number;
|
|
2520
2514
|
item_id: import("mongoose").Types.ObjectId;
|
|
2521
2515
|
quantity: number;
|
|
2516
|
+
special_instructions: string;
|
|
2522
2517
|
subtotal: number;
|
|
2523
2518
|
_gst_amount: number;
|
|
2524
2519
|
_net_amount: number;
|
|
2525
2520
|
_gross_amount: number;
|
|
2526
2521
|
_discount_amount: number;
|
|
2527
|
-
special_instructions: string;
|
|
2528
2522
|
is_ready?: boolean | null | undefined;
|
|
2529
2523
|
void_reason?: string | null | undefined;
|
|
2530
2524
|
}>;
|
|
@@ -2537,12 +2531,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2537
2531
|
price: number;
|
|
2538
2532
|
item_id: import("mongoose").Types.ObjectId;
|
|
2539
2533
|
quantity: number;
|
|
2534
|
+
special_instructions: string;
|
|
2540
2535
|
subtotal: number;
|
|
2541
2536
|
_gst_amount: number;
|
|
2542
2537
|
_net_amount: number;
|
|
2543
2538
|
_gross_amount: number;
|
|
2544
2539
|
_discount_amount: number;
|
|
2545
|
-
special_instructions: string;
|
|
2546
2540
|
is_ready?: boolean | null | undefined;
|
|
2547
2541
|
void_reason?: string | null | undefined;
|
|
2548
2542
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
@@ -2551,12 +2545,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2551
2545
|
price: number;
|
|
2552
2546
|
item_id: import("mongoose").Types.ObjectId;
|
|
2553
2547
|
quantity: number;
|
|
2548
|
+
special_instructions: string;
|
|
2554
2549
|
subtotal: number;
|
|
2555
2550
|
_gst_amount: number;
|
|
2556
2551
|
_net_amount: number;
|
|
2557
2552
|
_gross_amount: number;
|
|
2558
2553
|
_discount_amount: number;
|
|
2559
|
-
special_instructions: string;
|
|
2560
2554
|
is_ready?: boolean | null | undefined;
|
|
2561
2555
|
void_reason?: string | null | undefined;
|
|
2562
2556
|
}> & {
|
|
@@ -2565,12 +2559,12 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2565
2559
|
price: number;
|
|
2566
2560
|
item_id: import("mongoose").Types.ObjectId;
|
|
2567
2561
|
quantity: number;
|
|
2562
|
+
special_instructions: string;
|
|
2568
2563
|
subtotal: number;
|
|
2569
2564
|
_gst_amount: number;
|
|
2570
2565
|
_net_amount: number;
|
|
2571
2566
|
_gross_amount: number;
|
|
2572
2567
|
_discount_amount: number;
|
|
2573
|
-
special_instructions: string;
|
|
2574
2568
|
is_ready?: boolean | null | undefined;
|
|
2575
2569
|
void_reason?: string | null | undefined;
|
|
2576
2570
|
}>;
|
|
@@ -2655,18 +2649,24 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2655
2649
|
amount_collected: number;
|
|
2656
2650
|
is_deleted: boolean;
|
|
2657
2651
|
order_status_updated_at: NativeDate;
|
|
2652
|
+
staff_details: {
|
|
2653
|
+
staff_id: string;
|
|
2654
|
+
staff_name: string;
|
|
2655
|
+
staff_mobile: string;
|
|
2656
|
+
staff_email: string;
|
|
2657
|
+
};
|
|
2658
2658
|
order_settled_at: NativeDate;
|
|
2659
2659
|
order_settled_at_mins: number;
|
|
2660
2660
|
warehouse_id: string;
|
|
2661
2661
|
vendor_id: import("mongoose").Types.ObjectId;
|
|
2662
2662
|
vendor_name: string;
|
|
2663
2663
|
cancel_reason?: string | null | undefined;
|
|
2664
|
-
gst?: number | null | undefined;
|
|
2665
|
-
gst_amount?: number | null | undefined;
|
|
2666
|
-
is_gst_inclusive?: boolean | null | undefined;
|
|
2667
2664
|
delete_reason?: string | null | undefined;
|
|
2668
2665
|
is_reopened?: boolean | null | undefined;
|
|
2669
2666
|
deferred_settlement?: boolean | null | undefined;
|
|
2667
|
+
gst?: number | null | undefined;
|
|
2668
|
+
gst_amount?: number | null | undefined;
|
|
2669
|
+
is_gst_inclusive?: boolean | null | undefined;
|
|
2670
2670
|
}> & Required<{
|
|
2671
2671
|
_id: import("mongoose").Types.ObjectId;
|
|
2672
2672
|
}> & {
|