@managesome/eposmatic-toolkit 0.2.430 → 0.2.432
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/constants/ENUMS.d.ts +3 -285
- package/lib/constants/ENUMS.js +7 -387
- package/lib/constants/PURCHASE_ORDER.d.ts +5 -3
- package/lib/constants/PURCHASE_ORDER.js +58 -20
- package/lib/constants/WAREHOUSE_ANALYTICS.d.ts +41 -41
- package/lib/constants/WAREHOUSE_ANALYTICS.js +28 -28
- package/lib/constants/WAREHOUSE_ENUMS.d.ts +289 -0
- package/lib/constants/WAREHOUSE_ENUMS.js +392 -0
- package/lib/constants/WAREHOUSE_INVOICE.js +10 -10
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/index.js +1 -0
- package/lib/helpers/order/generate-purchase-order-rfq.d.ts +3 -3
- package/lib/helpers/order/generate-purchase-order-rfq.js +2 -2
- package/lib/helpers/order/generate-purchase-order.d.ts +8 -8
- package/lib/helpers/order/generate-purchase-order.js +2 -2
- package/lib/helpers/order/generate-warehouse-purchase-order-rfq.d.ts +3 -0
- package/lib/helpers/order/generate-warehouse-purchase-order-rfq.js +64 -0
- package/lib/helpers/order/generate-warehouse-purchase-order.d.ts +11 -0
- package/lib/helpers/order/generate-warehouse-purchase-order.js +196 -0
- package/lib/helpers/order/index.d.ts +2 -2
- package/lib/helpers/order/index.js +2 -2
- package/lib/helpers/store/all-purchase-orders-actions.d.ts +7 -7
- package/lib/helpers/store/all-purchase-orders-actions.js +2 -2
- package/lib/helpers/store/all-sale-orders-actions.d.ts +2 -2
- package/lib/helpers/store/all-warehouse-purchase-orders-actions.d.ts +13 -0
- package/lib/helpers/store/all-warehouse-purchase-orders-actions.js +56 -0
- package/lib/helpers/store/all-warehouse-sale-orders-actions.d.ts +2 -0
- package/lib/helpers/store/all-warehouse-sale-orders-actions.js +8 -0
- package/lib/helpers/store/common-purchase-order-actions.d.ts +15 -15
- package/lib/helpers/store/common-sale-order-actions.d.ts +5 -5
- package/lib/helpers/store/common-warehouse-purchase-order-actions.d.ts +31 -0
- package/lib/helpers/store/common-warehouse-purchase-order-actions.js +545 -0
- package/lib/helpers/store/common-warehouse-sale-order-actions.d.ts +5 -0
- package/lib/helpers/store/common-warehouse-sale-order-actions.js +65 -0
- package/lib/helpers/store/index.d.ts +6 -6
- package/lib/helpers/store/index.js +6 -6
- package/lib/helpers/store/purchase-order-rfq-cart-actions.d.ts +11 -11
- package/lib/helpers/store/purchase-order-rfq-cart-actions.js +3 -3
- package/lib/helpers/store/purchase-orders-cart-actions.d.ts +18 -18
- package/lib/helpers/store/purchase-orders-cart-actions.js +1 -1
- package/lib/helpers/store/warehouse-purchase-order-rfq-cart-actions.d.ts +19 -0
- package/lib/helpers/store/warehouse-purchase-order-rfq-cart-actions.js +373 -0
- package/lib/helpers/store/warehouse-purchase-orders-cart-actions.d.ts +57 -0
- package/lib/helpers/store/warehouse-purchase-orders-cart-actions.js +486 -0
- package/lib/helpers/types/index.d.ts +1 -1
- package/lib/helpers/types/index.js +1 -1
- package/lib/helpers/types/purchase-order-cart-actions.d.ts +2 -2
- package/lib/helpers/types/warehouse-purchase-order-cart-actions.d.ts +26 -0
- package/lib/helpers/types/warehouse-purchase-order-cart-actions.js +2 -0
- package/lib/helpers/types/workers.d.ts +18 -18
- package/lib/helpers/utils/index.d.ts +8 -8
- package/lib/helpers/utils/index.js +8 -11
- package/lib/helpers/utils/inventory.js +6 -0
- package/lib/helpers/utils/invoice-x-report-helpers.d.ts +2 -2
- package/lib/helpers/utils/invoice-x-report-helpers.js +14 -14
- package/lib/helpers/utils/purchase-order-engine.d.ts +4 -4
- package/lib/helpers/utils/purchase-order-receipt-engine.d.ts +5 -5
- package/lib/helpers/utils/purchase-order-receipt-engine.js +2 -2
- package/lib/helpers/utils/purchase-order-x-report-helpers.js +2 -2
- package/lib/helpers/utils/sale-x-report-helpers.js +2 -2
- package/lib/helpers/utils/void-purchase-order-items-helpers.d.ts +3 -3
- package/lib/helpers/utils/void-purchase-order-items-report-helpers.d.ts +2 -2
- package/lib/helpers/utils/void-warehouse-invoice-items-helpers.d.ts +3 -3
- package/lib/helpers/utils/void-warehouse-invoice-items-helpers.js +2 -2
- package/lib/helpers/utils/void-warehouse-invoice-items-report-helpers.d.ts +5 -5
- package/lib/helpers/utils/warehouse-catalog-conversion.d.ts +3 -3
- package/lib/helpers/utils/warehouse-catalog-conversion.js +9 -7
- package/lib/helpers/utils/warehouse-inventory.js +9 -0
- package/lib/helpers/utils/warehouse-invoice-order-engine.js +1 -1
- package/lib/helpers/utils/warehouse-invoice-x-report-helpers.d.ts +58 -0
- package/lib/helpers/utils/warehouse-invoice-x-report-helpers.js +1432 -0
- package/lib/helpers/utils/warehouse-purchase-order-engine.d.ts +9 -0
- package/lib/helpers/utils/warehouse-purchase-order-engine.js +34 -0
- package/lib/helpers/utils/warehouse-purchase-order-receipt-engine.d.ts +149 -0
- package/lib/helpers/utils/warehouse-purchase-order-receipt-engine.js +214 -0
- package/lib/helpers/utils/warehouse-purchase-order-x-report-helpers.d.ts +58 -0
- package/lib/helpers/utils/warehouse-purchase-order-x-report-helpers.js +1440 -0
- package/lib/helpers/utils/warehouse-sale-order-x-report-helpers.d.ts +30 -0
- package/lib/helpers/utils/warehouse-sale-order-x-report-helpers.js +2 -0
- package/lib/helpers/utils/warehouse-sale-x-report-helpers.d.ts +58 -0
- package/lib/helpers/utils/warehouse-sale-x-report-helpers.js +1456 -0
- package/lib/helpers/utils/warehouse-void-purchase-order-items-helpers.d.ts +3 -0
- package/lib/helpers/utils/warehouse-void-purchase-order-items-helpers.js +38 -0
- package/lib/helpers/utils/warehouse-void-purchase-order-items-report-helpers.d.ts +13 -0
- package/lib/helpers/utils/warehouse-void-purchase-order-items-report-helpers.js +22 -0
- package/lib/schemas/models/gift_cards.d.ts +108 -108
- package/lib/schemas/models/halfhalf_setup.d.ts +3 -3
- package/lib/schemas/models/index.d.ts +7 -7
- package/lib/schemas/models/index.js +7 -7
- package/lib/schemas/models/internal_invoices.d.ts +6 -6
- package/lib/schemas/models/inventory_lot_serial_numbers.d.ts +6 -6
- package/lib/schemas/models/inventory_transactions.d.ts +3 -3
- package/lib/schemas/models/item_transactions.d.ts +6 -6
- package/lib/schemas/models/offers.d.ts +146 -146
- package/lib/schemas/models/orders.d.ts +2573 -2573
- package/lib/schemas/models/printer_settings.d.ts +12 -12
- package/lib/schemas/models/reservations.d.ts +6 -6
- package/lib/schemas/models/rewards_usage.d.ts +6 -6
- package/lib/schemas/models/riders.d.ts +3 -3
- package/lib/schemas/models/tenants.d.ts +135 -135
- package/lib/schemas/models/void_order_items.d.ts +15 -15
- package/lib/schemas/models/void_warehouse_invoice_items.d.ts +25 -25
- package/lib/schemas/models/void_warehouse_invoice_items.js +2 -2
- package/lib/schemas/models/vouchers.d.ts +9 -9
- package/lib/schemas/models/warehouse-activity-logs.d.ts +13 -13
- package/lib/schemas/models/warehouse-activity-logs.js +4 -4
- package/lib/schemas/models/warehouse_categories.d.ts +4 -4
- package/lib/schemas/models/warehouse_categories.js +2 -2
- package/lib/schemas/models/warehouse_communications.d.ts +21 -21
- package/lib/schemas/models/warehouse_internal_movements.d.ts +33 -33
- package/lib/schemas/models/warehouse_internal_movements.js +8 -8
- package/lib/schemas/models/warehouse_inventory_lot_serial_numbers.d.ts +154 -0
- package/lib/schemas/models/warehouse_inventory_lot_serial_numbers.js +193 -0
- package/lib/schemas/models/warehouse_inventory_transactions.d.ts +6 -6
- package/lib/schemas/models/warehouse_invoices.d.ts +351 -351
- package/lib/schemas/models/warehouse_item_transactions.d.ts +9 -9
- package/lib/schemas/models/warehouse_items.d.ts +13 -13
- package/lib/schemas/models/warehouse_items.js +2 -2
- package/lib/schemas/models/warehouse_operational_roles.d.ts +3 -3
- package/lib/schemas/models/warehouse_purchase_order_receipts.d.ts +165 -0
- package/lib/schemas/models/warehouse_purchase_order_receipts.js +151 -0
- package/lib/schemas/models/warehouse_purchase_order_rfqs.d.ts +1959 -0
- package/lib/schemas/models/warehouse_purchase_order_rfqs.js +328 -0
- package/lib/schemas/models/warehouse_purchase_order_vendor_returns.d.ts +234 -0
- package/lib/schemas/models/warehouse_purchase_order_vendor_returns.js +188 -0
- package/lib/schemas/models/warehouse_purchase_orders.d.ts +2678 -0
- package/lib/schemas/models/warehouse_purchase_orders.js +336 -0
- package/lib/schemas/models/warehouse_sale_deliveries.d.ts +15 -15
- package/lib/schemas/models/warehouse_sale_deliveries.js +7 -4
- package/lib/schemas/models/warehouse_sale_invoices.d.ts +30 -30
- package/lib/schemas/models/warehouse_sale_invoices.js +8 -5
- package/lib/schemas/models/warehouse_sale_order_rfqs.d.ts +362 -362
- package/lib/schemas/models/warehouse_sale_order_rfqs.js +5 -5
- package/lib/schemas/models/warehouse_sale_orders.d.ts +367 -367
- package/lib/schemas/models/warehouse_sale_orders.js +5 -5
- package/lib/schemas/models/warehouse_void_invoice_items.d.ts +176 -0
- package/lib/schemas/models/warehouse_void_invoice_items.js +176 -0
- package/lib/schemas/models/warehouse_void_purchase_order_items.d.ts +176 -0
- package/lib/schemas/models/warehouse_void_purchase_order_items.js +177 -0
- package/lib/schemas/models/warehouses.d.ts +52 -52
- package/lib/schemas/models/warehouses.js +2 -2
- package/lib/schemas/types/index.d.ts +9 -9
- package/lib/schemas/types/index.js +9 -9
- package/lib/schemas/types/inventories.d.ts +2 -0
- package/lib/schemas/types/inventory_lot_serial_numbers.d.ts +5 -5
- package/lib/schemas/types/warehouse-activity-logs.d.ts +7 -7
- package/lib/schemas/types/warehouse_categories.d.ts +2 -2
- package/lib/schemas/types/warehouse_internal_movements.d.ts +9 -9
- package/lib/schemas/types/warehouse_inventory_lot_serial_numbers.d.ts +85 -0
- package/lib/schemas/types/warehouse_inventory_lot_serial_numbers.js +4 -0
- package/lib/schemas/types/warehouse_items.d.ts +5 -2
- package/lib/schemas/types/warehouse_purchase_order_common.d.ts +39 -0
- package/lib/schemas/types/warehouse_purchase_order_common.js +2 -0
- package/lib/schemas/types/warehouse_purchase_order_receipts.d.ts +39 -0
- package/lib/schemas/types/warehouse_purchase_order_receipts.js +21 -0
- package/lib/schemas/types/warehouse_purchase_order_rfqs.d.ts +33 -0
- package/lib/schemas/types/warehouse_purchase_order_rfqs.js +2 -0
- package/lib/schemas/types/warehouse_purchase_order_vendor_returns.d.ts +48 -0
- package/lib/schemas/types/warehouse_purchase_order_vendor_returns.js +2 -0
- package/lib/schemas/types/warehouse_purchase_orders.d.ts +33 -0
- package/lib/schemas/types/warehouse_purchase_orders.js +2 -0
- package/lib/schemas/types/warehouse_sale_deliveries.d.ts +29 -29
- package/lib/schemas/types/warehouse_sale_invoices.d.ts +17 -17
- package/lib/schemas/types/warehouse_sale_order_common.d.ts +39 -0
- package/lib/schemas/types/warehouse_sale_order_common.js +2 -0
- package/lib/schemas/types/warehouse_sale_order_rfqs.d.ts +7 -7
- package/lib/schemas/types/warehouse_sale_orders.d.ts +7 -7
- package/lib/schemas/types/warehouse_void_invoice_items.d.ts +37 -0
- package/lib/schemas/types/warehouse_void_invoice_items.js +2 -0
- package/lib/schemas/types/warehouse_void_purchase_order_items.d.ts +37 -0
- package/lib/schemas/types/warehouse_void_purchase_order_items.js +2 -0
- package/lib/schemas/types/warehouses.d.ts +2 -2
- package/package.json +1 -1
|
@@ -19,12 +19,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
19
19
|
name: string;
|
|
20
20
|
price: number;
|
|
21
21
|
special_instructions: string;
|
|
22
|
-
quantity: number;
|
|
23
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
24
22
|
subtotal: number;
|
|
25
|
-
|
|
23
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
24
|
+
quantity: number;
|
|
26
25
|
_net_amount: number;
|
|
27
26
|
_gross_amount: number;
|
|
27
|
+
_gst_amount: number;
|
|
28
28
|
_discount_amount: number;
|
|
29
29
|
is_ready?: boolean | null | undefined;
|
|
30
30
|
void_reason?: string | null | undefined;
|
|
@@ -33,12 +33,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
33
33
|
name: string;
|
|
34
34
|
price: number;
|
|
35
35
|
special_instructions: string;
|
|
36
|
-
quantity: number;
|
|
37
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
38
36
|
subtotal: number;
|
|
39
|
-
|
|
37
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
38
|
+
quantity: number;
|
|
40
39
|
_net_amount: number;
|
|
41
40
|
_gross_amount: number;
|
|
41
|
+
_gst_amount: number;
|
|
42
42
|
_discount_amount: number;
|
|
43
43
|
is_ready?: boolean | null | undefined;
|
|
44
44
|
void_reason?: string | null | undefined;
|
|
@@ -47,12 +47,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
47
47
|
name: string;
|
|
48
48
|
price: number;
|
|
49
49
|
special_instructions: string;
|
|
50
|
-
quantity: number;
|
|
51
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
52
50
|
subtotal: number;
|
|
53
|
-
|
|
51
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
52
|
+
quantity: number;
|
|
54
53
|
_net_amount: number;
|
|
55
54
|
_gross_amount: number;
|
|
55
|
+
_gst_amount: number;
|
|
56
56
|
_discount_amount: number;
|
|
57
57
|
is_ready?: boolean | null | undefined;
|
|
58
58
|
void_reason?: string | null | undefined;
|
|
@@ -65,12 +65,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
65
65
|
name: string;
|
|
66
66
|
price: number;
|
|
67
67
|
special_instructions: string;
|
|
68
|
-
quantity: number;
|
|
69
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
70
68
|
subtotal: number;
|
|
71
|
-
|
|
69
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
70
|
+
quantity: number;
|
|
72
71
|
_net_amount: number;
|
|
73
72
|
_gross_amount: number;
|
|
73
|
+
_gst_amount: number;
|
|
74
74
|
_discount_amount: number;
|
|
75
75
|
is_ready?: boolean | null | undefined;
|
|
76
76
|
void_reason?: string | null | undefined;
|
|
@@ -79,12 +79,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
79
79
|
name: string;
|
|
80
80
|
price: number;
|
|
81
81
|
special_instructions: string;
|
|
82
|
-
quantity: number;
|
|
83
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
84
82
|
subtotal: number;
|
|
85
|
-
|
|
83
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
84
|
+
quantity: number;
|
|
86
85
|
_net_amount: number;
|
|
87
86
|
_gross_amount: number;
|
|
87
|
+
_gst_amount: number;
|
|
88
88
|
_discount_amount: number;
|
|
89
89
|
is_ready?: boolean | null | undefined;
|
|
90
90
|
void_reason?: string | null | undefined;
|
|
@@ -93,12 +93,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
93
93
|
name: string;
|
|
94
94
|
price: number;
|
|
95
95
|
special_instructions: string;
|
|
96
|
-
quantity: number;
|
|
97
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
98
96
|
subtotal: number;
|
|
99
|
-
|
|
97
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
98
|
+
quantity: number;
|
|
100
99
|
_net_amount: number;
|
|
101
100
|
_gross_amount: number;
|
|
101
|
+
_gst_amount: number;
|
|
102
102
|
_discount_amount: number;
|
|
103
103
|
is_ready?: boolean | null | undefined;
|
|
104
104
|
void_reason?: string | null | undefined;
|
|
@@ -111,12 +111,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
111
111
|
name: string;
|
|
112
112
|
price: number;
|
|
113
113
|
special_instructions: string;
|
|
114
|
-
quantity: number;
|
|
115
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
116
114
|
subtotal: number;
|
|
117
|
-
|
|
115
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
116
|
+
quantity: number;
|
|
118
117
|
_net_amount: number;
|
|
119
118
|
_gross_amount: number;
|
|
119
|
+
_gst_amount: number;
|
|
120
120
|
_discount_amount: number;
|
|
121
121
|
is_ready?: boolean | null | undefined;
|
|
122
122
|
void_reason?: string | null | undefined;
|
|
@@ -125,12 +125,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
125
125
|
name: string;
|
|
126
126
|
price: number;
|
|
127
127
|
special_instructions: string;
|
|
128
|
-
quantity: number;
|
|
129
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
130
128
|
subtotal: number;
|
|
131
|
-
|
|
129
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
130
|
+
quantity: number;
|
|
132
131
|
_net_amount: number;
|
|
133
132
|
_gross_amount: number;
|
|
133
|
+
_gst_amount: number;
|
|
134
134
|
_discount_amount: number;
|
|
135
135
|
is_ready?: boolean | null | undefined;
|
|
136
136
|
void_reason?: string | null | undefined;
|
|
@@ -139,12 +139,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
139
139
|
name: string;
|
|
140
140
|
price: number;
|
|
141
141
|
special_instructions: string;
|
|
142
|
-
quantity: number;
|
|
143
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
144
142
|
subtotal: number;
|
|
145
|
-
|
|
143
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
144
|
+
quantity: number;
|
|
146
145
|
_net_amount: number;
|
|
147
146
|
_gross_amount: number;
|
|
147
|
+
_gst_amount: number;
|
|
148
148
|
_discount_amount: number;
|
|
149
149
|
is_ready?: boolean | null | undefined;
|
|
150
150
|
void_reason?: string | null | undefined;
|
|
@@ -228,12 +228,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
228
228
|
name: string;
|
|
229
229
|
price: number;
|
|
230
230
|
special_instructions: string;
|
|
231
|
-
quantity: number;
|
|
232
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
233
231
|
subtotal: number;
|
|
234
|
-
|
|
232
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
233
|
+
quantity: number;
|
|
235
234
|
_net_amount: number;
|
|
236
235
|
_gross_amount: number;
|
|
236
|
+
_gst_amount: number;
|
|
237
237
|
_discount_amount: number;
|
|
238
238
|
is_ready?: boolean | null | undefined;
|
|
239
239
|
void_reason?: string | null | undefined;
|
|
@@ -242,12 +242,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
242
242
|
name: string;
|
|
243
243
|
price: number;
|
|
244
244
|
special_instructions: string;
|
|
245
|
-
quantity: number;
|
|
246
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
247
245
|
subtotal: number;
|
|
248
|
-
|
|
246
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
247
|
+
quantity: number;
|
|
249
248
|
_net_amount: number;
|
|
250
249
|
_gross_amount: number;
|
|
250
|
+
_gst_amount: number;
|
|
251
251
|
_discount_amount: number;
|
|
252
252
|
is_ready?: boolean | null | undefined;
|
|
253
253
|
void_reason?: string | null | undefined;
|
|
@@ -256,12 +256,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
256
256
|
name: string;
|
|
257
257
|
price: number;
|
|
258
258
|
special_instructions: string;
|
|
259
|
-
quantity: number;
|
|
260
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
261
259
|
subtotal: number;
|
|
262
|
-
|
|
260
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
261
|
+
quantity: number;
|
|
263
262
|
_net_amount: number;
|
|
264
263
|
_gross_amount: number;
|
|
264
|
+
_gst_amount: number;
|
|
265
265
|
_discount_amount: number;
|
|
266
266
|
is_ready?: boolean | null | undefined;
|
|
267
267
|
void_reason?: string | null | undefined;
|
|
@@ -274,12 +274,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
274
274
|
name: string;
|
|
275
275
|
price: number;
|
|
276
276
|
special_instructions: string;
|
|
277
|
-
quantity: number;
|
|
278
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
279
277
|
subtotal: number;
|
|
280
|
-
|
|
278
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
279
|
+
quantity: number;
|
|
281
280
|
_net_amount: number;
|
|
282
281
|
_gross_amount: number;
|
|
282
|
+
_gst_amount: number;
|
|
283
283
|
_discount_amount: number;
|
|
284
284
|
is_ready?: boolean | null | undefined;
|
|
285
285
|
void_reason?: string | null | undefined;
|
|
@@ -288,12 +288,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
288
288
|
name: string;
|
|
289
289
|
price: number;
|
|
290
290
|
special_instructions: string;
|
|
291
|
-
quantity: number;
|
|
292
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
293
291
|
subtotal: number;
|
|
294
|
-
|
|
292
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
293
|
+
quantity: number;
|
|
295
294
|
_net_amount: number;
|
|
296
295
|
_gross_amount: number;
|
|
296
|
+
_gst_amount: number;
|
|
297
297
|
_discount_amount: number;
|
|
298
298
|
is_ready?: boolean | null | undefined;
|
|
299
299
|
void_reason?: string | null | undefined;
|
|
@@ -302,12 +302,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
302
302
|
name: string;
|
|
303
303
|
price: number;
|
|
304
304
|
special_instructions: string;
|
|
305
|
-
quantity: number;
|
|
306
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
307
305
|
subtotal: number;
|
|
308
|
-
|
|
306
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
307
|
+
quantity: number;
|
|
309
308
|
_net_amount: number;
|
|
310
309
|
_gross_amount: number;
|
|
310
|
+
_gst_amount: number;
|
|
311
311
|
_discount_amount: number;
|
|
312
312
|
is_ready?: boolean | null | undefined;
|
|
313
313
|
void_reason?: string | null | undefined;
|
|
@@ -320,12 +320,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
320
320
|
name: string;
|
|
321
321
|
price: number;
|
|
322
322
|
special_instructions: string;
|
|
323
|
-
quantity: number;
|
|
324
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
325
323
|
subtotal: number;
|
|
326
|
-
|
|
324
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
325
|
+
quantity: number;
|
|
327
326
|
_net_amount: number;
|
|
328
327
|
_gross_amount: number;
|
|
328
|
+
_gst_amount: number;
|
|
329
329
|
_discount_amount: number;
|
|
330
330
|
is_ready?: boolean | null | undefined;
|
|
331
331
|
void_reason?: string | null | undefined;
|
|
@@ -334,12 +334,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
334
334
|
name: string;
|
|
335
335
|
price: number;
|
|
336
336
|
special_instructions: string;
|
|
337
|
-
quantity: number;
|
|
338
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
339
337
|
subtotal: number;
|
|
340
|
-
|
|
338
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
339
|
+
quantity: number;
|
|
341
340
|
_net_amount: number;
|
|
342
341
|
_gross_amount: number;
|
|
342
|
+
_gst_amount: number;
|
|
343
343
|
_discount_amount: number;
|
|
344
344
|
is_ready?: boolean | null | undefined;
|
|
345
345
|
void_reason?: string | null | undefined;
|
|
@@ -348,12 +348,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
348
348
|
name: string;
|
|
349
349
|
price: number;
|
|
350
350
|
special_instructions: string;
|
|
351
|
-
quantity: number;
|
|
352
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
353
351
|
subtotal: number;
|
|
354
|
-
|
|
352
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
353
|
+
quantity: number;
|
|
355
354
|
_net_amount: number;
|
|
356
355
|
_gross_amount: number;
|
|
356
|
+
_gst_amount: number;
|
|
357
357
|
_discount_amount: number;
|
|
358
358
|
is_ready?: boolean | null | undefined;
|
|
359
359
|
void_reason?: string | null | undefined;
|
|
@@ -432,9 +432,9 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
432
432
|
staff_mobile: string;
|
|
433
433
|
staff_email: string;
|
|
434
434
|
} | null | undefined;
|
|
435
|
+
is_gst_inclusive?: boolean | null | undefined;
|
|
435
436
|
gst?: number | null | undefined;
|
|
436
437
|
gst_amount?: number | null | undefined;
|
|
437
|
-
is_gst_inclusive?: boolean | null | undefined;
|
|
438
438
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
439
439
|
updatedAt: NativeDate;
|
|
440
440
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -445,12 +445,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
445
445
|
name: string;
|
|
446
446
|
price: number;
|
|
447
447
|
special_instructions: string;
|
|
448
|
-
quantity: number;
|
|
449
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
450
448
|
subtotal: number;
|
|
451
|
-
|
|
449
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
450
|
+
quantity: number;
|
|
452
451
|
_net_amount: number;
|
|
453
452
|
_gross_amount: number;
|
|
453
|
+
_gst_amount: number;
|
|
454
454
|
_discount_amount: number;
|
|
455
455
|
is_ready?: boolean | null | undefined;
|
|
456
456
|
void_reason?: string | null | undefined;
|
|
@@ -459,12 +459,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
459
459
|
name: string;
|
|
460
460
|
price: number;
|
|
461
461
|
special_instructions: string;
|
|
462
|
-
quantity: number;
|
|
463
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
464
462
|
subtotal: number;
|
|
465
|
-
|
|
463
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
464
|
+
quantity: number;
|
|
466
465
|
_net_amount: number;
|
|
467
466
|
_gross_amount: number;
|
|
467
|
+
_gst_amount: number;
|
|
468
468
|
_discount_amount: number;
|
|
469
469
|
is_ready?: boolean | null | undefined;
|
|
470
470
|
void_reason?: string | null | undefined;
|
|
@@ -473,12 +473,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
473
473
|
name: string;
|
|
474
474
|
price: number;
|
|
475
475
|
special_instructions: string;
|
|
476
|
-
quantity: number;
|
|
477
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
478
476
|
subtotal: number;
|
|
479
|
-
|
|
477
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
478
|
+
quantity: number;
|
|
480
479
|
_net_amount: number;
|
|
481
480
|
_gross_amount: number;
|
|
481
|
+
_gst_amount: number;
|
|
482
482
|
_discount_amount: number;
|
|
483
483
|
is_ready?: boolean | null | undefined;
|
|
484
484
|
void_reason?: string | null | undefined;
|
|
@@ -491,12 +491,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
491
491
|
name: string;
|
|
492
492
|
price: number;
|
|
493
493
|
special_instructions: string;
|
|
494
|
-
quantity: number;
|
|
495
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
496
494
|
subtotal: number;
|
|
497
|
-
|
|
495
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
496
|
+
quantity: number;
|
|
498
497
|
_net_amount: number;
|
|
499
498
|
_gross_amount: number;
|
|
499
|
+
_gst_amount: number;
|
|
500
500
|
_discount_amount: number;
|
|
501
501
|
is_ready?: boolean | null | undefined;
|
|
502
502
|
void_reason?: string | null | undefined;
|
|
@@ -505,12 +505,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
505
505
|
name: string;
|
|
506
506
|
price: number;
|
|
507
507
|
special_instructions: string;
|
|
508
|
-
quantity: number;
|
|
509
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
510
508
|
subtotal: number;
|
|
511
|
-
|
|
509
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
510
|
+
quantity: number;
|
|
512
511
|
_net_amount: number;
|
|
513
512
|
_gross_amount: number;
|
|
513
|
+
_gst_amount: number;
|
|
514
514
|
_discount_amount: number;
|
|
515
515
|
is_ready?: boolean | null | undefined;
|
|
516
516
|
void_reason?: string | null | undefined;
|
|
@@ -519,12 +519,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
519
519
|
name: string;
|
|
520
520
|
price: number;
|
|
521
521
|
special_instructions: string;
|
|
522
|
-
quantity: number;
|
|
523
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
524
522
|
subtotal: number;
|
|
525
|
-
|
|
523
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
524
|
+
quantity: number;
|
|
526
525
|
_net_amount: number;
|
|
527
526
|
_gross_amount: number;
|
|
527
|
+
_gst_amount: number;
|
|
528
528
|
_discount_amount: number;
|
|
529
529
|
is_ready?: boolean | null | undefined;
|
|
530
530
|
void_reason?: string | null | undefined;
|
|
@@ -537,12 +537,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
537
537
|
name: string;
|
|
538
538
|
price: number;
|
|
539
539
|
special_instructions: string;
|
|
540
|
-
quantity: number;
|
|
541
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
542
540
|
subtotal: number;
|
|
543
|
-
|
|
541
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
542
|
+
quantity: number;
|
|
544
543
|
_net_amount: number;
|
|
545
544
|
_gross_amount: number;
|
|
545
|
+
_gst_amount: number;
|
|
546
546
|
_discount_amount: number;
|
|
547
547
|
is_ready?: boolean | null | undefined;
|
|
548
548
|
void_reason?: string | null | undefined;
|
|
@@ -551,12 +551,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
551
551
|
name: string;
|
|
552
552
|
price: number;
|
|
553
553
|
special_instructions: string;
|
|
554
|
-
quantity: number;
|
|
555
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
556
554
|
subtotal: number;
|
|
557
|
-
|
|
555
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
556
|
+
quantity: number;
|
|
558
557
|
_net_amount: number;
|
|
559
558
|
_gross_amount: number;
|
|
559
|
+
_gst_amount: number;
|
|
560
560
|
_discount_amount: number;
|
|
561
561
|
is_ready?: boolean | null | undefined;
|
|
562
562
|
void_reason?: string | null | undefined;
|
|
@@ -565,12 +565,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
565
565
|
name: string;
|
|
566
566
|
price: number;
|
|
567
567
|
special_instructions: string;
|
|
568
|
-
quantity: number;
|
|
569
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
570
568
|
subtotal: number;
|
|
571
|
-
|
|
569
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
570
|
+
quantity: number;
|
|
572
571
|
_net_amount: number;
|
|
573
572
|
_gross_amount: number;
|
|
573
|
+
_gst_amount: number;
|
|
574
574
|
_discount_amount: number;
|
|
575
575
|
is_ready?: boolean | null | undefined;
|
|
576
576
|
void_reason?: string | null | undefined;
|
|
@@ -649,9 +649,9 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
649
649
|
staff_mobile: string;
|
|
650
650
|
staff_email: string;
|
|
651
651
|
} | null | undefined;
|
|
652
|
+
is_gst_inclusive?: boolean | null | undefined;
|
|
652
653
|
gst?: number | null | undefined;
|
|
653
654
|
gst_amount?: number | null | undefined;
|
|
654
|
-
is_gst_inclusive?: boolean | null | undefined;
|
|
655
655
|
}> & {
|
|
656
656
|
updatedAt: NativeDate;
|
|
657
657
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -662,12 +662,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
662
662
|
name: string;
|
|
663
663
|
price: number;
|
|
664
664
|
special_instructions: string;
|
|
665
|
-
quantity: number;
|
|
666
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
667
665
|
subtotal: number;
|
|
668
|
-
|
|
666
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
667
|
+
quantity: number;
|
|
669
668
|
_net_amount: number;
|
|
670
669
|
_gross_amount: number;
|
|
670
|
+
_gst_amount: number;
|
|
671
671
|
_discount_amount: number;
|
|
672
672
|
is_ready?: boolean | null | undefined;
|
|
673
673
|
void_reason?: string | null | undefined;
|
|
@@ -676,12 +676,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
676
676
|
name: string;
|
|
677
677
|
price: number;
|
|
678
678
|
special_instructions: string;
|
|
679
|
-
quantity: number;
|
|
680
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
681
679
|
subtotal: number;
|
|
682
|
-
|
|
680
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
681
|
+
quantity: number;
|
|
683
682
|
_net_amount: number;
|
|
684
683
|
_gross_amount: number;
|
|
684
|
+
_gst_amount: number;
|
|
685
685
|
_discount_amount: number;
|
|
686
686
|
is_ready?: boolean | null | undefined;
|
|
687
687
|
void_reason?: string | null | undefined;
|
|
@@ -690,12 +690,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
690
690
|
name: string;
|
|
691
691
|
price: number;
|
|
692
692
|
special_instructions: string;
|
|
693
|
-
quantity: number;
|
|
694
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
695
693
|
subtotal: number;
|
|
696
|
-
|
|
694
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
695
|
+
quantity: number;
|
|
697
696
|
_net_amount: number;
|
|
698
697
|
_gross_amount: number;
|
|
698
|
+
_gst_amount: number;
|
|
699
699
|
_discount_amount: number;
|
|
700
700
|
is_ready?: boolean | null | undefined;
|
|
701
701
|
void_reason?: string | null | undefined;
|
|
@@ -708,12 +708,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
708
708
|
name: string;
|
|
709
709
|
price: number;
|
|
710
710
|
special_instructions: string;
|
|
711
|
-
quantity: number;
|
|
712
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
713
711
|
subtotal: number;
|
|
714
|
-
|
|
712
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
713
|
+
quantity: number;
|
|
715
714
|
_net_amount: number;
|
|
716
715
|
_gross_amount: number;
|
|
716
|
+
_gst_amount: number;
|
|
717
717
|
_discount_amount: number;
|
|
718
718
|
is_ready?: boolean | null | undefined;
|
|
719
719
|
void_reason?: string | null | undefined;
|
|
@@ -722,12 +722,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
722
722
|
name: string;
|
|
723
723
|
price: number;
|
|
724
724
|
special_instructions: string;
|
|
725
|
-
quantity: number;
|
|
726
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
727
725
|
subtotal: number;
|
|
728
|
-
|
|
726
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
727
|
+
quantity: number;
|
|
729
728
|
_net_amount: number;
|
|
730
729
|
_gross_amount: number;
|
|
730
|
+
_gst_amount: number;
|
|
731
731
|
_discount_amount: number;
|
|
732
732
|
is_ready?: boolean | null | undefined;
|
|
733
733
|
void_reason?: string | null | undefined;
|
|
@@ -736,12 +736,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
736
736
|
name: string;
|
|
737
737
|
price: number;
|
|
738
738
|
special_instructions: string;
|
|
739
|
-
quantity: number;
|
|
740
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
741
739
|
subtotal: number;
|
|
742
|
-
|
|
740
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
741
|
+
quantity: number;
|
|
743
742
|
_net_amount: number;
|
|
744
743
|
_gross_amount: number;
|
|
744
|
+
_gst_amount: number;
|
|
745
745
|
_discount_amount: number;
|
|
746
746
|
is_ready?: boolean | null | undefined;
|
|
747
747
|
void_reason?: string | null | undefined;
|
|
@@ -754,12 +754,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
754
754
|
name: string;
|
|
755
755
|
price: number;
|
|
756
756
|
special_instructions: string;
|
|
757
|
-
quantity: number;
|
|
758
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
759
757
|
subtotal: number;
|
|
760
|
-
|
|
758
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
759
|
+
quantity: number;
|
|
761
760
|
_net_amount: number;
|
|
762
761
|
_gross_amount: number;
|
|
762
|
+
_gst_amount: number;
|
|
763
763
|
_discount_amount: number;
|
|
764
764
|
is_ready?: boolean | null | undefined;
|
|
765
765
|
void_reason?: string | null | undefined;
|
|
@@ -768,12 +768,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
768
768
|
name: string;
|
|
769
769
|
price: number;
|
|
770
770
|
special_instructions: string;
|
|
771
|
-
quantity: number;
|
|
772
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
773
771
|
subtotal: number;
|
|
774
|
-
|
|
772
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
773
|
+
quantity: number;
|
|
775
774
|
_net_amount: number;
|
|
776
775
|
_gross_amount: number;
|
|
776
|
+
_gst_amount: number;
|
|
777
777
|
_discount_amount: number;
|
|
778
778
|
is_ready?: boolean | null | undefined;
|
|
779
779
|
void_reason?: string | null | undefined;
|
|
@@ -782,12 +782,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
782
782
|
name: string;
|
|
783
783
|
price: number;
|
|
784
784
|
special_instructions: string;
|
|
785
|
-
quantity: number;
|
|
786
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
787
785
|
subtotal: number;
|
|
788
|
-
|
|
786
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
787
|
+
quantity: number;
|
|
789
788
|
_net_amount: number;
|
|
790
789
|
_gross_amount: number;
|
|
790
|
+
_gst_amount: number;
|
|
791
791
|
_discount_amount: number;
|
|
792
792
|
is_ready?: boolean | null | undefined;
|
|
793
793
|
void_reason?: string | null | undefined;
|
|
@@ -866,31 +866,31 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
866
866
|
staff_mobile: string;
|
|
867
867
|
staff_email: string;
|
|
868
868
|
} | null | undefined;
|
|
869
|
+
is_gst_inclusive?: boolean | null | undefined;
|
|
869
870
|
gst?: number | null | undefined;
|
|
870
871
|
gst_amount?: number | null | undefined;
|
|
871
|
-
is_gst_inclusive?: boolean | null | undefined;
|
|
872
872
|
}>;
|
|
873
873
|
amount_collected: number;
|
|
874
874
|
is_deleted: boolean;
|
|
875
875
|
order_status_updated_at: NativeDate;
|
|
876
|
+
warehouse_id: string;
|
|
877
|
+
client_name: string;
|
|
878
|
+
client_id: import("mongoose").Types.ObjectId;
|
|
879
|
+
order_settled_at: NativeDate;
|
|
880
|
+
order_settled_at_mins: number;
|
|
876
881
|
staff_details: {
|
|
877
882
|
staff_id: string;
|
|
878
883
|
staff_name: string;
|
|
879
884
|
staff_mobile: string;
|
|
880
885
|
staff_email: string;
|
|
881
886
|
};
|
|
882
|
-
order_settled_at: NativeDate;
|
|
883
|
-
order_settled_at_mins: number;
|
|
884
|
-
warehouse_id: string;
|
|
885
|
-
client_id: import("mongoose").Types.ObjectId;
|
|
886
|
-
client_name: string;
|
|
887
887
|
cancel_reason?: string | null | undefined;
|
|
888
888
|
delete_reason?: string | null | undefined;
|
|
889
889
|
is_reopened?: boolean | null | undefined;
|
|
890
890
|
deferred_settlement?: boolean | null | undefined;
|
|
891
|
+
is_gst_inclusive?: boolean | null | undefined;
|
|
891
892
|
gst?: number | null | undefined;
|
|
892
893
|
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;
|
|
@@ -907,12 +907,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
907
907
|
name: string;
|
|
908
908
|
price: number;
|
|
909
909
|
special_instructions: string;
|
|
910
|
-
quantity: number;
|
|
911
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
912
910
|
subtotal: number;
|
|
913
|
-
|
|
911
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
912
|
+
quantity: number;
|
|
914
913
|
_net_amount: number;
|
|
915
914
|
_gross_amount: number;
|
|
915
|
+
_gst_amount: number;
|
|
916
916
|
_discount_amount: number;
|
|
917
917
|
is_ready?: boolean | null | undefined;
|
|
918
918
|
void_reason?: string | null | undefined;
|
|
@@ -921,12 +921,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
921
921
|
name: string;
|
|
922
922
|
price: number;
|
|
923
923
|
special_instructions: string;
|
|
924
|
-
quantity: number;
|
|
925
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
926
924
|
subtotal: number;
|
|
927
|
-
|
|
925
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
926
|
+
quantity: number;
|
|
928
927
|
_net_amount: number;
|
|
929
928
|
_gross_amount: number;
|
|
929
|
+
_gst_amount: number;
|
|
930
930
|
_discount_amount: number;
|
|
931
931
|
is_ready?: boolean | null | undefined;
|
|
932
932
|
void_reason?: string | null | undefined;
|
|
@@ -935,12 +935,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
935
935
|
name: string;
|
|
936
936
|
price: number;
|
|
937
937
|
special_instructions: string;
|
|
938
|
-
quantity: number;
|
|
939
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
940
938
|
subtotal: number;
|
|
941
|
-
|
|
939
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
940
|
+
quantity: number;
|
|
942
941
|
_net_amount: number;
|
|
943
942
|
_gross_amount: number;
|
|
943
|
+
_gst_amount: number;
|
|
944
944
|
_discount_amount: number;
|
|
945
945
|
is_ready?: boolean | null | undefined;
|
|
946
946
|
void_reason?: string | null | undefined;
|
|
@@ -953,12 +953,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
953
953
|
name: string;
|
|
954
954
|
price: number;
|
|
955
955
|
special_instructions: string;
|
|
956
|
-
quantity: number;
|
|
957
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
958
956
|
subtotal: number;
|
|
959
|
-
|
|
957
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
958
|
+
quantity: number;
|
|
960
959
|
_net_amount: number;
|
|
961
960
|
_gross_amount: number;
|
|
961
|
+
_gst_amount: number;
|
|
962
962
|
_discount_amount: number;
|
|
963
963
|
is_ready?: boolean | null | undefined;
|
|
964
964
|
void_reason?: string | null | undefined;
|
|
@@ -967,12 +967,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
967
967
|
name: string;
|
|
968
968
|
price: number;
|
|
969
969
|
special_instructions: string;
|
|
970
|
-
quantity: number;
|
|
971
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
972
970
|
subtotal: number;
|
|
973
|
-
|
|
971
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
972
|
+
quantity: number;
|
|
974
973
|
_net_amount: number;
|
|
975
974
|
_gross_amount: number;
|
|
975
|
+
_gst_amount: number;
|
|
976
976
|
_discount_amount: number;
|
|
977
977
|
is_ready?: boolean | null | undefined;
|
|
978
978
|
void_reason?: string | null | undefined;
|
|
@@ -981,12 +981,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
981
981
|
name: string;
|
|
982
982
|
price: number;
|
|
983
983
|
special_instructions: string;
|
|
984
|
-
quantity: number;
|
|
985
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
986
984
|
subtotal: number;
|
|
987
|
-
|
|
985
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
986
|
+
quantity: number;
|
|
988
987
|
_net_amount: number;
|
|
989
988
|
_gross_amount: number;
|
|
989
|
+
_gst_amount: number;
|
|
990
990
|
_discount_amount: number;
|
|
991
991
|
is_ready?: boolean | null | undefined;
|
|
992
992
|
void_reason?: string | null | undefined;
|
|
@@ -999,12 +999,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
999
999
|
name: string;
|
|
1000
1000
|
price: number;
|
|
1001
1001
|
special_instructions: string;
|
|
1002
|
-
quantity: number;
|
|
1003
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1004
1002
|
subtotal: number;
|
|
1005
|
-
|
|
1003
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1004
|
+
quantity: number;
|
|
1006
1005
|
_net_amount: number;
|
|
1007
1006
|
_gross_amount: number;
|
|
1007
|
+
_gst_amount: number;
|
|
1008
1008
|
_discount_amount: number;
|
|
1009
1009
|
is_ready?: boolean | null | undefined;
|
|
1010
1010
|
void_reason?: string | null | undefined;
|
|
@@ -1013,12 +1013,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1013
1013
|
name: string;
|
|
1014
1014
|
price: number;
|
|
1015
1015
|
special_instructions: string;
|
|
1016
|
-
quantity: number;
|
|
1017
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1018
1016
|
subtotal: number;
|
|
1019
|
-
|
|
1017
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1018
|
+
quantity: number;
|
|
1020
1019
|
_net_amount: number;
|
|
1021
1020
|
_gross_amount: number;
|
|
1021
|
+
_gst_amount: number;
|
|
1022
1022
|
_discount_amount: number;
|
|
1023
1023
|
is_ready?: boolean | null | undefined;
|
|
1024
1024
|
void_reason?: string | null | undefined;
|
|
@@ -1027,12 +1027,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1027
1027
|
name: string;
|
|
1028
1028
|
price: number;
|
|
1029
1029
|
special_instructions: string;
|
|
1030
|
-
quantity: number;
|
|
1031
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1032
1030
|
subtotal: number;
|
|
1033
|
-
|
|
1031
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1032
|
+
quantity: number;
|
|
1034
1033
|
_net_amount: number;
|
|
1035
1034
|
_gross_amount: number;
|
|
1035
|
+
_gst_amount: number;
|
|
1036
1036
|
_discount_amount: number;
|
|
1037
1037
|
is_ready?: boolean | null | undefined;
|
|
1038
1038
|
void_reason?: string | null | undefined;
|
|
@@ -1116,12 +1116,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1116
1116
|
name: string;
|
|
1117
1117
|
price: number;
|
|
1118
1118
|
special_instructions: string;
|
|
1119
|
-
quantity: number;
|
|
1120
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1121
1119
|
subtotal: number;
|
|
1122
|
-
|
|
1120
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1121
|
+
quantity: number;
|
|
1123
1122
|
_net_amount: number;
|
|
1124
1123
|
_gross_amount: number;
|
|
1124
|
+
_gst_amount: number;
|
|
1125
1125
|
_discount_amount: number;
|
|
1126
1126
|
is_ready?: boolean | null | undefined;
|
|
1127
1127
|
void_reason?: string | null | undefined;
|
|
@@ -1130,12 +1130,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1130
1130
|
name: string;
|
|
1131
1131
|
price: number;
|
|
1132
1132
|
special_instructions: string;
|
|
1133
|
-
quantity: number;
|
|
1134
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1135
1133
|
subtotal: number;
|
|
1136
|
-
|
|
1134
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1135
|
+
quantity: number;
|
|
1137
1136
|
_net_amount: number;
|
|
1138
1137
|
_gross_amount: number;
|
|
1138
|
+
_gst_amount: number;
|
|
1139
1139
|
_discount_amount: number;
|
|
1140
1140
|
is_ready?: boolean | null | undefined;
|
|
1141
1141
|
void_reason?: string | null | undefined;
|
|
@@ -1144,12 +1144,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1144
1144
|
name: string;
|
|
1145
1145
|
price: number;
|
|
1146
1146
|
special_instructions: string;
|
|
1147
|
-
quantity: number;
|
|
1148
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1149
1147
|
subtotal: number;
|
|
1150
|
-
|
|
1148
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1149
|
+
quantity: number;
|
|
1151
1150
|
_net_amount: number;
|
|
1152
1151
|
_gross_amount: number;
|
|
1152
|
+
_gst_amount: number;
|
|
1153
1153
|
_discount_amount: number;
|
|
1154
1154
|
is_ready?: boolean | null | undefined;
|
|
1155
1155
|
void_reason?: string | null | undefined;
|
|
@@ -1162,12 +1162,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1162
1162
|
name: string;
|
|
1163
1163
|
price: number;
|
|
1164
1164
|
special_instructions: string;
|
|
1165
|
-
quantity: number;
|
|
1166
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1167
1165
|
subtotal: number;
|
|
1168
|
-
|
|
1166
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1167
|
+
quantity: number;
|
|
1169
1168
|
_net_amount: number;
|
|
1170
1169
|
_gross_amount: number;
|
|
1170
|
+
_gst_amount: number;
|
|
1171
1171
|
_discount_amount: number;
|
|
1172
1172
|
is_ready?: boolean | null | undefined;
|
|
1173
1173
|
void_reason?: string | null | undefined;
|
|
@@ -1176,12 +1176,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1176
1176
|
name: string;
|
|
1177
1177
|
price: number;
|
|
1178
1178
|
special_instructions: string;
|
|
1179
|
-
quantity: number;
|
|
1180
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1181
1179
|
subtotal: number;
|
|
1182
|
-
|
|
1180
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1181
|
+
quantity: number;
|
|
1183
1182
|
_net_amount: number;
|
|
1184
1183
|
_gross_amount: number;
|
|
1184
|
+
_gst_amount: number;
|
|
1185
1185
|
_discount_amount: number;
|
|
1186
1186
|
is_ready?: boolean | null | undefined;
|
|
1187
1187
|
void_reason?: string | null | undefined;
|
|
@@ -1190,12 +1190,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1190
1190
|
name: string;
|
|
1191
1191
|
price: number;
|
|
1192
1192
|
special_instructions: string;
|
|
1193
|
-
quantity: number;
|
|
1194
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1195
1193
|
subtotal: number;
|
|
1196
|
-
|
|
1194
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1195
|
+
quantity: number;
|
|
1197
1196
|
_net_amount: number;
|
|
1198
1197
|
_gross_amount: number;
|
|
1198
|
+
_gst_amount: number;
|
|
1199
1199
|
_discount_amount: number;
|
|
1200
1200
|
is_ready?: boolean | null | undefined;
|
|
1201
1201
|
void_reason?: string | null | undefined;
|
|
@@ -1208,12 +1208,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1208
1208
|
name: string;
|
|
1209
1209
|
price: number;
|
|
1210
1210
|
special_instructions: string;
|
|
1211
|
-
quantity: number;
|
|
1212
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1213
1211
|
subtotal: number;
|
|
1214
|
-
|
|
1212
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1213
|
+
quantity: number;
|
|
1215
1214
|
_net_amount: number;
|
|
1216
1215
|
_gross_amount: number;
|
|
1216
|
+
_gst_amount: number;
|
|
1217
1217
|
_discount_amount: number;
|
|
1218
1218
|
is_ready?: boolean | null | undefined;
|
|
1219
1219
|
void_reason?: string | null | undefined;
|
|
@@ -1222,12 +1222,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1222
1222
|
name: string;
|
|
1223
1223
|
price: number;
|
|
1224
1224
|
special_instructions: string;
|
|
1225
|
-
quantity: number;
|
|
1226
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1227
1225
|
subtotal: number;
|
|
1228
|
-
|
|
1226
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1227
|
+
quantity: number;
|
|
1229
1228
|
_net_amount: number;
|
|
1230
1229
|
_gross_amount: number;
|
|
1230
|
+
_gst_amount: number;
|
|
1231
1231
|
_discount_amount: number;
|
|
1232
1232
|
is_ready?: boolean | null | undefined;
|
|
1233
1233
|
void_reason?: string | null | undefined;
|
|
@@ -1236,12 +1236,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1236
1236
|
name: string;
|
|
1237
1237
|
price: number;
|
|
1238
1238
|
special_instructions: string;
|
|
1239
|
-
quantity: number;
|
|
1240
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1241
1239
|
subtotal: number;
|
|
1242
|
-
|
|
1240
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1241
|
+
quantity: number;
|
|
1243
1242
|
_net_amount: number;
|
|
1244
1243
|
_gross_amount: number;
|
|
1244
|
+
_gst_amount: number;
|
|
1245
1245
|
_discount_amount: number;
|
|
1246
1246
|
is_ready?: boolean | null | undefined;
|
|
1247
1247
|
void_reason?: string | null | undefined;
|
|
@@ -1320,9 +1320,9 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1320
1320
|
staff_mobile: string;
|
|
1321
1321
|
staff_email: string;
|
|
1322
1322
|
} | null | undefined;
|
|
1323
|
+
is_gst_inclusive?: boolean | null | undefined;
|
|
1323
1324
|
gst?: number | null | undefined;
|
|
1324
1325
|
gst_amount?: number | null | undefined;
|
|
1325
|
-
is_gst_inclusive?: boolean | null | undefined;
|
|
1326
1326
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
1327
1327
|
updatedAt: NativeDate;
|
|
1328
1328
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -1333,12 +1333,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1333
1333
|
name: string;
|
|
1334
1334
|
price: number;
|
|
1335
1335
|
special_instructions: string;
|
|
1336
|
-
quantity: number;
|
|
1337
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1338
1336
|
subtotal: number;
|
|
1339
|
-
|
|
1337
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1338
|
+
quantity: number;
|
|
1340
1339
|
_net_amount: number;
|
|
1341
1340
|
_gross_amount: number;
|
|
1341
|
+
_gst_amount: number;
|
|
1342
1342
|
_discount_amount: number;
|
|
1343
1343
|
is_ready?: boolean | null | undefined;
|
|
1344
1344
|
void_reason?: string | null | undefined;
|
|
@@ -1347,12 +1347,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1347
1347
|
name: string;
|
|
1348
1348
|
price: number;
|
|
1349
1349
|
special_instructions: string;
|
|
1350
|
-
quantity: number;
|
|
1351
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1352
1350
|
subtotal: number;
|
|
1353
|
-
|
|
1351
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1352
|
+
quantity: number;
|
|
1354
1353
|
_net_amount: number;
|
|
1355
1354
|
_gross_amount: number;
|
|
1355
|
+
_gst_amount: number;
|
|
1356
1356
|
_discount_amount: number;
|
|
1357
1357
|
is_ready?: boolean | null | undefined;
|
|
1358
1358
|
void_reason?: string | null | undefined;
|
|
@@ -1361,12 +1361,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1361
1361
|
name: string;
|
|
1362
1362
|
price: number;
|
|
1363
1363
|
special_instructions: string;
|
|
1364
|
-
quantity: number;
|
|
1365
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1366
1364
|
subtotal: number;
|
|
1367
|
-
|
|
1365
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1366
|
+
quantity: number;
|
|
1368
1367
|
_net_amount: number;
|
|
1369
1368
|
_gross_amount: number;
|
|
1369
|
+
_gst_amount: number;
|
|
1370
1370
|
_discount_amount: number;
|
|
1371
1371
|
is_ready?: boolean | null | undefined;
|
|
1372
1372
|
void_reason?: string | null | undefined;
|
|
@@ -1379,12 +1379,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1379
1379
|
name: string;
|
|
1380
1380
|
price: number;
|
|
1381
1381
|
special_instructions: string;
|
|
1382
|
-
quantity: number;
|
|
1383
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1384
1382
|
subtotal: number;
|
|
1385
|
-
|
|
1383
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1384
|
+
quantity: number;
|
|
1386
1385
|
_net_amount: number;
|
|
1387
1386
|
_gross_amount: number;
|
|
1387
|
+
_gst_amount: number;
|
|
1388
1388
|
_discount_amount: number;
|
|
1389
1389
|
is_ready?: boolean | null | undefined;
|
|
1390
1390
|
void_reason?: string | null | undefined;
|
|
@@ -1393,12 +1393,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1393
1393
|
name: string;
|
|
1394
1394
|
price: number;
|
|
1395
1395
|
special_instructions: string;
|
|
1396
|
-
quantity: number;
|
|
1397
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1398
1396
|
subtotal: number;
|
|
1399
|
-
|
|
1397
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1398
|
+
quantity: number;
|
|
1400
1399
|
_net_amount: number;
|
|
1401
1400
|
_gross_amount: number;
|
|
1401
|
+
_gst_amount: number;
|
|
1402
1402
|
_discount_amount: number;
|
|
1403
1403
|
is_ready?: boolean | null | undefined;
|
|
1404
1404
|
void_reason?: string | null | undefined;
|
|
@@ -1407,12 +1407,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1407
1407
|
name: string;
|
|
1408
1408
|
price: number;
|
|
1409
1409
|
special_instructions: string;
|
|
1410
|
-
quantity: number;
|
|
1411
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1412
1410
|
subtotal: number;
|
|
1413
|
-
|
|
1411
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1412
|
+
quantity: number;
|
|
1414
1413
|
_net_amount: number;
|
|
1415
1414
|
_gross_amount: number;
|
|
1415
|
+
_gst_amount: number;
|
|
1416
1416
|
_discount_amount: number;
|
|
1417
1417
|
is_ready?: boolean | null | undefined;
|
|
1418
1418
|
void_reason?: string | null | undefined;
|
|
@@ -1425,12 +1425,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1425
1425
|
name: string;
|
|
1426
1426
|
price: number;
|
|
1427
1427
|
special_instructions: string;
|
|
1428
|
-
quantity: number;
|
|
1429
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1430
1428
|
subtotal: number;
|
|
1431
|
-
|
|
1429
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1430
|
+
quantity: number;
|
|
1432
1431
|
_net_amount: number;
|
|
1433
1432
|
_gross_amount: number;
|
|
1433
|
+
_gst_amount: number;
|
|
1434
1434
|
_discount_amount: number;
|
|
1435
1435
|
is_ready?: boolean | null | undefined;
|
|
1436
1436
|
void_reason?: string | null | undefined;
|
|
@@ -1439,12 +1439,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1439
1439
|
name: string;
|
|
1440
1440
|
price: number;
|
|
1441
1441
|
special_instructions: string;
|
|
1442
|
-
quantity: number;
|
|
1443
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1444
1442
|
subtotal: number;
|
|
1445
|
-
|
|
1443
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1444
|
+
quantity: number;
|
|
1446
1445
|
_net_amount: number;
|
|
1447
1446
|
_gross_amount: number;
|
|
1447
|
+
_gst_amount: number;
|
|
1448
1448
|
_discount_amount: number;
|
|
1449
1449
|
is_ready?: boolean | null | undefined;
|
|
1450
1450
|
void_reason?: string | null | undefined;
|
|
@@ -1453,12 +1453,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1453
1453
|
name: string;
|
|
1454
1454
|
price: number;
|
|
1455
1455
|
special_instructions: string;
|
|
1456
|
-
quantity: number;
|
|
1457
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1458
1456
|
subtotal: number;
|
|
1459
|
-
|
|
1457
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1458
|
+
quantity: number;
|
|
1460
1459
|
_net_amount: number;
|
|
1461
1460
|
_gross_amount: number;
|
|
1461
|
+
_gst_amount: number;
|
|
1462
1462
|
_discount_amount: number;
|
|
1463
1463
|
is_ready?: boolean | null | undefined;
|
|
1464
1464
|
void_reason?: string | null | undefined;
|
|
@@ -1537,9 +1537,9 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1537
1537
|
staff_mobile: string;
|
|
1538
1538
|
staff_email: string;
|
|
1539
1539
|
} | null | undefined;
|
|
1540
|
+
is_gst_inclusive?: boolean | null | undefined;
|
|
1540
1541
|
gst?: number | null | undefined;
|
|
1541
1542
|
gst_amount?: number | null | undefined;
|
|
1542
|
-
is_gst_inclusive?: boolean | null | undefined;
|
|
1543
1543
|
}> & {
|
|
1544
1544
|
updatedAt: NativeDate;
|
|
1545
1545
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -1550,12 +1550,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1550
1550
|
name: string;
|
|
1551
1551
|
price: number;
|
|
1552
1552
|
special_instructions: string;
|
|
1553
|
-
quantity: number;
|
|
1554
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1555
1553
|
subtotal: number;
|
|
1556
|
-
|
|
1554
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1555
|
+
quantity: number;
|
|
1557
1556
|
_net_amount: number;
|
|
1558
1557
|
_gross_amount: number;
|
|
1558
|
+
_gst_amount: number;
|
|
1559
1559
|
_discount_amount: number;
|
|
1560
1560
|
is_ready?: boolean | null | undefined;
|
|
1561
1561
|
void_reason?: string | null | undefined;
|
|
@@ -1564,12 +1564,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1564
1564
|
name: string;
|
|
1565
1565
|
price: number;
|
|
1566
1566
|
special_instructions: string;
|
|
1567
|
-
quantity: number;
|
|
1568
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1569
1567
|
subtotal: number;
|
|
1570
|
-
|
|
1568
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1569
|
+
quantity: number;
|
|
1571
1570
|
_net_amount: number;
|
|
1572
1571
|
_gross_amount: number;
|
|
1572
|
+
_gst_amount: number;
|
|
1573
1573
|
_discount_amount: number;
|
|
1574
1574
|
is_ready?: boolean | null | undefined;
|
|
1575
1575
|
void_reason?: string | null | undefined;
|
|
@@ -1578,12 +1578,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1578
1578
|
name: string;
|
|
1579
1579
|
price: number;
|
|
1580
1580
|
special_instructions: string;
|
|
1581
|
-
quantity: number;
|
|
1582
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1583
1581
|
subtotal: number;
|
|
1584
|
-
|
|
1582
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1583
|
+
quantity: number;
|
|
1585
1584
|
_net_amount: number;
|
|
1586
1585
|
_gross_amount: number;
|
|
1586
|
+
_gst_amount: number;
|
|
1587
1587
|
_discount_amount: number;
|
|
1588
1588
|
is_ready?: boolean | null | undefined;
|
|
1589
1589
|
void_reason?: string | null | undefined;
|
|
@@ -1596,12 +1596,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1596
1596
|
name: string;
|
|
1597
1597
|
price: number;
|
|
1598
1598
|
special_instructions: string;
|
|
1599
|
-
quantity: number;
|
|
1600
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1601
1599
|
subtotal: number;
|
|
1602
|
-
|
|
1600
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1601
|
+
quantity: number;
|
|
1603
1602
|
_net_amount: number;
|
|
1604
1603
|
_gross_amount: number;
|
|
1604
|
+
_gst_amount: number;
|
|
1605
1605
|
_discount_amount: number;
|
|
1606
1606
|
is_ready?: boolean | null | undefined;
|
|
1607
1607
|
void_reason?: string | null | undefined;
|
|
@@ -1610,12 +1610,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1610
1610
|
name: string;
|
|
1611
1611
|
price: number;
|
|
1612
1612
|
special_instructions: string;
|
|
1613
|
-
quantity: number;
|
|
1614
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1615
1613
|
subtotal: number;
|
|
1616
|
-
|
|
1614
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1615
|
+
quantity: number;
|
|
1617
1616
|
_net_amount: number;
|
|
1618
1617
|
_gross_amount: number;
|
|
1618
|
+
_gst_amount: number;
|
|
1619
1619
|
_discount_amount: number;
|
|
1620
1620
|
is_ready?: boolean | null | undefined;
|
|
1621
1621
|
void_reason?: string | null | undefined;
|
|
@@ -1624,12 +1624,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1624
1624
|
name: string;
|
|
1625
1625
|
price: number;
|
|
1626
1626
|
special_instructions: string;
|
|
1627
|
-
quantity: number;
|
|
1628
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1629
1627
|
subtotal: number;
|
|
1630
|
-
|
|
1628
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1629
|
+
quantity: number;
|
|
1631
1630
|
_net_amount: number;
|
|
1632
1631
|
_gross_amount: number;
|
|
1632
|
+
_gst_amount: number;
|
|
1633
1633
|
_discount_amount: number;
|
|
1634
1634
|
is_ready?: boolean | null | undefined;
|
|
1635
1635
|
void_reason?: string | null | undefined;
|
|
@@ -1642,12 +1642,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1642
1642
|
name: string;
|
|
1643
1643
|
price: number;
|
|
1644
1644
|
special_instructions: string;
|
|
1645
|
-
quantity: number;
|
|
1646
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1647
1645
|
subtotal: number;
|
|
1648
|
-
|
|
1646
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1647
|
+
quantity: number;
|
|
1649
1648
|
_net_amount: number;
|
|
1650
1649
|
_gross_amount: number;
|
|
1650
|
+
_gst_amount: number;
|
|
1651
1651
|
_discount_amount: number;
|
|
1652
1652
|
is_ready?: boolean | null | undefined;
|
|
1653
1653
|
void_reason?: string | null | undefined;
|
|
@@ -1656,12 +1656,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1656
1656
|
name: string;
|
|
1657
1657
|
price: number;
|
|
1658
1658
|
special_instructions: string;
|
|
1659
|
-
quantity: number;
|
|
1660
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1661
1659
|
subtotal: number;
|
|
1662
|
-
|
|
1660
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1661
|
+
quantity: number;
|
|
1663
1662
|
_net_amount: number;
|
|
1664
1663
|
_gross_amount: number;
|
|
1664
|
+
_gst_amount: number;
|
|
1665
1665
|
_discount_amount: number;
|
|
1666
1666
|
is_ready?: boolean | null | undefined;
|
|
1667
1667
|
void_reason?: string | null | undefined;
|
|
@@ -1670,12 +1670,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1670
1670
|
name: string;
|
|
1671
1671
|
price: number;
|
|
1672
1672
|
special_instructions: string;
|
|
1673
|
-
quantity: number;
|
|
1674
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1675
1673
|
subtotal: number;
|
|
1676
|
-
|
|
1674
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1675
|
+
quantity: number;
|
|
1677
1676
|
_net_amount: number;
|
|
1678
1677
|
_gross_amount: number;
|
|
1678
|
+
_gst_amount: number;
|
|
1679
1679
|
_discount_amount: number;
|
|
1680
1680
|
is_ready?: boolean | null | undefined;
|
|
1681
1681
|
void_reason?: string | null | undefined;
|
|
@@ -1754,31 +1754,31 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1754
1754
|
staff_mobile: string;
|
|
1755
1755
|
staff_email: string;
|
|
1756
1756
|
} | null | undefined;
|
|
1757
|
+
is_gst_inclusive?: boolean | null | undefined;
|
|
1757
1758
|
gst?: number | null | undefined;
|
|
1758
1759
|
gst_amount?: number | null | undefined;
|
|
1759
|
-
is_gst_inclusive?: boolean | null | undefined;
|
|
1760
1760
|
}>;
|
|
1761
1761
|
amount_collected: number;
|
|
1762
1762
|
is_deleted: boolean;
|
|
1763
1763
|
order_status_updated_at: NativeDate;
|
|
1764
|
+
warehouse_id: string;
|
|
1765
|
+
client_name: string;
|
|
1766
|
+
client_id: import("mongoose").Types.ObjectId;
|
|
1767
|
+
order_settled_at: NativeDate;
|
|
1768
|
+
order_settled_at_mins: number;
|
|
1764
1769
|
staff_details: {
|
|
1765
1770
|
staff_id: string;
|
|
1766
1771
|
staff_name: string;
|
|
1767
1772
|
staff_mobile: string;
|
|
1768
1773
|
staff_email: string;
|
|
1769
1774
|
};
|
|
1770
|
-
order_settled_at: NativeDate;
|
|
1771
|
-
order_settled_at_mins: number;
|
|
1772
|
-
warehouse_id: string;
|
|
1773
|
-
client_id: import("mongoose").Types.ObjectId;
|
|
1774
|
-
client_name: string;
|
|
1775
1775
|
cancel_reason?: string | null | undefined;
|
|
1776
1776
|
delete_reason?: string | null | undefined;
|
|
1777
1777
|
is_reopened?: boolean | null | undefined;
|
|
1778
1778
|
deferred_settlement?: boolean | null | undefined;
|
|
1779
|
+
is_gst_inclusive?: boolean | null | undefined;
|
|
1779
1780
|
gst?: number | null | undefined;
|
|
1780
1781
|
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;
|
|
@@ -1795,12 +1795,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1795
1795
|
name: string;
|
|
1796
1796
|
price: number;
|
|
1797
1797
|
special_instructions: string;
|
|
1798
|
-
quantity: number;
|
|
1799
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1800
1798
|
subtotal: number;
|
|
1801
|
-
|
|
1799
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1800
|
+
quantity: number;
|
|
1802
1801
|
_net_amount: number;
|
|
1803
1802
|
_gross_amount: number;
|
|
1803
|
+
_gst_amount: number;
|
|
1804
1804
|
_discount_amount: number;
|
|
1805
1805
|
is_ready?: boolean | null | undefined;
|
|
1806
1806
|
void_reason?: string | null | undefined;
|
|
@@ -1809,12 +1809,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1809
1809
|
name: string;
|
|
1810
1810
|
price: number;
|
|
1811
1811
|
special_instructions: string;
|
|
1812
|
-
quantity: number;
|
|
1813
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1814
1812
|
subtotal: number;
|
|
1815
|
-
|
|
1813
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1814
|
+
quantity: number;
|
|
1816
1815
|
_net_amount: number;
|
|
1817
1816
|
_gross_amount: number;
|
|
1817
|
+
_gst_amount: number;
|
|
1818
1818
|
_discount_amount: number;
|
|
1819
1819
|
is_ready?: boolean | null | undefined;
|
|
1820
1820
|
void_reason?: string | null | undefined;
|
|
@@ -1823,12 +1823,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1823
1823
|
name: string;
|
|
1824
1824
|
price: number;
|
|
1825
1825
|
special_instructions: string;
|
|
1826
|
-
quantity: number;
|
|
1827
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1828
1826
|
subtotal: number;
|
|
1829
|
-
|
|
1827
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1828
|
+
quantity: number;
|
|
1830
1829
|
_net_amount: number;
|
|
1831
1830
|
_gross_amount: number;
|
|
1831
|
+
_gst_amount: number;
|
|
1832
1832
|
_discount_amount: number;
|
|
1833
1833
|
is_ready?: boolean | null | undefined;
|
|
1834
1834
|
void_reason?: string | null | undefined;
|
|
@@ -1841,12 +1841,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1841
1841
|
name: string;
|
|
1842
1842
|
price: number;
|
|
1843
1843
|
special_instructions: string;
|
|
1844
|
-
quantity: number;
|
|
1845
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1846
1844
|
subtotal: number;
|
|
1847
|
-
|
|
1845
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1846
|
+
quantity: number;
|
|
1848
1847
|
_net_amount: number;
|
|
1849
1848
|
_gross_amount: number;
|
|
1849
|
+
_gst_amount: number;
|
|
1850
1850
|
_discount_amount: number;
|
|
1851
1851
|
is_ready?: boolean | null | undefined;
|
|
1852
1852
|
void_reason?: string | null | undefined;
|
|
@@ -1855,12 +1855,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1855
1855
|
name: string;
|
|
1856
1856
|
price: number;
|
|
1857
1857
|
special_instructions: string;
|
|
1858
|
-
quantity: number;
|
|
1859
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1860
1858
|
subtotal: number;
|
|
1861
|
-
|
|
1859
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1860
|
+
quantity: number;
|
|
1862
1861
|
_net_amount: number;
|
|
1863
1862
|
_gross_amount: number;
|
|
1863
|
+
_gst_amount: number;
|
|
1864
1864
|
_discount_amount: number;
|
|
1865
1865
|
is_ready?: boolean | null | undefined;
|
|
1866
1866
|
void_reason?: string | null | undefined;
|
|
@@ -1869,12 +1869,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1869
1869
|
name: string;
|
|
1870
1870
|
price: number;
|
|
1871
1871
|
special_instructions: string;
|
|
1872
|
-
quantity: number;
|
|
1873
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1874
1872
|
subtotal: number;
|
|
1875
|
-
|
|
1873
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1874
|
+
quantity: number;
|
|
1876
1875
|
_net_amount: number;
|
|
1877
1876
|
_gross_amount: number;
|
|
1877
|
+
_gst_amount: number;
|
|
1878
1878
|
_discount_amount: number;
|
|
1879
1879
|
is_ready?: boolean | null | undefined;
|
|
1880
1880
|
void_reason?: string | null | undefined;
|
|
@@ -1887,12 +1887,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1887
1887
|
name: string;
|
|
1888
1888
|
price: number;
|
|
1889
1889
|
special_instructions: string;
|
|
1890
|
-
quantity: number;
|
|
1891
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1892
1890
|
subtotal: number;
|
|
1893
|
-
|
|
1891
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1892
|
+
quantity: number;
|
|
1894
1893
|
_net_amount: number;
|
|
1895
1894
|
_gross_amount: number;
|
|
1895
|
+
_gst_amount: number;
|
|
1896
1896
|
_discount_amount: number;
|
|
1897
1897
|
is_ready?: boolean | null | undefined;
|
|
1898
1898
|
void_reason?: string | null | undefined;
|
|
@@ -1901,12 +1901,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1901
1901
|
name: string;
|
|
1902
1902
|
price: number;
|
|
1903
1903
|
special_instructions: string;
|
|
1904
|
-
quantity: number;
|
|
1905
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1906
1904
|
subtotal: number;
|
|
1907
|
-
|
|
1905
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1906
|
+
quantity: number;
|
|
1908
1907
|
_net_amount: number;
|
|
1909
1908
|
_gross_amount: number;
|
|
1909
|
+
_gst_amount: number;
|
|
1910
1910
|
_discount_amount: number;
|
|
1911
1911
|
is_ready?: boolean | null | undefined;
|
|
1912
1912
|
void_reason?: string | null | undefined;
|
|
@@ -1915,12 +1915,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
1915
1915
|
name: string;
|
|
1916
1916
|
price: number;
|
|
1917
1917
|
special_instructions: string;
|
|
1918
|
-
quantity: number;
|
|
1919
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
1920
1918
|
subtotal: number;
|
|
1921
|
-
|
|
1919
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
1920
|
+
quantity: number;
|
|
1922
1921
|
_net_amount: number;
|
|
1923
1922
|
_gross_amount: number;
|
|
1923
|
+
_gst_amount: number;
|
|
1924
1924
|
_discount_amount: number;
|
|
1925
1925
|
is_ready?: boolean | null | undefined;
|
|
1926
1926
|
void_reason?: string | null | undefined;
|
|
@@ -2004,12 +2004,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2004
2004
|
name: string;
|
|
2005
2005
|
price: number;
|
|
2006
2006
|
special_instructions: string;
|
|
2007
|
-
quantity: number;
|
|
2008
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2009
2007
|
subtotal: number;
|
|
2010
|
-
|
|
2008
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2009
|
+
quantity: number;
|
|
2011
2010
|
_net_amount: number;
|
|
2012
2011
|
_gross_amount: number;
|
|
2012
|
+
_gst_amount: number;
|
|
2013
2013
|
_discount_amount: number;
|
|
2014
2014
|
is_ready?: boolean | null | undefined;
|
|
2015
2015
|
void_reason?: string | null | undefined;
|
|
@@ -2018,12 +2018,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2018
2018
|
name: string;
|
|
2019
2019
|
price: number;
|
|
2020
2020
|
special_instructions: string;
|
|
2021
|
-
quantity: number;
|
|
2022
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2023
2021
|
subtotal: number;
|
|
2024
|
-
|
|
2022
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2023
|
+
quantity: number;
|
|
2025
2024
|
_net_amount: number;
|
|
2026
2025
|
_gross_amount: number;
|
|
2026
|
+
_gst_amount: number;
|
|
2027
2027
|
_discount_amount: number;
|
|
2028
2028
|
is_ready?: boolean | null | undefined;
|
|
2029
2029
|
void_reason?: string | null | undefined;
|
|
@@ -2032,12 +2032,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2032
2032
|
name: string;
|
|
2033
2033
|
price: number;
|
|
2034
2034
|
special_instructions: string;
|
|
2035
|
-
quantity: number;
|
|
2036
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2037
2035
|
subtotal: number;
|
|
2038
|
-
|
|
2036
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2037
|
+
quantity: number;
|
|
2039
2038
|
_net_amount: number;
|
|
2040
2039
|
_gross_amount: number;
|
|
2040
|
+
_gst_amount: number;
|
|
2041
2041
|
_discount_amount: number;
|
|
2042
2042
|
is_ready?: boolean | null | undefined;
|
|
2043
2043
|
void_reason?: string | null | undefined;
|
|
@@ -2050,12 +2050,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2050
2050
|
name: string;
|
|
2051
2051
|
price: number;
|
|
2052
2052
|
special_instructions: string;
|
|
2053
|
-
quantity: number;
|
|
2054
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2055
2053
|
subtotal: number;
|
|
2056
|
-
|
|
2054
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2055
|
+
quantity: number;
|
|
2057
2056
|
_net_amount: number;
|
|
2058
2057
|
_gross_amount: number;
|
|
2058
|
+
_gst_amount: number;
|
|
2059
2059
|
_discount_amount: number;
|
|
2060
2060
|
is_ready?: boolean | null | undefined;
|
|
2061
2061
|
void_reason?: string | null | undefined;
|
|
@@ -2064,12 +2064,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2064
2064
|
name: string;
|
|
2065
2065
|
price: number;
|
|
2066
2066
|
special_instructions: string;
|
|
2067
|
-
quantity: number;
|
|
2068
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2069
2067
|
subtotal: number;
|
|
2070
|
-
|
|
2068
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2069
|
+
quantity: number;
|
|
2071
2070
|
_net_amount: number;
|
|
2072
2071
|
_gross_amount: number;
|
|
2072
|
+
_gst_amount: number;
|
|
2073
2073
|
_discount_amount: number;
|
|
2074
2074
|
is_ready?: boolean | null | undefined;
|
|
2075
2075
|
void_reason?: string | null | undefined;
|
|
@@ -2078,12 +2078,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2078
2078
|
name: string;
|
|
2079
2079
|
price: number;
|
|
2080
2080
|
special_instructions: string;
|
|
2081
|
-
quantity: number;
|
|
2082
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2083
2081
|
subtotal: number;
|
|
2084
|
-
|
|
2082
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2083
|
+
quantity: number;
|
|
2085
2084
|
_net_amount: number;
|
|
2086
2085
|
_gross_amount: number;
|
|
2086
|
+
_gst_amount: number;
|
|
2087
2087
|
_discount_amount: number;
|
|
2088
2088
|
is_ready?: boolean | null | undefined;
|
|
2089
2089
|
void_reason?: string | null | undefined;
|
|
@@ -2096,12 +2096,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2096
2096
|
name: string;
|
|
2097
2097
|
price: number;
|
|
2098
2098
|
special_instructions: string;
|
|
2099
|
-
quantity: number;
|
|
2100
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2101
2099
|
subtotal: number;
|
|
2102
|
-
|
|
2100
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2101
|
+
quantity: number;
|
|
2103
2102
|
_net_amount: number;
|
|
2104
2103
|
_gross_amount: number;
|
|
2104
|
+
_gst_amount: number;
|
|
2105
2105
|
_discount_amount: number;
|
|
2106
2106
|
is_ready?: boolean | null | undefined;
|
|
2107
2107
|
void_reason?: string | null | undefined;
|
|
@@ -2110,12 +2110,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2110
2110
|
name: string;
|
|
2111
2111
|
price: number;
|
|
2112
2112
|
special_instructions: string;
|
|
2113
|
-
quantity: number;
|
|
2114
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2115
2113
|
subtotal: number;
|
|
2116
|
-
|
|
2114
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2115
|
+
quantity: number;
|
|
2117
2116
|
_net_amount: number;
|
|
2118
2117
|
_gross_amount: number;
|
|
2118
|
+
_gst_amount: number;
|
|
2119
2119
|
_discount_amount: number;
|
|
2120
2120
|
is_ready?: boolean | null | undefined;
|
|
2121
2121
|
void_reason?: string | null | undefined;
|
|
@@ -2124,12 +2124,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2124
2124
|
name: string;
|
|
2125
2125
|
price: number;
|
|
2126
2126
|
special_instructions: string;
|
|
2127
|
-
quantity: number;
|
|
2128
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2129
2127
|
subtotal: number;
|
|
2130
|
-
|
|
2128
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2129
|
+
quantity: number;
|
|
2131
2130
|
_net_amount: number;
|
|
2132
2131
|
_gross_amount: number;
|
|
2132
|
+
_gst_amount: number;
|
|
2133
2133
|
_discount_amount: number;
|
|
2134
2134
|
is_ready?: boolean | null | undefined;
|
|
2135
2135
|
void_reason?: string | null | undefined;
|
|
@@ -2208,9 +2208,9 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2208
2208
|
staff_mobile: string;
|
|
2209
2209
|
staff_email: string;
|
|
2210
2210
|
} | null | undefined;
|
|
2211
|
+
is_gst_inclusive?: boolean | null | undefined;
|
|
2211
2212
|
gst?: number | null | undefined;
|
|
2212
2213
|
gst_amount?: number | null | undefined;
|
|
2213
|
-
is_gst_inclusive?: boolean | null | undefined;
|
|
2214
2214
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
2215
2215
|
updatedAt: NativeDate;
|
|
2216
2216
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -2221,12 +2221,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2221
2221
|
name: string;
|
|
2222
2222
|
price: number;
|
|
2223
2223
|
special_instructions: string;
|
|
2224
|
-
quantity: number;
|
|
2225
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2226
2224
|
subtotal: number;
|
|
2227
|
-
|
|
2225
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2226
|
+
quantity: number;
|
|
2228
2227
|
_net_amount: number;
|
|
2229
2228
|
_gross_amount: number;
|
|
2229
|
+
_gst_amount: number;
|
|
2230
2230
|
_discount_amount: number;
|
|
2231
2231
|
is_ready?: boolean | null | undefined;
|
|
2232
2232
|
void_reason?: string | null | undefined;
|
|
@@ -2235,12 +2235,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2235
2235
|
name: string;
|
|
2236
2236
|
price: number;
|
|
2237
2237
|
special_instructions: string;
|
|
2238
|
-
quantity: number;
|
|
2239
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2240
2238
|
subtotal: number;
|
|
2241
|
-
|
|
2239
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2240
|
+
quantity: number;
|
|
2242
2241
|
_net_amount: number;
|
|
2243
2242
|
_gross_amount: number;
|
|
2243
|
+
_gst_amount: number;
|
|
2244
2244
|
_discount_amount: number;
|
|
2245
2245
|
is_ready?: boolean | null | undefined;
|
|
2246
2246
|
void_reason?: string | null | undefined;
|
|
@@ -2249,12 +2249,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2249
2249
|
name: string;
|
|
2250
2250
|
price: number;
|
|
2251
2251
|
special_instructions: string;
|
|
2252
|
-
quantity: number;
|
|
2253
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2254
2252
|
subtotal: number;
|
|
2255
|
-
|
|
2253
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2254
|
+
quantity: number;
|
|
2256
2255
|
_net_amount: number;
|
|
2257
2256
|
_gross_amount: number;
|
|
2257
|
+
_gst_amount: number;
|
|
2258
2258
|
_discount_amount: number;
|
|
2259
2259
|
is_ready?: boolean | null | undefined;
|
|
2260
2260
|
void_reason?: string | null | undefined;
|
|
@@ -2267,12 +2267,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2267
2267
|
name: string;
|
|
2268
2268
|
price: number;
|
|
2269
2269
|
special_instructions: string;
|
|
2270
|
-
quantity: number;
|
|
2271
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2272
2270
|
subtotal: number;
|
|
2273
|
-
|
|
2271
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2272
|
+
quantity: number;
|
|
2274
2273
|
_net_amount: number;
|
|
2275
2274
|
_gross_amount: number;
|
|
2275
|
+
_gst_amount: number;
|
|
2276
2276
|
_discount_amount: number;
|
|
2277
2277
|
is_ready?: boolean | null | undefined;
|
|
2278
2278
|
void_reason?: string | null | undefined;
|
|
@@ -2281,12 +2281,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2281
2281
|
name: string;
|
|
2282
2282
|
price: number;
|
|
2283
2283
|
special_instructions: string;
|
|
2284
|
-
quantity: number;
|
|
2285
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2286
2284
|
subtotal: number;
|
|
2287
|
-
|
|
2285
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2286
|
+
quantity: number;
|
|
2288
2287
|
_net_amount: number;
|
|
2289
2288
|
_gross_amount: number;
|
|
2289
|
+
_gst_amount: number;
|
|
2290
2290
|
_discount_amount: number;
|
|
2291
2291
|
is_ready?: boolean | null | undefined;
|
|
2292
2292
|
void_reason?: string | null | undefined;
|
|
@@ -2295,12 +2295,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2295
2295
|
name: string;
|
|
2296
2296
|
price: number;
|
|
2297
2297
|
special_instructions: string;
|
|
2298
|
-
quantity: number;
|
|
2299
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2300
2298
|
subtotal: number;
|
|
2301
|
-
|
|
2299
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2300
|
+
quantity: number;
|
|
2302
2301
|
_net_amount: number;
|
|
2303
2302
|
_gross_amount: number;
|
|
2303
|
+
_gst_amount: number;
|
|
2304
2304
|
_discount_amount: number;
|
|
2305
2305
|
is_ready?: boolean | null | undefined;
|
|
2306
2306
|
void_reason?: string | null | undefined;
|
|
@@ -2313,12 +2313,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2313
2313
|
name: string;
|
|
2314
2314
|
price: number;
|
|
2315
2315
|
special_instructions: string;
|
|
2316
|
-
quantity: number;
|
|
2317
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2318
2316
|
subtotal: number;
|
|
2319
|
-
|
|
2317
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2318
|
+
quantity: number;
|
|
2320
2319
|
_net_amount: number;
|
|
2321
2320
|
_gross_amount: number;
|
|
2321
|
+
_gst_amount: number;
|
|
2322
2322
|
_discount_amount: number;
|
|
2323
2323
|
is_ready?: boolean | null | undefined;
|
|
2324
2324
|
void_reason?: string | null | undefined;
|
|
@@ -2327,12 +2327,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2327
2327
|
name: string;
|
|
2328
2328
|
price: number;
|
|
2329
2329
|
special_instructions: string;
|
|
2330
|
-
quantity: number;
|
|
2331
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2332
2330
|
subtotal: number;
|
|
2333
|
-
|
|
2331
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2332
|
+
quantity: number;
|
|
2334
2333
|
_net_amount: number;
|
|
2335
2334
|
_gross_amount: number;
|
|
2335
|
+
_gst_amount: number;
|
|
2336
2336
|
_discount_amount: number;
|
|
2337
2337
|
is_ready?: boolean | null | undefined;
|
|
2338
2338
|
void_reason?: string | null | undefined;
|
|
@@ -2341,12 +2341,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2341
2341
|
name: string;
|
|
2342
2342
|
price: number;
|
|
2343
2343
|
special_instructions: string;
|
|
2344
|
-
quantity: number;
|
|
2345
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2346
2344
|
subtotal: number;
|
|
2347
|
-
|
|
2345
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2346
|
+
quantity: number;
|
|
2348
2347
|
_net_amount: number;
|
|
2349
2348
|
_gross_amount: number;
|
|
2349
|
+
_gst_amount: number;
|
|
2350
2350
|
_discount_amount: number;
|
|
2351
2351
|
is_ready?: boolean | null | undefined;
|
|
2352
2352
|
void_reason?: string | null | undefined;
|
|
@@ -2425,9 +2425,9 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2425
2425
|
staff_mobile: string;
|
|
2426
2426
|
staff_email: string;
|
|
2427
2427
|
} | null | undefined;
|
|
2428
|
+
is_gst_inclusive?: boolean | null | undefined;
|
|
2428
2429
|
gst?: number | null | undefined;
|
|
2429
2430
|
gst_amount?: number | null | undefined;
|
|
2430
|
-
is_gst_inclusive?: boolean | null | undefined;
|
|
2431
2431
|
}> & {
|
|
2432
2432
|
updatedAt: NativeDate;
|
|
2433
2433
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -2438,12 +2438,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2438
2438
|
name: string;
|
|
2439
2439
|
price: number;
|
|
2440
2440
|
special_instructions: string;
|
|
2441
|
-
quantity: number;
|
|
2442
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2443
2441
|
subtotal: number;
|
|
2444
|
-
|
|
2442
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2443
|
+
quantity: number;
|
|
2445
2444
|
_net_amount: number;
|
|
2446
2445
|
_gross_amount: number;
|
|
2446
|
+
_gst_amount: number;
|
|
2447
2447
|
_discount_amount: number;
|
|
2448
2448
|
is_ready?: boolean | null | undefined;
|
|
2449
2449
|
void_reason?: string | null | undefined;
|
|
@@ -2452,12 +2452,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2452
2452
|
name: string;
|
|
2453
2453
|
price: number;
|
|
2454
2454
|
special_instructions: string;
|
|
2455
|
-
quantity: number;
|
|
2456
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2457
2455
|
subtotal: number;
|
|
2458
|
-
|
|
2456
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2457
|
+
quantity: number;
|
|
2459
2458
|
_net_amount: number;
|
|
2460
2459
|
_gross_amount: number;
|
|
2460
|
+
_gst_amount: number;
|
|
2461
2461
|
_discount_amount: number;
|
|
2462
2462
|
is_ready?: boolean | null | undefined;
|
|
2463
2463
|
void_reason?: string | null | undefined;
|
|
@@ -2466,12 +2466,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2466
2466
|
name: string;
|
|
2467
2467
|
price: number;
|
|
2468
2468
|
special_instructions: string;
|
|
2469
|
-
quantity: number;
|
|
2470
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2471
2469
|
subtotal: number;
|
|
2472
|
-
|
|
2470
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2471
|
+
quantity: number;
|
|
2473
2472
|
_net_amount: number;
|
|
2474
2473
|
_gross_amount: number;
|
|
2474
|
+
_gst_amount: number;
|
|
2475
2475
|
_discount_amount: number;
|
|
2476
2476
|
is_ready?: boolean | null | undefined;
|
|
2477
2477
|
void_reason?: string | null | undefined;
|
|
@@ -2484,12 +2484,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2484
2484
|
name: string;
|
|
2485
2485
|
price: number;
|
|
2486
2486
|
special_instructions: string;
|
|
2487
|
-
quantity: number;
|
|
2488
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2489
2487
|
subtotal: number;
|
|
2490
|
-
|
|
2488
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2489
|
+
quantity: number;
|
|
2491
2490
|
_net_amount: number;
|
|
2492
2491
|
_gross_amount: number;
|
|
2492
|
+
_gst_amount: number;
|
|
2493
2493
|
_discount_amount: number;
|
|
2494
2494
|
is_ready?: boolean | null | undefined;
|
|
2495
2495
|
void_reason?: string | null | undefined;
|
|
@@ -2498,12 +2498,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2498
2498
|
name: string;
|
|
2499
2499
|
price: number;
|
|
2500
2500
|
special_instructions: string;
|
|
2501
|
-
quantity: number;
|
|
2502
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2503
2501
|
subtotal: number;
|
|
2504
|
-
|
|
2502
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2503
|
+
quantity: number;
|
|
2505
2504
|
_net_amount: number;
|
|
2506
2505
|
_gross_amount: number;
|
|
2506
|
+
_gst_amount: number;
|
|
2507
2507
|
_discount_amount: number;
|
|
2508
2508
|
is_ready?: boolean | null | undefined;
|
|
2509
2509
|
void_reason?: string | null | undefined;
|
|
@@ -2512,12 +2512,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2512
2512
|
name: string;
|
|
2513
2513
|
price: number;
|
|
2514
2514
|
special_instructions: string;
|
|
2515
|
-
quantity: number;
|
|
2516
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2517
2515
|
subtotal: number;
|
|
2518
|
-
|
|
2516
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2517
|
+
quantity: number;
|
|
2519
2518
|
_net_amount: number;
|
|
2520
2519
|
_gross_amount: number;
|
|
2520
|
+
_gst_amount: number;
|
|
2521
2521
|
_discount_amount: number;
|
|
2522
2522
|
is_ready?: boolean | null | undefined;
|
|
2523
2523
|
void_reason?: string | null | undefined;
|
|
@@ -2530,12 +2530,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2530
2530
|
name: string;
|
|
2531
2531
|
price: number;
|
|
2532
2532
|
special_instructions: string;
|
|
2533
|
-
quantity: number;
|
|
2534
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2535
2533
|
subtotal: number;
|
|
2536
|
-
|
|
2534
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2535
|
+
quantity: number;
|
|
2537
2536
|
_net_amount: number;
|
|
2538
2537
|
_gross_amount: number;
|
|
2538
|
+
_gst_amount: number;
|
|
2539
2539
|
_discount_amount: number;
|
|
2540
2540
|
is_ready?: boolean | null | undefined;
|
|
2541
2541
|
void_reason?: string | null | undefined;
|
|
@@ -2544,12 +2544,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2544
2544
|
name: string;
|
|
2545
2545
|
price: number;
|
|
2546
2546
|
special_instructions: string;
|
|
2547
|
-
quantity: number;
|
|
2548
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2549
2547
|
subtotal: number;
|
|
2550
|
-
|
|
2548
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2549
|
+
quantity: number;
|
|
2551
2550
|
_net_amount: number;
|
|
2552
2551
|
_gross_amount: number;
|
|
2552
|
+
_gst_amount: number;
|
|
2553
2553
|
_discount_amount: number;
|
|
2554
2554
|
is_ready?: boolean | null | undefined;
|
|
2555
2555
|
void_reason?: string | null | undefined;
|
|
@@ -2558,12 +2558,12 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2558
2558
|
name: string;
|
|
2559
2559
|
price: number;
|
|
2560
2560
|
special_instructions: string;
|
|
2561
|
-
quantity: number;
|
|
2562
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
2563
2561
|
subtotal: number;
|
|
2564
|
-
|
|
2562
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
2563
|
+
quantity: number;
|
|
2565
2564
|
_net_amount: number;
|
|
2566
2565
|
_gross_amount: number;
|
|
2566
|
+
_gst_amount: number;
|
|
2567
2567
|
_discount_amount: number;
|
|
2568
2568
|
is_ready?: boolean | null | undefined;
|
|
2569
2569
|
void_reason?: string | null | undefined;
|
|
@@ -2642,31 +2642,31 @@ export declare const WarehouseClientInvoicesSchema: Schema<any, import("mongoose
|
|
|
2642
2642
|
staff_mobile: string;
|
|
2643
2643
|
staff_email: string;
|
|
2644
2644
|
} | null | undefined;
|
|
2645
|
+
is_gst_inclusive?: boolean | null | undefined;
|
|
2645
2646
|
gst?: number | null | undefined;
|
|
2646
2647
|
gst_amount?: number | null | undefined;
|
|
2647
|
-
is_gst_inclusive?: boolean | null | undefined;
|
|
2648
2648
|
}>;
|
|
2649
2649
|
amount_collected: number;
|
|
2650
2650
|
is_deleted: boolean;
|
|
2651
2651
|
order_status_updated_at: NativeDate;
|
|
2652
|
+
warehouse_id: string;
|
|
2653
|
+
client_name: string;
|
|
2654
|
+
client_id: import("mongoose").Types.ObjectId;
|
|
2655
|
+
order_settled_at: NativeDate;
|
|
2656
|
+
order_settled_at_mins: number;
|
|
2652
2657
|
staff_details: {
|
|
2653
2658
|
staff_id: string;
|
|
2654
2659
|
staff_name: string;
|
|
2655
2660
|
staff_mobile: string;
|
|
2656
2661
|
staff_email: string;
|
|
2657
2662
|
};
|
|
2658
|
-
order_settled_at: NativeDate;
|
|
2659
|
-
order_settled_at_mins: number;
|
|
2660
|
-
warehouse_id: string;
|
|
2661
|
-
client_id: import("mongoose").Types.ObjectId;
|
|
2662
|
-
client_name: string;
|
|
2663
2663
|
cancel_reason?: string | null | undefined;
|
|
2664
2664
|
delete_reason?: string | null | undefined;
|
|
2665
2665
|
is_reopened?: boolean | null | undefined;
|
|
2666
2666
|
deferred_settlement?: boolean | null | undefined;
|
|
2667
|
+
is_gst_inclusive?: boolean | null | undefined;
|
|
2667
2668
|
gst?: number | null | undefined;
|
|
2668
2669
|
gst_amount?: number | null | undefined;
|
|
2669
|
-
is_gst_inclusive?: boolean | null | undefined;
|
|
2670
2670
|
}> & Required<{
|
|
2671
2671
|
_id: import("mongoose").Types.ObjectId;
|
|
2672
2672
|
}> & {
|