@managesome/eposmatic-toolkit 0.4.62 → 0.4.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/constants/MATERIALIZED_SCHEMA_VERSIONS.js +17 -0
- package/esm/constants/WORKER_ENDPOINTS.js +2 -2
- package/esm/helpers/materialized-reports/index.js +3 -0
- package/esm/helpers/materialized-reports/materialized-credit-bills-helpers.js +3 -3
- package/esm/helpers/materialized-reports/materialized-delivery-close-day-helpers.js +5 -5
- package/esm/helpers/materialized-reports/materialized-delivery-compile-helpers.js +2 -2
- package/esm/helpers/materialized-reports/materialized-dialer-close-day-helpers.js +5 -5
- package/esm/helpers/materialized-reports/materialized-dialer-compile-helpers.js +2 -2
- package/esm/helpers/materialized-reports/materialized-dinein-close-day-helpers.js +5 -5
- package/esm/helpers/materialized-reports/materialized-dinein-compile-helpers.js +2 -2
- package/esm/helpers/materialized-reports/materialized-discount-compile-helpers.js +3 -3
- package/esm/helpers/materialized-reports/materialized-document-size.js +2 -2
- package/esm/helpers/materialized-reports/materialized-prep-time-close-day-helpers.js +3 -3
- package/esm/helpers/materialized-reports/materialized-prep-time-compile-helpers.js +3 -3
- package/esm/helpers/materialized-reports/report-compile.js +38 -0
- package/esm/helpers/materialized-reports/tenant-sales-overview-bson.js +27 -0
- package/esm/helpers/materialized-reports/tenant-sales-overview-helpers.js +3 -22
- package/esm/helpers/store/common-tenant-purchase-order-actions.js +12 -0
- package/esm/helpers/store/common-warehouse-purchase-order-actions.js +20 -0
- package/esm/helpers/store/tenant-purchase-orders-cart-actions.js +24 -7
- package/esm/helpers/store/warehouse-purchase-orders-cart-actions.js +23 -10
- package/esm/helpers/utils/index.js +1 -0
- package/esm/helpers/utils/tenant-purchase-order-engine.js +47 -0
- package/esm/helpers/utils/warehouse-purchase-order-engine.js +63 -4
- package/esm/schemas/models/materialized_credit_bills.js +2 -1
- package/esm/schemas/models/materialized_tenant_delivery_entries.js +2 -1
- package/esm/schemas/models/materialized_tenant_delivery_reports.js +2 -1
- package/esm/schemas/models/materialized_tenant_dialer_entries.js +2 -1
- package/esm/schemas/models/materialized_tenant_dialer_reports.js +2 -1
- package/esm/schemas/models/materialized_tenant_dinein_entries.js +2 -1
- package/esm/schemas/models/materialized_tenant_dinein_reports.js +2 -1
- package/esm/schemas/models/materialized_tenant_sales_overview_reports.js +2 -1
- package/esm/schemas/models/tenant_purchase_orders.js +4 -0
- package/esm/schemas/models/warehouse_purchase_orders.js +4 -0
- package/lib/constants/MATERIALIZED_SCHEMA_VERSIONS.d.ts +17 -0
- package/lib/constants/MATERIALIZED_SCHEMA_VERSIONS.js +20 -0
- package/lib/constants/WORKER_ENDPOINTS.d.ts +0 -2
- package/lib/constants/WORKER_ENDPOINTS.js +2 -2
- package/lib/helpers/materialized-reports/index.d.ts +2 -0
- package/lib/helpers/materialized-reports/index.js +26 -0
- package/lib/helpers/materialized-reports/materialized-credit-bills-helpers.js +4 -4
- package/lib/helpers/materialized-reports/materialized-delivery-close-day-helpers.js +6 -6
- package/lib/helpers/materialized-reports/materialized-delivery-compile-helpers.js +4 -4
- package/lib/helpers/materialized-reports/materialized-dialer-close-day-helpers.js +6 -6
- package/lib/helpers/materialized-reports/materialized-dialer-compile-helpers.js +6 -6
- package/lib/helpers/materialized-reports/materialized-dinein-close-day-helpers.js +6 -6
- package/lib/helpers/materialized-reports/materialized-dinein-compile-helpers.js +6 -6
- package/lib/helpers/materialized-reports/materialized-discount-compile-helpers.js +3 -3
- package/lib/helpers/materialized-reports/materialized-document-size.js +2 -5
- package/lib/helpers/materialized-reports/materialized-prep-time-close-day-helpers.js +3 -3
- package/lib/helpers/materialized-reports/materialized-prep-time-compile-helpers.js +3 -3
- package/lib/helpers/materialized-reports/report-compile.d.ts +38 -0
- package/lib/helpers/materialized-reports/report-compile.js +87 -0
- package/lib/helpers/materialized-reports/tenant-sales-overview-bson.d.ts +12 -0
- package/lib/helpers/materialized-reports/tenant-sales-overview-bson.js +33 -0
- package/lib/helpers/materialized-reports/tenant-sales-overview-helpers.d.ts +1 -12
- package/lib/helpers/materialized-reports/tenant-sales-overview-helpers.js +4 -24
- package/lib/helpers/store/common-tenant-purchase-order-actions.d.ts +6 -1
- package/lib/helpers/store/common-tenant-purchase-order-actions.js +13 -0
- package/lib/helpers/store/common-warehouse-purchase-order-actions.js +20 -0
- package/lib/helpers/store/tenant-purchase-orders-cart-actions.js +23 -6
- package/lib/helpers/store/warehouse-purchase-orders-cart-actions.js +23 -10
- package/lib/helpers/utils/index.d.ts +1 -0
- package/lib/helpers/utils/index.js +1 -0
- package/lib/helpers/utils/tenant-purchase-order-engine.d.ts +24 -0
- package/lib/helpers/utils/tenant-purchase-order-engine.js +51 -0
- package/lib/helpers/utils/warehouse-purchase-order-engine.d.ts +23 -1
- package/lib/helpers/utils/warehouse-purchase-order-engine.js +65 -4
- package/lib/schemas/models/materialized_credit_bills.d.ts +29 -46
- package/lib/schemas/models/materialized_credit_bills.js +3 -2
- package/lib/schemas/models/materialized_tenant_cash_entries.d.ts +9 -9
- package/lib/schemas/models/materialized_tenant_cash_reports.d.ts +9 -9
- package/lib/schemas/models/materialized_tenant_delivery_entries.d.ts +11 -10
- package/lib/schemas/models/materialized_tenant_delivery_entries.js +3 -2
- package/lib/schemas/models/materialized_tenant_delivery_geo_cells.d.ts +9 -9
- package/lib/schemas/models/materialized_tenant_delivery_geo_scopes.d.ts +6 -6
- package/lib/schemas/models/materialized_tenant_delivery_reports.d.ts +11 -10
- package/lib/schemas/models/materialized_tenant_delivery_reports.js +3 -2
- package/lib/schemas/models/materialized_tenant_dialer_entries.d.ts +8 -7
- package/lib/schemas/models/materialized_tenant_dialer_entries.js +3 -2
- package/lib/schemas/models/materialized_tenant_dialer_reports.d.ts +11 -10
- package/lib/schemas/models/materialized_tenant_dialer_reports.js +3 -2
- package/lib/schemas/models/materialized_tenant_dinein_entries.d.ts +8 -7
- package/lib/schemas/models/materialized_tenant_dinein_entries.js +3 -2
- package/lib/schemas/models/materialized_tenant_dinein_reports.d.ts +11 -10
- package/lib/schemas/models/materialized_tenant_dinein_reports.js +3 -2
- package/lib/schemas/models/materialized_tenant_discount_entries.d.ts +9 -9
- package/lib/schemas/models/materialized_tenant_discount_reports.d.ts +9 -9
- package/lib/schemas/models/materialized_tenant_discount_sources.d.ts +9 -9
- package/lib/schemas/models/materialized_tenant_hourly_comparison_entries.d.ts +9 -9
- package/lib/schemas/models/materialized_tenant_hourly_comparison_reports.d.ts +9 -9
- package/lib/schemas/models/materialized_tenant_payments_comparison_entries.d.ts +9 -9
- package/lib/schemas/models/materialized_tenant_payments_comparison_reports.d.ts +9 -9
- package/lib/schemas/models/materialized_tenant_prep_time_entries.d.ts +9 -9
- package/lib/schemas/models/materialized_tenant_prep_time_reports.d.ts +9 -9
- package/lib/schemas/models/materialized_tenant_sales_comparison_entries.d.ts +9 -9
- package/lib/schemas/models/materialized_tenant_sales_comparison_reports.d.ts +9 -9
- package/lib/schemas/models/materialized_tenant_sales_overview_reports.d.ts +11 -35
- package/lib/schemas/models/materialized_tenant_sales_overview_reports.js +3 -2
- package/lib/schemas/models/tenant_purchase_orders.d.ts +972 -0
- package/lib/schemas/models/tenant_purchase_orders.js +4 -0
- package/lib/schemas/models/warehouse_purchase_orders.d.ts +972 -0
- package/lib/schemas/models/warehouse_purchase_orders.js +4 -0
- package/lib/schemas/types/tenant_purchase_orders.d.ts +2 -1
- package/lib/schemas/types/warehouse_purchase_orders.d.ts +2 -1
- package/lib/tests/materialized-reports/tenant-sales-overview-close-day-helpers.test.js +2 -1
- package/lib/tests/materialized-reports/tenant-sales-overview-helpers.test.js +5 -4
- package/lib/tests/reporting-contract/no-live-transport.test.js +106 -0
- package/package.json +2 -1
- package/lib/helpers/order/payment-collection.d.ts +0 -25
- package/lib/helpers/order/payment-collection.js +0 -51
- package/lib/schemas/models/applied_order_discounts.d.ts +0 -80
- package/lib/schemas/models/applied_order_discounts.js +0 -106
- package/lib/schemas/types/applied_order_discounts.d.ts +0 -22
- package/lib/schemas/types/applied_order_discounts.js +0 -2
- package/lib/tests/materialized-reports/analytics-overview-helpers.test.d.ts +0 -1
- package/lib/tests/materialized-reports/analytics-performance-helpers.test.d.ts +0 -1
- package/lib/tests/payment-collection-timestamps.test.d.ts +0 -1
- package/lib/tests/payment-collection-timestamps.test.js +0 -71
- /package/lib/tests/{materialized-reports/analytics-growth-helpers.test.d.ts → reporting-contract/no-live-transport.test.d.ts} +0 -0
|
@@ -19,6 +19,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
19
19
|
price: number;
|
|
20
20
|
special_instructions: string;
|
|
21
21
|
subtotal: number;
|
|
22
|
+
item_discount_details: {
|
|
23
|
+
total_discount: number;
|
|
24
|
+
special_discount_id?: string | null | undefined;
|
|
25
|
+
special_discount?: number | null | undefined;
|
|
26
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
27
|
+
special_discount_name?: string | null | undefined;
|
|
28
|
+
special_discount_reason?: string | null | undefined;
|
|
29
|
+
special_reference_number?: string | null | undefined;
|
|
30
|
+
};
|
|
22
31
|
item_id: import("mongoose").Types.ObjectId;
|
|
23
32
|
quantity: number;
|
|
24
33
|
_net_amount: number;
|
|
@@ -33,6 +42,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
33
42
|
price: number;
|
|
34
43
|
special_instructions: string;
|
|
35
44
|
subtotal: number;
|
|
45
|
+
item_discount_details: {
|
|
46
|
+
total_discount: number;
|
|
47
|
+
special_discount_id?: string | null | undefined;
|
|
48
|
+
special_discount?: number | null | undefined;
|
|
49
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
50
|
+
special_discount_name?: string | null | undefined;
|
|
51
|
+
special_discount_reason?: string | null | undefined;
|
|
52
|
+
special_reference_number?: string | null | undefined;
|
|
53
|
+
};
|
|
36
54
|
item_id: import("mongoose").Types.ObjectId;
|
|
37
55
|
quantity: number;
|
|
38
56
|
_net_amount: number;
|
|
@@ -47,6 +65,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
47
65
|
price: number;
|
|
48
66
|
special_instructions: string;
|
|
49
67
|
subtotal: number;
|
|
68
|
+
item_discount_details: {
|
|
69
|
+
total_discount: number;
|
|
70
|
+
special_discount_id?: string | null | undefined;
|
|
71
|
+
special_discount?: number | null | undefined;
|
|
72
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
73
|
+
special_discount_name?: string | null | undefined;
|
|
74
|
+
special_discount_reason?: string | null | undefined;
|
|
75
|
+
special_reference_number?: string | null | undefined;
|
|
76
|
+
};
|
|
50
77
|
item_id: import("mongoose").Types.ObjectId;
|
|
51
78
|
quantity: number;
|
|
52
79
|
_net_amount: number;
|
|
@@ -65,6 +92,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
65
92
|
price: number;
|
|
66
93
|
special_instructions: string;
|
|
67
94
|
subtotal: number;
|
|
95
|
+
item_discount_details: {
|
|
96
|
+
total_discount: number;
|
|
97
|
+
special_discount_id?: string | null | undefined;
|
|
98
|
+
special_discount?: number | null | undefined;
|
|
99
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
100
|
+
special_discount_name?: string | null | undefined;
|
|
101
|
+
special_discount_reason?: string | null | undefined;
|
|
102
|
+
special_reference_number?: string | null | undefined;
|
|
103
|
+
};
|
|
68
104
|
item_id: import("mongoose").Types.ObjectId;
|
|
69
105
|
quantity: number;
|
|
70
106
|
_net_amount: number;
|
|
@@ -79,6 +115,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
79
115
|
price: number;
|
|
80
116
|
special_instructions: string;
|
|
81
117
|
subtotal: number;
|
|
118
|
+
item_discount_details: {
|
|
119
|
+
total_discount: number;
|
|
120
|
+
special_discount_id?: string | null | undefined;
|
|
121
|
+
special_discount?: number | null | undefined;
|
|
122
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
123
|
+
special_discount_name?: string | null | undefined;
|
|
124
|
+
special_discount_reason?: string | null | undefined;
|
|
125
|
+
special_reference_number?: string | null | undefined;
|
|
126
|
+
};
|
|
82
127
|
item_id: import("mongoose").Types.ObjectId;
|
|
83
128
|
quantity: number;
|
|
84
129
|
_net_amount: number;
|
|
@@ -93,6 +138,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
93
138
|
price: number;
|
|
94
139
|
special_instructions: string;
|
|
95
140
|
subtotal: number;
|
|
141
|
+
item_discount_details: {
|
|
142
|
+
total_discount: number;
|
|
143
|
+
special_discount_id?: string | null | undefined;
|
|
144
|
+
special_discount?: number | null | undefined;
|
|
145
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
146
|
+
special_discount_name?: string | null | undefined;
|
|
147
|
+
special_discount_reason?: string | null | undefined;
|
|
148
|
+
special_reference_number?: string | null | undefined;
|
|
149
|
+
};
|
|
96
150
|
item_id: import("mongoose").Types.ObjectId;
|
|
97
151
|
quantity: number;
|
|
98
152
|
_net_amount: number;
|
|
@@ -111,6 +165,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
111
165
|
price: number;
|
|
112
166
|
special_instructions: string;
|
|
113
167
|
subtotal: number;
|
|
168
|
+
item_discount_details: {
|
|
169
|
+
total_discount: number;
|
|
170
|
+
special_discount_id?: string | null | undefined;
|
|
171
|
+
special_discount?: number | null | undefined;
|
|
172
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
173
|
+
special_discount_name?: string | null | undefined;
|
|
174
|
+
special_discount_reason?: string | null | undefined;
|
|
175
|
+
special_reference_number?: string | null | undefined;
|
|
176
|
+
};
|
|
114
177
|
item_id: import("mongoose").Types.ObjectId;
|
|
115
178
|
quantity: number;
|
|
116
179
|
_net_amount: number;
|
|
@@ -125,6 +188,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
125
188
|
price: number;
|
|
126
189
|
special_instructions: string;
|
|
127
190
|
subtotal: number;
|
|
191
|
+
item_discount_details: {
|
|
192
|
+
total_discount: number;
|
|
193
|
+
special_discount_id?: string | null | undefined;
|
|
194
|
+
special_discount?: number | null | undefined;
|
|
195
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
196
|
+
special_discount_name?: string | null | undefined;
|
|
197
|
+
special_discount_reason?: string | null | undefined;
|
|
198
|
+
special_reference_number?: string | null | undefined;
|
|
199
|
+
};
|
|
128
200
|
item_id: import("mongoose").Types.ObjectId;
|
|
129
201
|
quantity: number;
|
|
130
202
|
_net_amount: number;
|
|
@@ -139,6 +211,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
139
211
|
price: number;
|
|
140
212
|
special_instructions: string;
|
|
141
213
|
subtotal: number;
|
|
214
|
+
item_discount_details: {
|
|
215
|
+
total_discount: number;
|
|
216
|
+
special_discount_id?: string | null | undefined;
|
|
217
|
+
special_discount?: number | null | undefined;
|
|
218
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
219
|
+
special_discount_name?: string | null | undefined;
|
|
220
|
+
special_discount_reason?: string | null | undefined;
|
|
221
|
+
special_reference_number?: string | null | undefined;
|
|
222
|
+
};
|
|
142
223
|
item_id: import("mongoose").Types.ObjectId;
|
|
143
224
|
quantity: number;
|
|
144
225
|
_net_amount: number;
|
|
@@ -163,6 +244,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
163
244
|
price: number;
|
|
164
245
|
special_instructions: string;
|
|
165
246
|
subtotal: number;
|
|
247
|
+
item_discount_details: {
|
|
248
|
+
total_discount: number;
|
|
249
|
+
special_discount_id?: string | null | undefined;
|
|
250
|
+
special_discount?: number | null | undefined;
|
|
251
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
252
|
+
special_discount_name?: string | null | undefined;
|
|
253
|
+
special_discount_reason?: string | null | undefined;
|
|
254
|
+
special_reference_number?: string | null | undefined;
|
|
255
|
+
};
|
|
166
256
|
item_id: import("mongoose").Types.ObjectId;
|
|
167
257
|
quantity: number;
|
|
168
258
|
_net_amount: number;
|
|
@@ -177,6 +267,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
177
267
|
price: number;
|
|
178
268
|
special_instructions: string;
|
|
179
269
|
subtotal: number;
|
|
270
|
+
item_discount_details: {
|
|
271
|
+
total_discount: number;
|
|
272
|
+
special_discount_id?: string | null | undefined;
|
|
273
|
+
special_discount?: number | null | undefined;
|
|
274
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
275
|
+
special_discount_name?: string | null | undefined;
|
|
276
|
+
special_discount_reason?: string | null | undefined;
|
|
277
|
+
special_reference_number?: string | null | undefined;
|
|
278
|
+
};
|
|
180
279
|
item_id: import("mongoose").Types.ObjectId;
|
|
181
280
|
quantity: number;
|
|
182
281
|
_net_amount: number;
|
|
@@ -191,6 +290,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
191
290
|
price: number;
|
|
192
291
|
special_instructions: string;
|
|
193
292
|
subtotal: number;
|
|
293
|
+
item_discount_details: {
|
|
294
|
+
total_discount: number;
|
|
295
|
+
special_discount_id?: string | null | undefined;
|
|
296
|
+
special_discount?: number | null | undefined;
|
|
297
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
298
|
+
special_discount_name?: string | null | undefined;
|
|
299
|
+
special_discount_reason?: string | null | undefined;
|
|
300
|
+
special_reference_number?: string | null | undefined;
|
|
301
|
+
};
|
|
194
302
|
item_id: import("mongoose").Types.ObjectId;
|
|
195
303
|
quantity: number;
|
|
196
304
|
_net_amount: number;
|
|
@@ -209,6 +317,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
209
317
|
price: number;
|
|
210
318
|
special_instructions: string;
|
|
211
319
|
subtotal: number;
|
|
320
|
+
item_discount_details: {
|
|
321
|
+
total_discount: number;
|
|
322
|
+
special_discount_id?: string | null | undefined;
|
|
323
|
+
special_discount?: number | null | undefined;
|
|
324
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
325
|
+
special_discount_name?: string | null | undefined;
|
|
326
|
+
special_discount_reason?: string | null | undefined;
|
|
327
|
+
special_reference_number?: string | null | undefined;
|
|
328
|
+
};
|
|
212
329
|
item_id: import("mongoose").Types.ObjectId;
|
|
213
330
|
quantity: number;
|
|
214
331
|
_net_amount: number;
|
|
@@ -223,6 +340,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
223
340
|
price: number;
|
|
224
341
|
special_instructions: string;
|
|
225
342
|
subtotal: number;
|
|
343
|
+
item_discount_details: {
|
|
344
|
+
total_discount: number;
|
|
345
|
+
special_discount_id?: string | null | undefined;
|
|
346
|
+
special_discount?: number | null | undefined;
|
|
347
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
348
|
+
special_discount_name?: string | null | undefined;
|
|
349
|
+
special_discount_reason?: string | null | undefined;
|
|
350
|
+
special_reference_number?: string | null | undefined;
|
|
351
|
+
};
|
|
226
352
|
item_id: import("mongoose").Types.ObjectId;
|
|
227
353
|
quantity: number;
|
|
228
354
|
_net_amount: number;
|
|
@@ -237,6 +363,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
237
363
|
price: number;
|
|
238
364
|
special_instructions: string;
|
|
239
365
|
subtotal: number;
|
|
366
|
+
item_discount_details: {
|
|
367
|
+
total_discount: number;
|
|
368
|
+
special_discount_id?: string | null | undefined;
|
|
369
|
+
special_discount?: number | null | undefined;
|
|
370
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
371
|
+
special_discount_name?: string | null | undefined;
|
|
372
|
+
special_discount_reason?: string | null | undefined;
|
|
373
|
+
special_reference_number?: string | null | undefined;
|
|
374
|
+
};
|
|
240
375
|
item_id: import("mongoose").Types.ObjectId;
|
|
241
376
|
quantity: number;
|
|
242
377
|
_net_amount: number;
|
|
@@ -255,6 +390,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
255
390
|
price: number;
|
|
256
391
|
special_instructions: string;
|
|
257
392
|
subtotal: number;
|
|
393
|
+
item_discount_details: {
|
|
394
|
+
total_discount: number;
|
|
395
|
+
special_discount_id?: string | null | undefined;
|
|
396
|
+
special_discount?: number | null | undefined;
|
|
397
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
398
|
+
special_discount_name?: string | null | undefined;
|
|
399
|
+
special_discount_reason?: string | null | undefined;
|
|
400
|
+
special_reference_number?: string | null | undefined;
|
|
401
|
+
};
|
|
258
402
|
item_id: import("mongoose").Types.ObjectId;
|
|
259
403
|
quantity: number;
|
|
260
404
|
_net_amount: number;
|
|
@@ -269,6 +413,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
269
413
|
price: number;
|
|
270
414
|
special_instructions: string;
|
|
271
415
|
subtotal: number;
|
|
416
|
+
item_discount_details: {
|
|
417
|
+
total_discount: number;
|
|
418
|
+
special_discount_id?: string | null | undefined;
|
|
419
|
+
special_discount?: number | null | undefined;
|
|
420
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
421
|
+
special_discount_name?: string | null | undefined;
|
|
422
|
+
special_discount_reason?: string | null | undefined;
|
|
423
|
+
special_reference_number?: string | null | undefined;
|
|
424
|
+
};
|
|
272
425
|
item_id: import("mongoose").Types.ObjectId;
|
|
273
426
|
quantity: number;
|
|
274
427
|
_net_amount: number;
|
|
@@ -283,6 +436,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
283
436
|
price: number;
|
|
284
437
|
special_instructions: string;
|
|
285
438
|
subtotal: number;
|
|
439
|
+
item_discount_details: {
|
|
440
|
+
total_discount: number;
|
|
441
|
+
special_discount_id?: string | null | undefined;
|
|
442
|
+
special_discount?: number | null | undefined;
|
|
443
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
444
|
+
special_discount_name?: string | null | undefined;
|
|
445
|
+
special_discount_reason?: string | null | undefined;
|
|
446
|
+
special_reference_number?: string | null | undefined;
|
|
447
|
+
};
|
|
286
448
|
item_id: import("mongoose").Types.ObjectId;
|
|
287
449
|
quantity: number;
|
|
288
450
|
_net_amount: number;
|
|
@@ -391,6 +553,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
391
553
|
price: number;
|
|
392
554
|
special_instructions: string;
|
|
393
555
|
subtotal: number;
|
|
556
|
+
item_discount_details: {
|
|
557
|
+
total_discount: number;
|
|
558
|
+
special_discount_id?: string | null | undefined;
|
|
559
|
+
special_discount?: number | null | undefined;
|
|
560
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
561
|
+
special_discount_name?: string | null | undefined;
|
|
562
|
+
special_discount_reason?: string | null | undefined;
|
|
563
|
+
special_reference_number?: string | null | undefined;
|
|
564
|
+
};
|
|
394
565
|
item_id: import("mongoose").Types.ObjectId;
|
|
395
566
|
quantity: number;
|
|
396
567
|
_net_amount: number;
|
|
@@ -405,6 +576,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
405
576
|
price: number;
|
|
406
577
|
special_instructions: string;
|
|
407
578
|
subtotal: number;
|
|
579
|
+
item_discount_details: {
|
|
580
|
+
total_discount: number;
|
|
581
|
+
special_discount_id?: string | null | undefined;
|
|
582
|
+
special_discount?: number | null | undefined;
|
|
583
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
584
|
+
special_discount_name?: string | null | undefined;
|
|
585
|
+
special_discount_reason?: string | null | undefined;
|
|
586
|
+
special_reference_number?: string | null | undefined;
|
|
587
|
+
};
|
|
408
588
|
item_id: import("mongoose").Types.ObjectId;
|
|
409
589
|
quantity: number;
|
|
410
590
|
_net_amount: number;
|
|
@@ -419,6 +599,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
419
599
|
price: number;
|
|
420
600
|
special_instructions: string;
|
|
421
601
|
subtotal: number;
|
|
602
|
+
item_discount_details: {
|
|
603
|
+
total_discount: number;
|
|
604
|
+
special_discount_id?: string | null | undefined;
|
|
605
|
+
special_discount?: number | null | undefined;
|
|
606
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
607
|
+
special_discount_name?: string | null | undefined;
|
|
608
|
+
special_discount_reason?: string | null | undefined;
|
|
609
|
+
special_reference_number?: string | null | undefined;
|
|
610
|
+
};
|
|
422
611
|
item_id: import("mongoose").Types.ObjectId;
|
|
423
612
|
quantity: number;
|
|
424
613
|
_net_amount: number;
|
|
@@ -437,6 +626,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
437
626
|
price: number;
|
|
438
627
|
special_instructions: string;
|
|
439
628
|
subtotal: number;
|
|
629
|
+
item_discount_details: {
|
|
630
|
+
total_discount: number;
|
|
631
|
+
special_discount_id?: string | null | undefined;
|
|
632
|
+
special_discount?: number | null | undefined;
|
|
633
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
634
|
+
special_discount_name?: string | null | undefined;
|
|
635
|
+
special_discount_reason?: string | null | undefined;
|
|
636
|
+
special_reference_number?: string | null | undefined;
|
|
637
|
+
};
|
|
440
638
|
item_id: import("mongoose").Types.ObjectId;
|
|
441
639
|
quantity: number;
|
|
442
640
|
_net_amount: number;
|
|
@@ -451,6 +649,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
451
649
|
price: number;
|
|
452
650
|
special_instructions: string;
|
|
453
651
|
subtotal: number;
|
|
652
|
+
item_discount_details: {
|
|
653
|
+
total_discount: number;
|
|
654
|
+
special_discount_id?: string | null | undefined;
|
|
655
|
+
special_discount?: number | null | undefined;
|
|
656
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
657
|
+
special_discount_name?: string | null | undefined;
|
|
658
|
+
special_discount_reason?: string | null | undefined;
|
|
659
|
+
special_reference_number?: string | null | undefined;
|
|
660
|
+
};
|
|
454
661
|
item_id: import("mongoose").Types.ObjectId;
|
|
455
662
|
quantity: number;
|
|
456
663
|
_net_amount: number;
|
|
@@ -465,6 +672,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
465
672
|
price: number;
|
|
466
673
|
special_instructions: string;
|
|
467
674
|
subtotal: number;
|
|
675
|
+
item_discount_details: {
|
|
676
|
+
total_discount: number;
|
|
677
|
+
special_discount_id?: string | null | undefined;
|
|
678
|
+
special_discount?: number | null | undefined;
|
|
679
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
680
|
+
special_discount_name?: string | null | undefined;
|
|
681
|
+
special_discount_reason?: string | null | undefined;
|
|
682
|
+
special_reference_number?: string | null | undefined;
|
|
683
|
+
};
|
|
468
684
|
item_id: import("mongoose").Types.ObjectId;
|
|
469
685
|
quantity: number;
|
|
470
686
|
_net_amount: number;
|
|
@@ -483,6 +699,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
483
699
|
price: number;
|
|
484
700
|
special_instructions: string;
|
|
485
701
|
subtotal: number;
|
|
702
|
+
item_discount_details: {
|
|
703
|
+
total_discount: number;
|
|
704
|
+
special_discount_id?: string | null | undefined;
|
|
705
|
+
special_discount?: number | null | undefined;
|
|
706
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
707
|
+
special_discount_name?: string | null | undefined;
|
|
708
|
+
special_discount_reason?: string | null | undefined;
|
|
709
|
+
special_reference_number?: string | null | undefined;
|
|
710
|
+
};
|
|
486
711
|
item_id: import("mongoose").Types.ObjectId;
|
|
487
712
|
quantity: number;
|
|
488
713
|
_net_amount: number;
|
|
@@ -497,6 +722,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
497
722
|
price: number;
|
|
498
723
|
special_instructions: string;
|
|
499
724
|
subtotal: number;
|
|
725
|
+
item_discount_details: {
|
|
726
|
+
total_discount: number;
|
|
727
|
+
special_discount_id?: string | null | undefined;
|
|
728
|
+
special_discount?: number | null | undefined;
|
|
729
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
730
|
+
special_discount_name?: string | null | undefined;
|
|
731
|
+
special_discount_reason?: string | null | undefined;
|
|
732
|
+
special_reference_number?: string | null | undefined;
|
|
733
|
+
};
|
|
500
734
|
item_id: import("mongoose").Types.ObjectId;
|
|
501
735
|
quantity: number;
|
|
502
736
|
_net_amount: number;
|
|
@@ -511,6 +745,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
511
745
|
price: number;
|
|
512
746
|
special_instructions: string;
|
|
513
747
|
subtotal: number;
|
|
748
|
+
item_discount_details: {
|
|
749
|
+
total_discount: number;
|
|
750
|
+
special_discount_id?: string | null | undefined;
|
|
751
|
+
special_discount?: number | null | undefined;
|
|
752
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
753
|
+
special_discount_name?: string | null | undefined;
|
|
754
|
+
special_discount_reason?: string | null | undefined;
|
|
755
|
+
special_reference_number?: string | null | undefined;
|
|
756
|
+
};
|
|
514
757
|
item_id: import("mongoose").Types.ObjectId;
|
|
515
758
|
quantity: number;
|
|
516
759
|
_net_amount: number;
|
|
@@ -619,6 +862,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
619
862
|
price: number;
|
|
620
863
|
special_instructions: string;
|
|
621
864
|
subtotal: number;
|
|
865
|
+
item_discount_details: {
|
|
866
|
+
total_discount: number;
|
|
867
|
+
special_discount_id?: string | null | undefined;
|
|
868
|
+
special_discount?: number | null | undefined;
|
|
869
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
870
|
+
special_discount_name?: string | null | undefined;
|
|
871
|
+
special_discount_reason?: string | null | undefined;
|
|
872
|
+
special_reference_number?: string | null | undefined;
|
|
873
|
+
};
|
|
622
874
|
item_id: import("mongoose").Types.ObjectId;
|
|
623
875
|
quantity: number;
|
|
624
876
|
_net_amount: number;
|
|
@@ -633,6 +885,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
633
885
|
price: number;
|
|
634
886
|
special_instructions: string;
|
|
635
887
|
subtotal: number;
|
|
888
|
+
item_discount_details: {
|
|
889
|
+
total_discount: number;
|
|
890
|
+
special_discount_id?: string | null | undefined;
|
|
891
|
+
special_discount?: number | null | undefined;
|
|
892
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
893
|
+
special_discount_name?: string | null | undefined;
|
|
894
|
+
special_discount_reason?: string | null | undefined;
|
|
895
|
+
special_reference_number?: string | null | undefined;
|
|
896
|
+
};
|
|
636
897
|
item_id: import("mongoose").Types.ObjectId;
|
|
637
898
|
quantity: number;
|
|
638
899
|
_net_amount: number;
|
|
@@ -647,6 +908,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
647
908
|
price: number;
|
|
648
909
|
special_instructions: string;
|
|
649
910
|
subtotal: number;
|
|
911
|
+
item_discount_details: {
|
|
912
|
+
total_discount: number;
|
|
913
|
+
special_discount_id?: string | null | undefined;
|
|
914
|
+
special_discount?: number | null | undefined;
|
|
915
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
916
|
+
special_discount_name?: string | null | undefined;
|
|
917
|
+
special_discount_reason?: string | null | undefined;
|
|
918
|
+
special_reference_number?: string | null | undefined;
|
|
919
|
+
};
|
|
650
920
|
item_id: import("mongoose").Types.ObjectId;
|
|
651
921
|
quantity: number;
|
|
652
922
|
_net_amount: number;
|
|
@@ -665,6 +935,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
665
935
|
price: number;
|
|
666
936
|
special_instructions: string;
|
|
667
937
|
subtotal: number;
|
|
938
|
+
item_discount_details: {
|
|
939
|
+
total_discount: number;
|
|
940
|
+
special_discount_id?: string | null | undefined;
|
|
941
|
+
special_discount?: number | null | undefined;
|
|
942
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
943
|
+
special_discount_name?: string | null | undefined;
|
|
944
|
+
special_discount_reason?: string | null | undefined;
|
|
945
|
+
special_reference_number?: string | null | undefined;
|
|
946
|
+
};
|
|
668
947
|
item_id: import("mongoose").Types.ObjectId;
|
|
669
948
|
quantity: number;
|
|
670
949
|
_net_amount: number;
|
|
@@ -679,6 +958,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
679
958
|
price: number;
|
|
680
959
|
special_instructions: string;
|
|
681
960
|
subtotal: number;
|
|
961
|
+
item_discount_details: {
|
|
962
|
+
total_discount: number;
|
|
963
|
+
special_discount_id?: string | null | undefined;
|
|
964
|
+
special_discount?: number | null | undefined;
|
|
965
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
966
|
+
special_discount_name?: string | null | undefined;
|
|
967
|
+
special_discount_reason?: string | null | undefined;
|
|
968
|
+
special_reference_number?: string | null | undefined;
|
|
969
|
+
};
|
|
682
970
|
item_id: import("mongoose").Types.ObjectId;
|
|
683
971
|
quantity: number;
|
|
684
972
|
_net_amount: number;
|
|
@@ -693,6 +981,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
693
981
|
price: number;
|
|
694
982
|
special_instructions: string;
|
|
695
983
|
subtotal: number;
|
|
984
|
+
item_discount_details: {
|
|
985
|
+
total_discount: number;
|
|
986
|
+
special_discount_id?: string | null | undefined;
|
|
987
|
+
special_discount?: number | null | undefined;
|
|
988
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
989
|
+
special_discount_name?: string | null | undefined;
|
|
990
|
+
special_discount_reason?: string | null | undefined;
|
|
991
|
+
special_reference_number?: string | null | undefined;
|
|
992
|
+
};
|
|
696
993
|
item_id: import("mongoose").Types.ObjectId;
|
|
697
994
|
quantity: number;
|
|
698
995
|
_net_amount: number;
|
|
@@ -711,6 +1008,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
711
1008
|
price: number;
|
|
712
1009
|
special_instructions: string;
|
|
713
1010
|
subtotal: number;
|
|
1011
|
+
item_discount_details: {
|
|
1012
|
+
total_discount: number;
|
|
1013
|
+
special_discount_id?: string | null | undefined;
|
|
1014
|
+
special_discount?: number | null | undefined;
|
|
1015
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1016
|
+
special_discount_name?: string | null | undefined;
|
|
1017
|
+
special_discount_reason?: string | null | undefined;
|
|
1018
|
+
special_reference_number?: string | null | undefined;
|
|
1019
|
+
};
|
|
714
1020
|
item_id: import("mongoose").Types.ObjectId;
|
|
715
1021
|
quantity: number;
|
|
716
1022
|
_net_amount: number;
|
|
@@ -725,6 +1031,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
725
1031
|
price: number;
|
|
726
1032
|
special_instructions: string;
|
|
727
1033
|
subtotal: number;
|
|
1034
|
+
item_discount_details: {
|
|
1035
|
+
total_discount: number;
|
|
1036
|
+
special_discount_id?: string | null | undefined;
|
|
1037
|
+
special_discount?: number | null | undefined;
|
|
1038
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1039
|
+
special_discount_name?: string | null | undefined;
|
|
1040
|
+
special_discount_reason?: string | null | undefined;
|
|
1041
|
+
special_reference_number?: string | null | undefined;
|
|
1042
|
+
};
|
|
728
1043
|
item_id: import("mongoose").Types.ObjectId;
|
|
729
1044
|
quantity: number;
|
|
730
1045
|
_net_amount: number;
|
|
@@ -739,6 +1054,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
739
1054
|
price: number;
|
|
740
1055
|
special_instructions: string;
|
|
741
1056
|
subtotal: number;
|
|
1057
|
+
item_discount_details: {
|
|
1058
|
+
total_discount: number;
|
|
1059
|
+
special_discount_id?: string | null | undefined;
|
|
1060
|
+
special_discount?: number | null | undefined;
|
|
1061
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1062
|
+
special_discount_name?: string | null | undefined;
|
|
1063
|
+
special_discount_reason?: string | null | undefined;
|
|
1064
|
+
special_reference_number?: string | null | undefined;
|
|
1065
|
+
};
|
|
742
1066
|
item_id: import("mongoose").Types.ObjectId;
|
|
743
1067
|
quantity: number;
|
|
744
1068
|
_net_amount: number;
|
|
@@ -952,6 +1276,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
952
1276
|
price: number;
|
|
953
1277
|
special_instructions: string;
|
|
954
1278
|
subtotal: number;
|
|
1279
|
+
item_discount_details: {
|
|
1280
|
+
total_discount: number;
|
|
1281
|
+
special_discount_id?: string | null | undefined;
|
|
1282
|
+
special_discount?: number | null | undefined;
|
|
1283
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1284
|
+
special_discount_name?: string | null | undefined;
|
|
1285
|
+
special_discount_reason?: string | null | undefined;
|
|
1286
|
+
special_reference_number?: string | null | undefined;
|
|
1287
|
+
};
|
|
955
1288
|
item_id: import("mongoose").Types.ObjectId;
|
|
956
1289
|
quantity: number;
|
|
957
1290
|
_net_amount: number;
|
|
@@ -966,6 +1299,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
966
1299
|
price: number;
|
|
967
1300
|
special_instructions: string;
|
|
968
1301
|
subtotal: number;
|
|
1302
|
+
item_discount_details: {
|
|
1303
|
+
total_discount: number;
|
|
1304
|
+
special_discount_id?: string | null | undefined;
|
|
1305
|
+
special_discount?: number | null | undefined;
|
|
1306
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1307
|
+
special_discount_name?: string | null | undefined;
|
|
1308
|
+
special_discount_reason?: string | null | undefined;
|
|
1309
|
+
special_reference_number?: string | null | undefined;
|
|
1310
|
+
};
|
|
969
1311
|
item_id: import("mongoose").Types.ObjectId;
|
|
970
1312
|
quantity: number;
|
|
971
1313
|
_net_amount: number;
|
|
@@ -980,6 +1322,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
980
1322
|
price: number;
|
|
981
1323
|
special_instructions: string;
|
|
982
1324
|
subtotal: number;
|
|
1325
|
+
item_discount_details: {
|
|
1326
|
+
total_discount: number;
|
|
1327
|
+
special_discount_id?: string | null | undefined;
|
|
1328
|
+
special_discount?: number | null | undefined;
|
|
1329
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1330
|
+
special_discount_name?: string | null | undefined;
|
|
1331
|
+
special_discount_reason?: string | null | undefined;
|
|
1332
|
+
special_reference_number?: string | null | undefined;
|
|
1333
|
+
};
|
|
983
1334
|
item_id: import("mongoose").Types.ObjectId;
|
|
984
1335
|
quantity: number;
|
|
985
1336
|
_net_amount: number;
|
|
@@ -998,6 +1349,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
998
1349
|
price: number;
|
|
999
1350
|
special_instructions: string;
|
|
1000
1351
|
subtotal: number;
|
|
1352
|
+
item_discount_details: {
|
|
1353
|
+
total_discount: number;
|
|
1354
|
+
special_discount_id?: string | null | undefined;
|
|
1355
|
+
special_discount?: number | null | undefined;
|
|
1356
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1357
|
+
special_discount_name?: string | null | undefined;
|
|
1358
|
+
special_discount_reason?: string | null | undefined;
|
|
1359
|
+
special_reference_number?: string | null | undefined;
|
|
1360
|
+
};
|
|
1001
1361
|
item_id: import("mongoose").Types.ObjectId;
|
|
1002
1362
|
quantity: number;
|
|
1003
1363
|
_net_amount: number;
|
|
@@ -1012,6 +1372,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1012
1372
|
price: number;
|
|
1013
1373
|
special_instructions: string;
|
|
1014
1374
|
subtotal: number;
|
|
1375
|
+
item_discount_details: {
|
|
1376
|
+
total_discount: number;
|
|
1377
|
+
special_discount_id?: string | null | undefined;
|
|
1378
|
+
special_discount?: number | null | undefined;
|
|
1379
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1380
|
+
special_discount_name?: string | null | undefined;
|
|
1381
|
+
special_discount_reason?: string | null | undefined;
|
|
1382
|
+
special_reference_number?: string | null | undefined;
|
|
1383
|
+
};
|
|
1015
1384
|
item_id: import("mongoose").Types.ObjectId;
|
|
1016
1385
|
quantity: number;
|
|
1017
1386
|
_net_amount: number;
|
|
@@ -1026,6 +1395,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1026
1395
|
price: number;
|
|
1027
1396
|
special_instructions: string;
|
|
1028
1397
|
subtotal: number;
|
|
1398
|
+
item_discount_details: {
|
|
1399
|
+
total_discount: number;
|
|
1400
|
+
special_discount_id?: string | null | undefined;
|
|
1401
|
+
special_discount?: number | null | undefined;
|
|
1402
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1403
|
+
special_discount_name?: string | null | undefined;
|
|
1404
|
+
special_discount_reason?: string | null | undefined;
|
|
1405
|
+
special_reference_number?: string | null | undefined;
|
|
1406
|
+
};
|
|
1029
1407
|
item_id: import("mongoose").Types.ObjectId;
|
|
1030
1408
|
quantity: number;
|
|
1031
1409
|
_net_amount: number;
|
|
@@ -1044,6 +1422,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1044
1422
|
price: number;
|
|
1045
1423
|
special_instructions: string;
|
|
1046
1424
|
subtotal: number;
|
|
1425
|
+
item_discount_details: {
|
|
1426
|
+
total_discount: number;
|
|
1427
|
+
special_discount_id?: string | null | undefined;
|
|
1428
|
+
special_discount?: number | null | undefined;
|
|
1429
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1430
|
+
special_discount_name?: string | null | undefined;
|
|
1431
|
+
special_discount_reason?: string | null | undefined;
|
|
1432
|
+
special_reference_number?: string | null | undefined;
|
|
1433
|
+
};
|
|
1047
1434
|
item_id: import("mongoose").Types.ObjectId;
|
|
1048
1435
|
quantity: number;
|
|
1049
1436
|
_net_amount: number;
|
|
@@ -1058,6 +1445,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1058
1445
|
price: number;
|
|
1059
1446
|
special_instructions: string;
|
|
1060
1447
|
subtotal: number;
|
|
1448
|
+
item_discount_details: {
|
|
1449
|
+
total_discount: number;
|
|
1450
|
+
special_discount_id?: string | null | undefined;
|
|
1451
|
+
special_discount?: number | null | undefined;
|
|
1452
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1453
|
+
special_discount_name?: string | null | undefined;
|
|
1454
|
+
special_discount_reason?: string | null | undefined;
|
|
1455
|
+
special_reference_number?: string | null | undefined;
|
|
1456
|
+
};
|
|
1061
1457
|
item_id: import("mongoose").Types.ObjectId;
|
|
1062
1458
|
quantity: number;
|
|
1063
1459
|
_net_amount: number;
|
|
@@ -1072,6 +1468,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1072
1468
|
price: number;
|
|
1073
1469
|
special_instructions: string;
|
|
1074
1470
|
subtotal: number;
|
|
1471
|
+
item_discount_details: {
|
|
1472
|
+
total_discount: number;
|
|
1473
|
+
special_discount_id?: string | null | undefined;
|
|
1474
|
+
special_discount?: number | null | undefined;
|
|
1475
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1476
|
+
special_discount_name?: string | null | undefined;
|
|
1477
|
+
special_discount_reason?: string | null | undefined;
|
|
1478
|
+
special_reference_number?: string | null | undefined;
|
|
1479
|
+
};
|
|
1075
1480
|
item_id: import("mongoose").Types.ObjectId;
|
|
1076
1481
|
quantity: number;
|
|
1077
1482
|
_net_amount: number;
|
|
@@ -1096,6 +1501,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1096
1501
|
price: number;
|
|
1097
1502
|
special_instructions: string;
|
|
1098
1503
|
subtotal: number;
|
|
1504
|
+
item_discount_details: {
|
|
1505
|
+
total_discount: number;
|
|
1506
|
+
special_discount_id?: string | null | undefined;
|
|
1507
|
+
special_discount?: number | null | undefined;
|
|
1508
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1509
|
+
special_discount_name?: string | null | undefined;
|
|
1510
|
+
special_discount_reason?: string | null | undefined;
|
|
1511
|
+
special_reference_number?: string | null | undefined;
|
|
1512
|
+
};
|
|
1099
1513
|
item_id: import("mongoose").Types.ObjectId;
|
|
1100
1514
|
quantity: number;
|
|
1101
1515
|
_net_amount: number;
|
|
@@ -1110,6 +1524,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1110
1524
|
price: number;
|
|
1111
1525
|
special_instructions: string;
|
|
1112
1526
|
subtotal: number;
|
|
1527
|
+
item_discount_details: {
|
|
1528
|
+
total_discount: number;
|
|
1529
|
+
special_discount_id?: string | null | undefined;
|
|
1530
|
+
special_discount?: number | null | undefined;
|
|
1531
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1532
|
+
special_discount_name?: string | null | undefined;
|
|
1533
|
+
special_discount_reason?: string | null | undefined;
|
|
1534
|
+
special_reference_number?: string | null | undefined;
|
|
1535
|
+
};
|
|
1113
1536
|
item_id: import("mongoose").Types.ObjectId;
|
|
1114
1537
|
quantity: number;
|
|
1115
1538
|
_net_amount: number;
|
|
@@ -1124,6 +1547,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1124
1547
|
price: number;
|
|
1125
1548
|
special_instructions: string;
|
|
1126
1549
|
subtotal: number;
|
|
1550
|
+
item_discount_details: {
|
|
1551
|
+
total_discount: number;
|
|
1552
|
+
special_discount_id?: string | null | undefined;
|
|
1553
|
+
special_discount?: number | null | undefined;
|
|
1554
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1555
|
+
special_discount_name?: string | null | undefined;
|
|
1556
|
+
special_discount_reason?: string | null | undefined;
|
|
1557
|
+
special_reference_number?: string | null | undefined;
|
|
1558
|
+
};
|
|
1127
1559
|
item_id: import("mongoose").Types.ObjectId;
|
|
1128
1560
|
quantity: number;
|
|
1129
1561
|
_net_amount: number;
|
|
@@ -1142,6 +1574,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1142
1574
|
price: number;
|
|
1143
1575
|
special_instructions: string;
|
|
1144
1576
|
subtotal: number;
|
|
1577
|
+
item_discount_details: {
|
|
1578
|
+
total_discount: number;
|
|
1579
|
+
special_discount_id?: string | null | undefined;
|
|
1580
|
+
special_discount?: number | null | undefined;
|
|
1581
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1582
|
+
special_discount_name?: string | null | undefined;
|
|
1583
|
+
special_discount_reason?: string | null | undefined;
|
|
1584
|
+
special_reference_number?: string | null | undefined;
|
|
1585
|
+
};
|
|
1145
1586
|
item_id: import("mongoose").Types.ObjectId;
|
|
1146
1587
|
quantity: number;
|
|
1147
1588
|
_net_amount: number;
|
|
@@ -1156,6 +1597,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1156
1597
|
price: number;
|
|
1157
1598
|
special_instructions: string;
|
|
1158
1599
|
subtotal: number;
|
|
1600
|
+
item_discount_details: {
|
|
1601
|
+
total_discount: number;
|
|
1602
|
+
special_discount_id?: string | null | undefined;
|
|
1603
|
+
special_discount?: number | null | undefined;
|
|
1604
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1605
|
+
special_discount_name?: string | null | undefined;
|
|
1606
|
+
special_discount_reason?: string | null | undefined;
|
|
1607
|
+
special_reference_number?: string | null | undefined;
|
|
1608
|
+
};
|
|
1159
1609
|
item_id: import("mongoose").Types.ObjectId;
|
|
1160
1610
|
quantity: number;
|
|
1161
1611
|
_net_amount: number;
|
|
@@ -1170,6 +1620,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1170
1620
|
price: number;
|
|
1171
1621
|
special_instructions: string;
|
|
1172
1622
|
subtotal: number;
|
|
1623
|
+
item_discount_details: {
|
|
1624
|
+
total_discount: number;
|
|
1625
|
+
special_discount_id?: string | null | undefined;
|
|
1626
|
+
special_discount?: number | null | undefined;
|
|
1627
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1628
|
+
special_discount_name?: string | null | undefined;
|
|
1629
|
+
special_discount_reason?: string | null | undefined;
|
|
1630
|
+
special_reference_number?: string | null | undefined;
|
|
1631
|
+
};
|
|
1173
1632
|
item_id: import("mongoose").Types.ObjectId;
|
|
1174
1633
|
quantity: number;
|
|
1175
1634
|
_net_amount: number;
|
|
@@ -1188,6 +1647,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1188
1647
|
price: number;
|
|
1189
1648
|
special_instructions: string;
|
|
1190
1649
|
subtotal: number;
|
|
1650
|
+
item_discount_details: {
|
|
1651
|
+
total_discount: number;
|
|
1652
|
+
special_discount_id?: string | null | undefined;
|
|
1653
|
+
special_discount?: number | null | undefined;
|
|
1654
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1655
|
+
special_discount_name?: string | null | undefined;
|
|
1656
|
+
special_discount_reason?: string | null | undefined;
|
|
1657
|
+
special_reference_number?: string | null | undefined;
|
|
1658
|
+
};
|
|
1191
1659
|
item_id: import("mongoose").Types.ObjectId;
|
|
1192
1660
|
quantity: number;
|
|
1193
1661
|
_net_amount: number;
|
|
@@ -1202,6 +1670,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1202
1670
|
price: number;
|
|
1203
1671
|
special_instructions: string;
|
|
1204
1672
|
subtotal: number;
|
|
1673
|
+
item_discount_details: {
|
|
1674
|
+
total_discount: number;
|
|
1675
|
+
special_discount_id?: string | null | undefined;
|
|
1676
|
+
special_discount?: number | null | undefined;
|
|
1677
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1678
|
+
special_discount_name?: string | null | undefined;
|
|
1679
|
+
special_discount_reason?: string | null | undefined;
|
|
1680
|
+
special_reference_number?: string | null | undefined;
|
|
1681
|
+
};
|
|
1205
1682
|
item_id: import("mongoose").Types.ObjectId;
|
|
1206
1683
|
quantity: number;
|
|
1207
1684
|
_net_amount: number;
|
|
@@ -1216,6 +1693,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1216
1693
|
price: number;
|
|
1217
1694
|
special_instructions: string;
|
|
1218
1695
|
subtotal: number;
|
|
1696
|
+
item_discount_details: {
|
|
1697
|
+
total_discount: number;
|
|
1698
|
+
special_discount_id?: string | null | undefined;
|
|
1699
|
+
special_discount?: number | null | undefined;
|
|
1700
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1701
|
+
special_discount_name?: string | null | undefined;
|
|
1702
|
+
special_discount_reason?: string | null | undefined;
|
|
1703
|
+
special_reference_number?: string | null | undefined;
|
|
1704
|
+
};
|
|
1219
1705
|
item_id: import("mongoose").Types.ObjectId;
|
|
1220
1706
|
quantity: number;
|
|
1221
1707
|
_net_amount: number;
|
|
@@ -1324,6 +1810,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1324
1810
|
price: number;
|
|
1325
1811
|
special_instructions: string;
|
|
1326
1812
|
subtotal: number;
|
|
1813
|
+
item_discount_details: {
|
|
1814
|
+
total_discount: number;
|
|
1815
|
+
special_discount_id?: string | null | undefined;
|
|
1816
|
+
special_discount?: number | null | undefined;
|
|
1817
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1818
|
+
special_discount_name?: string | null | undefined;
|
|
1819
|
+
special_discount_reason?: string | null | undefined;
|
|
1820
|
+
special_reference_number?: string | null | undefined;
|
|
1821
|
+
};
|
|
1327
1822
|
item_id: import("mongoose").Types.ObjectId;
|
|
1328
1823
|
quantity: number;
|
|
1329
1824
|
_net_amount: number;
|
|
@@ -1338,6 +1833,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1338
1833
|
price: number;
|
|
1339
1834
|
special_instructions: string;
|
|
1340
1835
|
subtotal: number;
|
|
1836
|
+
item_discount_details: {
|
|
1837
|
+
total_discount: number;
|
|
1838
|
+
special_discount_id?: string | null | undefined;
|
|
1839
|
+
special_discount?: number | null | undefined;
|
|
1840
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1841
|
+
special_discount_name?: string | null | undefined;
|
|
1842
|
+
special_discount_reason?: string | null | undefined;
|
|
1843
|
+
special_reference_number?: string | null | undefined;
|
|
1844
|
+
};
|
|
1341
1845
|
item_id: import("mongoose").Types.ObjectId;
|
|
1342
1846
|
quantity: number;
|
|
1343
1847
|
_net_amount: number;
|
|
@@ -1352,6 +1856,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1352
1856
|
price: number;
|
|
1353
1857
|
special_instructions: string;
|
|
1354
1858
|
subtotal: number;
|
|
1859
|
+
item_discount_details: {
|
|
1860
|
+
total_discount: number;
|
|
1861
|
+
special_discount_id?: string | null | undefined;
|
|
1862
|
+
special_discount?: number | null | undefined;
|
|
1863
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1864
|
+
special_discount_name?: string | null | undefined;
|
|
1865
|
+
special_discount_reason?: string | null | undefined;
|
|
1866
|
+
special_reference_number?: string | null | undefined;
|
|
1867
|
+
};
|
|
1355
1868
|
item_id: import("mongoose").Types.ObjectId;
|
|
1356
1869
|
quantity: number;
|
|
1357
1870
|
_net_amount: number;
|
|
@@ -1370,6 +1883,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1370
1883
|
price: number;
|
|
1371
1884
|
special_instructions: string;
|
|
1372
1885
|
subtotal: number;
|
|
1886
|
+
item_discount_details: {
|
|
1887
|
+
total_discount: number;
|
|
1888
|
+
special_discount_id?: string | null | undefined;
|
|
1889
|
+
special_discount?: number | null | undefined;
|
|
1890
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1891
|
+
special_discount_name?: string | null | undefined;
|
|
1892
|
+
special_discount_reason?: string | null | undefined;
|
|
1893
|
+
special_reference_number?: string | null | undefined;
|
|
1894
|
+
};
|
|
1373
1895
|
item_id: import("mongoose").Types.ObjectId;
|
|
1374
1896
|
quantity: number;
|
|
1375
1897
|
_net_amount: number;
|
|
@@ -1384,6 +1906,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1384
1906
|
price: number;
|
|
1385
1907
|
special_instructions: string;
|
|
1386
1908
|
subtotal: number;
|
|
1909
|
+
item_discount_details: {
|
|
1910
|
+
total_discount: number;
|
|
1911
|
+
special_discount_id?: string | null | undefined;
|
|
1912
|
+
special_discount?: number | null | undefined;
|
|
1913
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1914
|
+
special_discount_name?: string | null | undefined;
|
|
1915
|
+
special_discount_reason?: string | null | undefined;
|
|
1916
|
+
special_reference_number?: string | null | undefined;
|
|
1917
|
+
};
|
|
1387
1918
|
item_id: import("mongoose").Types.ObjectId;
|
|
1388
1919
|
quantity: number;
|
|
1389
1920
|
_net_amount: number;
|
|
@@ -1398,6 +1929,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1398
1929
|
price: number;
|
|
1399
1930
|
special_instructions: string;
|
|
1400
1931
|
subtotal: number;
|
|
1932
|
+
item_discount_details: {
|
|
1933
|
+
total_discount: number;
|
|
1934
|
+
special_discount_id?: string | null | undefined;
|
|
1935
|
+
special_discount?: number | null | undefined;
|
|
1936
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1937
|
+
special_discount_name?: string | null | undefined;
|
|
1938
|
+
special_discount_reason?: string | null | undefined;
|
|
1939
|
+
special_reference_number?: string | null | undefined;
|
|
1940
|
+
};
|
|
1401
1941
|
item_id: import("mongoose").Types.ObjectId;
|
|
1402
1942
|
quantity: number;
|
|
1403
1943
|
_net_amount: number;
|
|
@@ -1416,6 +1956,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1416
1956
|
price: number;
|
|
1417
1957
|
special_instructions: string;
|
|
1418
1958
|
subtotal: number;
|
|
1959
|
+
item_discount_details: {
|
|
1960
|
+
total_discount: number;
|
|
1961
|
+
special_discount_id?: string | null | undefined;
|
|
1962
|
+
special_discount?: number | null | undefined;
|
|
1963
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1964
|
+
special_discount_name?: string | null | undefined;
|
|
1965
|
+
special_discount_reason?: string | null | undefined;
|
|
1966
|
+
special_reference_number?: string | null | undefined;
|
|
1967
|
+
};
|
|
1419
1968
|
item_id: import("mongoose").Types.ObjectId;
|
|
1420
1969
|
quantity: number;
|
|
1421
1970
|
_net_amount: number;
|
|
@@ -1430,6 +1979,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1430
1979
|
price: number;
|
|
1431
1980
|
special_instructions: string;
|
|
1432
1981
|
subtotal: number;
|
|
1982
|
+
item_discount_details: {
|
|
1983
|
+
total_discount: number;
|
|
1984
|
+
special_discount_id?: string | null | undefined;
|
|
1985
|
+
special_discount?: number | null | undefined;
|
|
1986
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
1987
|
+
special_discount_name?: string | null | undefined;
|
|
1988
|
+
special_discount_reason?: string | null | undefined;
|
|
1989
|
+
special_reference_number?: string | null | undefined;
|
|
1990
|
+
};
|
|
1433
1991
|
item_id: import("mongoose").Types.ObjectId;
|
|
1434
1992
|
quantity: number;
|
|
1435
1993
|
_net_amount: number;
|
|
@@ -1444,6 +2002,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1444
2002
|
price: number;
|
|
1445
2003
|
special_instructions: string;
|
|
1446
2004
|
subtotal: number;
|
|
2005
|
+
item_discount_details: {
|
|
2006
|
+
total_discount: number;
|
|
2007
|
+
special_discount_id?: string | null | undefined;
|
|
2008
|
+
special_discount?: number | null | undefined;
|
|
2009
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2010
|
+
special_discount_name?: string | null | undefined;
|
|
2011
|
+
special_discount_reason?: string | null | undefined;
|
|
2012
|
+
special_reference_number?: string | null | undefined;
|
|
2013
|
+
};
|
|
1447
2014
|
item_id: import("mongoose").Types.ObjectId;
|
|
1448
2015
|
quantity: number;
|
|
1449
2016
|
_net_amount: number;
|
|
@@ -1552,6 +2119,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1552
2119
|
price: number;
|
|
1553
2120
|
special_instructions: string;
|
|
1554
2121
|
subtotal: number;
|
|
2122
|
+
item_discount_details: {
|
|
2123
|
+
total_discount: number;
|
|
2124
|
+
special_discount_id?: string | null | undefined;
|
|
2125
|
+
special_discount?: number | null | undefined;
|
|
2126
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2127
|
+
special_discount_name?: string | null | undefined;
|
|
2128
|
+
special_discount_reason?: string | null | undefined;
|
|
2129
|
+
special_reference_number?: string | null | undefined;
|
|
2130
|
+
};
|
|
1555
2131
|
item_id: import("mongoose").Types.ObjectId;
|
|
1556
2132
|
quantity: number;
|
|
1557
2133
|
_net_amount: number;
|
|
@@ -1566,6 +2142,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1566
2142
|
price: number;
|
|
1567
2143
|
special_instructions: string;
|
|
1568
2144
|
subtotal: number;
|
|
2145
|
+
item_discount_details: {
|
|
2146
|
+
total_discount: number;
|
|
2147
|
+
special_discount_id?: string | null | undefined;
|
|
2148
|
+
special_discount?: number | null | undefined;
|
|
2149
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2150
|
+
special_discount_name?: string | null | undefined;
|
|
2151
|
+
special_discount_reason?: string | null | undefined;
|
|
2152
|
+
special_reference_number?: string | null | undefined;
|
|
2153
|
+
};
|
|
1569
2154
|
item_id: import("mongoose").Types.ObjectId;
|
|
1570
2155
|
quantity: number;
|
|
1571
2156
|
_net_amount: number;
|
|
@@ -1580,6 +2165,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1580
2165
|
price: number;
|
|
1581
2166
|
special_instructions: string;
|
|
1582
2167
|
subtotal: number;
|
|
2168
|
+
item_discount_details: {
|
|
2169
|
+
total_discount: number;
|
|
2170
|
+
special_discount_id?: string | null | undefined;
|
|
2171
|
+
special_discount?: number | null | undefined;
|
|
2172
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2173
|
+
special_discount_name?: string | null | undefined;
|
|
2174
|
+
special_discount_reason?: string | null | undefined;
|
|
2175
|
+
special_reference_number?: string | null | undefined;
|
|
2176
|
+
};
|
|
1583
2177
|
item_id: import("mongoose").Types.ObjectId;
|
|
1584
2178
|
quantity: number;
|
|
1585
2179
|
_net_amount: number;
|
|
@@ -1598,6 +2192,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1598
2192
|
price: number;
|
|
1599
2193
|
special_instructions: string;
|
|
1600
2194
|
subtotal: number;
|
|
2195
|
+
item_discount_details: {
|
|
2196
|
+
total_discount: number;
|
|
2197
|
+
special_discount_id?: string | null | undefined;
|
|
2198
|
+
special_discount?: number | null | undefined;
|
|
2199
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2200
|
+
special_discount_name?: string | null | undefined;
|
|
2201
|
+
special_discount_reason?: string | null | undefined;
|
|
2202
|
+
special_reference_number?: string | null | undefined;
|
|
2203
|
+
};
|
|
1601
2204
|
item_id: import("mongoose").Types.ObjectId;
|
|
1602
2205
|
quantity: number;
|
|
1603
2206
|
_net_amount: number;
|
|
@@ -1612,6 +2215,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1612
2215
|
price: number;
|
|
1613
2216
|
special_instructions: string;
|
|
1614
2217
|
subtotal: number;
|
|
2218
|
+
item_discount_details: {
|
|
2219
|
+
total_discount: number;
|
|
2220
|
+
special_discount_id?: string | null | undefined;
|
|
2221
|
+
special_discount?: number | null | undefined;
|
|
2222
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2223
|
+
special_discount_name?: string | null | undefined;
|
|
2224
|
+
special_discount_reason?: string | null | undefined;
|
|
2225
|
+
special_reference_number?: string | null | undefined;
|
|
2226
|
+
};
|
|
1615
2227
|
item_id: import("mongoose").Types.ObjectId;
|
|
1616
2228
|
quantity: number;
|
|
1617
2229
|
_net_amount: number;
|
|
@@ -1626,6 +2238,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1626
2238
|
price: number;
|
|
1627
2239
|
special_instructions: string;
|
|
1628
2240
|
subtotal: number;
|
|
2241
|
+
item_discount_details: {
|
|
2242
|
+
total_discount: number;
|
|
2243
|
+
special_discount_id?: string | null | undefined;
|
|
2244
|
+
special_discount?: number | null | undefined;
|
|
2245
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2246
|
+
special_discount_name?: string | null | undefined;
|
|
2247
|
+
special_discount_reason?: string | null | undefined;
|
|
2248
|
+
special_reference_number?: string | null | undefined;
|
|
2249
|
+
};
|
|
1629
2250
|
item_id: import("mongoose").Types.ObjectId;
|
|
1630
2251
|
quantity: number;
|
|
1631
2252
|
_net_amount: number;
|
|
@@ -1644,6 +2265,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1644
2265
|
price: number;
|
|
1645
2266
|
special_instructions: string;
|
|
1646
2267
|
subtotal: number;
|
|
2268
|
+
item_discount_details: {
|
|
2269
|
+
total_discount: number;
|
|
2270
|
+
special_discount_id?: string | null | undefined;
|
|
2271
|
+
special_discount?: number | null | undefined;
|
|
2272
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2273
|
+
special_discount_name?: string | null | undefined;
|
|
2274
|
+
special_discount_reason?: string | null | undefined;
|
|
2275
|
+
special_reference_number?: string | null | undefined;
|
|
2276
|
+
};
|
|
1647
2277
|
item_id: import("mongoose").Types.ObjectId;
|
|
1648
2278
|
quantity: number;
|
|
1649
2279
|
_net_amount: number;
|
|
@@ -1658,6 +2288,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1658
2288
|
price: number;
|
|
1659
2289
|
special_instructions: string;
|
|
1660
2290
|
subtotal: number;
|
|
2291
|
+
item_discount_details: {
|
|
2292
|
+
total_discount: number;
|
|
2293
|
+
special_discount_id?: string | null | undefined;
|
|
2294
|
+
special_discount?: number | null | undefined;
|
|
2295
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2296
|
+
special_discount_name?: string | null | undefined;
|
|
2297
|
+
special_discount_reason?: string | null | undefined;
|
|
2298
|
+
special_reference_number?: string | null | undefined;
|
|
2299
|
+
};
|
|
1661
2300
|
item_id: import("mongoose").Types.ObjectId;
|
|
1662
2301
|
quantity: number;
|
|
1663
2302
|
_net_amount: number;
|
|
@@ -1672,6 +2311,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1672
2311
|
price: number;
|
|
1673
2312
|
special_instructions: string;
|
|
1674
2313
|
subtotal: number;
|
|
2314
|
+
item_discount_details: {
|
|
2315
|
+
total_discount: number;
|
|
2316
|
+
special_discount_id?: string | null | undefined;
|
|
2317
|
+
special_discount?: number | null | undefined;
|
|
2318
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2319
|
+
special_discount_name?: string | null | undefined;
|
|
2320
|
+
special_discount_reason?: string | null | undefined;
|
|
2321
|
+
special_reference_number?: string | null | undefined;
|
|
2322
|
+
};
|
|
1675
2323
|
item_id: import("mongoose").Types.ObjectId;
|
|
1676
2324
|
quantity: number;
|
|
1677
2325
|
_net_amount: number;
|
|
@@ -1885,6 +2533,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1885
2533
|
price: number;
|
|
1886
2534
|
special_instructions: string;
|
|
1887
2535
|
subtotal: number;
|
|
2536
|
+
item_discount_details: {
|
|
2537
|
+
total_discount: number;
|
|
2538
|
+
special_discount_id?: string | null | undefined;
|
|
2539
|
+
special_discount?: number | null | undefined;
|
|
2540
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2541
|
+
special_discount_name?: string | null | undefined;
|
|
2542
|
+
special_discount_reason?: string | null | undefined;
|
|
2543
|
+
special_reference_number?: string | null | undefined;
|
|
2544
|
+
};
|
|
1888
2545
|
item_id: import("mongoose").Types.ObjectId;
|
|
1889
2546
|
quantity: number;
|
|
1890
2547
|
_net_amount: number;
|
|
@@ -1899,6 +2556,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1899
2556
|
price: number;
|
|
1900
2557
|
special_instructions: string;
|
|
1901
2558
|
subtotal: number;
|
|
2559
|
+
item_discount_details: {
|
|
2560
|
+
total_discount: number;
|
|
2561
|
+
special_discount_id?: string | null | undefined;
|
|
2562
|
+
special_discount?: number | null | undefined;
|
|
2563
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2564
|
+
special_discount_name?: string | null | undefined;
|
|
2565
|
+
special_discount_reason?: string | null | undefined;
|
|
2566
|
+
special_reference_number?: string | null | undefined;
|
|
2567
|
+
};
|
|
1902
2568
|
item_id: import("mongoose").Types.ObjectId;
|
|
1903
2569
|
quantity: number;
|
|
1904
2570
|
_net_amount: number;
|
|
@@ -1913,6 +2579,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1913
2579
|
price: number;
|
|
1914
2580
|
special_instructions: string;
|
|
1915
2581
|
subtotal: number;
|
|
2582
|
+
item_discount_details: {
|
|
2583
|
+
total_discount: number;
|
|
2584
|
+
special_discount_id?: string | null | undefined;
|
|
2585
|
+
special_discount?: number | null | undefined;
|
|
2586
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2587
|
+
special_discount_name?: string | null | undefined;
|
|
2588
|
+
special_discount_reason?: string | null | undefined;
|
|
2589
|
+
special_reference_number?: string | null | undefined;
|
|
2590
|
+
};
|
|
1916
2591
|
item_id: import("mongoose").Types.ObjectId;
|
|
1917
2592
|
quantity: number;
|
|
1918
2593
|
_net_amount: number;
|
|
@@ -1931,6 +2606,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1931
2606
|
price: number;
|
|
1932
2607
|
special_instructions: string;
|
|
1933
2608
|
subtotal: number;
|
|
2609
|
+
item_discount_details: {
|
|
2610
|
+
total_discount: number;
|
|
2611
|
+
special_discount_id?: string | null | undefined;
|
|
2612
|
+
special_discount?: number | null | undefined;
|
|
2613
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2614
|
+
special_discount_name?: string | null | undefined;
|
|
2615
|
+
special_discount_reason?: string | null | undefined;
|
|
2616
|
+
special_reference_number?: string | null | undefined;
|
|
2617
|
+
};
|
|
1934
2618
|
item_id: import("mongoose").Types.ObjectId;
|
|
1935
2619
|
quantity: number;
|
|
1936
2620
|
_net_amount: number;
|
|
@@ -1945,6 +2629,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1945
2629
|
price: number;
|
|
1946
2630
|
special_instructions: string;
|
|
1947
2631
|
subtotal: number;
|
|
2632
|
+
item_discount_details: {
|
|
2633
|
+
total_discount: number;
|
|
2634
|
+
special_discount_id?: string | null | undefined;
|
|
2635
|
+
special_discount?: number | null | undefined;
|
|
2636
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2637
|
+
special_discount_name?: string | null | undefined;
|
|
2638
|
+
special_discount_reason?: string | null | undefined;
|
|
2639
|
+
special_reference_number?: string | null | undefined;
|
|
2640
|
+
};
|
|
1948
2641
|
item_id: import("mongoose").Types.ObjectId;
|
|
1949
2642
|
quantity: number;
|
|
1950
2643
|
_net_amount: number;
|
|
@@ -1959,6 +2652,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1959
2652
|
price: number;
|
|
1960
2653
|
special_instructions: string;
|
|
1961
2654
|
subtotal: number;
|
|
2655
|
+
item_discount_details: {
|
|
2656
|
+
total_discount: number;
|
|
2657
|
+
special_discount_id?: string | null | undefined;
|
|
2658
|
+
special_discount?: number | null | undefined;
|
|
2659
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2660
|
+
special_discount_name?: string | null | undefined;
|
|
2661
|
+
special_discount_reason?: string | null | undefined;
|
|
2662
|
+
special_reference_number?: string | null | undefined;
|
|
2663
|
+
};
|
|
1962
2664
|
item_id: import("mongoose").Types.ObjectId;
|
|
1963
2665
|
quantity: number;
|
|
1964
2666
|
_net_amount: number;
|
|
@@ -1977,6 +2679,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1977
2679
|
price: number;
|
|
1978
2680
|
special_instructions: string;
|
|
1979
2681
|
subtotal: number;
|
|
2682
|
+
item_discount_details: {
|
|
2683
|
+
total_discount: number;
|
|
2684
|
+
special_discount_id?: string | null | undefined;
|
|
2685
|
+
special_discount?: number | null | undefined;
|
|
2686
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2687
|
+
special_discount_name?: string | null | undefined;
|
|
2688
|
+
special_discount_reason?: string | null | undefined;
|
|
2689
|
+
special_reference_number?: string | null | undefined;
|
|
2690
|
+
};
|
|
1980
2691
|
item_id: import("mongoose").Types.ObjectId;
|
|
1981
2692
|
quantity: number;
|
|
1982
2693
|
_net_amount: number;
|
|
@@ -1991,6 +2702,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
1991
2702
|
price: number;
|
|
1992
2703
|
special_instructions: string;
|
|
1993
2704
|
subtotal: number;
|
|
2705
|
+
item_discount_details: {
|
|
2706
|
+
total_discount: number;
|
|
2707
|
+
special_discount_id?: string | null | undefined;
|
|
2708
|
+
special_discount?: number | null | undefined;
|
|
2709
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2710
|
+
special_discount_name?: string | null | undefined;
|
|
2711
|
+
special_discount_reason?: string | null | undefined;
|
|
2712
|
+
special_reference_number?: string | null | undefined;
|
|
2713
|
+
};
|
|
1994
2714
|
item_id: import("mongoose").Types.ObjectId;
|
|
1995
2715
|
quantity: number;
|
|
1996
2716
|
_net_amount: number;
|
|
@@ -2005,6 +2725,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2005
2725
|
price: number;
|
|
2006
2726
|
special_instructions: string;
|
|
2007
2727
|
subtotal: number;
|
|
2728
|
+
item_discount_details: {
|
|
2729
|
+
total_discount: number;
|
|
2730
|
+
special_discount_id?: string | null | undefined;
|
|
2731
|
+
special_discount?: number | null | undefined;
|
|
2732
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2733
|
+
special_discount_name?: string | null | undefined;
|
|
2734
|
+
special_discount_reason?: string | null | undefined;
|
|
2735
|
+
special_reference_number?: string | null | undefined;
|
|
2736
|
+
};
|
|
2008
2737
|
item_id: import("mongoose").Types.ObjectId;
|
|
2009
2738
|
quantity: number;
|
|
2010
2739
|
_net_amount: number;
|
|
@@ -2029,6 +2758,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2029
2758
|
price: number;
|
|
2030
2759
|
special_instructions: string;
|
|
2031
2760
|
subtotal: number;
|
|
2761
|
+
item_discount_details: {
|
|
2762
|
+
total_discount: number;
|
|
2763
|
+
special_discount_id?: string | null | undefined;
|
|
2764
|
+
special_discount?: number | null | undefined;
|
|
2765
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2766
|
+
special_discount_name?: string | null | undefined;
|
|
2767
|
+
special_discount_reason?: string | null | undefined;
|
|
2768
|
+
special_reference_number?: string | null | undefined;
|
|
2769
|
+
};
|
|
2032
2770
|
item_id: import("mongoose").Types.ObjectId;
|
|
2033
2771
|
quantity: number;
|
|
2034
2772
|
_net_amount: number;
|
|
@@ -2043,6 +2781,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2043
2781
|
price: number;
|
|
2044
2782
|
special_instructions: string;
|
|
2045
2783
|
subtotal: number;
|
|
2784
|
+
item_discount_details: {
|
|
2785
|
+
total_discount: number;
|
|
2786
|
+
special_discount_id?: string | null | undefined;
|
|
2787
|
+
special_discount?: number | null | undefined;
|
|
2788
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2789
|
+
special_discount_name?: string | null | undefined;
|
|
2790
|
+
special_discount_reason?: string | null | undefined;
|
|
2791
|
+
special_reference_number?: string | null | undefined;
|
|
2792
|
+
};
|
|
2046
2793
|
item_id: import("mongoose").Types.ObjectId;
|
|
2047
2794
|
quantity: number;
|
|
2048
2795
|
_net_amount: number;
|
|
@@ -2057,6 +2804,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2057
2804
|
price: number;
|
|
2058
2805
|
special_instructions: string;
|
|
2059
2806
|
subtotal: number;
|
|
2807
|
+
item_discount_details: {
|
|
2808
|
+
total_discount: number;
|
|
2809
|
+
special_discount_id?: string | null | undefined;
|
|
2810
|
+
special_discount?: number | null | undefined;
|
|
2811
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2812
|
+
special_discount_name?: string | null | undefined;
|
|
2813
|
+
special_discount_reason?: string | null | undefined;
|
|
2814
|
+
special_reference_number?: string | null | undefined;
|
|
2815
|
+
};
|
|
2060
2816
|
item_id: import("mongoose").Types.ObjectId;
|
|
2061
2817
|
quantity: number;
|
|
2062
2818
|
_net_amount: number;
|
|
@@ -2075,6 +2831,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2075
2831
|
price: number;
|
|
2076
2832
|
special_instructions: string;
|
|
2077
2833
|
subtotal: number;
|
|
2834
|
+
item_discount_details: {
|
|
2835
|
+
total_discount: number;
|
|
2836
|
+
special_discount_id?: string | null | undefined;
|
|
2837
|
+
special_discount?: number | null | undefined;
|
|
2838
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2839
|
+
special_discount_name?: string | null | undefined;
|
|
2840
|
+
special_discount_reason?: string | null | undefined;
|
|
2841
|
+
special_reference_number?: string | null | undefined;
|
|
2842
|
+
};
|
|
2078
2843
|
item_id: import("mongoose").Types.ObjectId;
|
|
2079
2844
|
quantity: number;
|
|
2080
2845
|
_net_amount: number;
|
|
@@ -2089,6 +2854,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2089
2854
|
price: number;
|
|
2090
2855
|
special_instructions: string;
|
|
2091
2856
|
subtotal: number;
|
|
2857
|
+
item_discount_details: {
|
|
2858
|
+
total_discount: number;
|
|
2859
|
+
special_discount_id?: string | null | undefined;
|
|
2860
|
+
special_discount?: number | null | undefined;
|
|
2861
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2862
|
+
special_discount_name?: string | null | undefined;
|
|
2863
|
+
special_discount_reason?: string | null | undefined;
|
|
2864
|
+
special_reference_number?: string | null | undefined;
|
|
2865
|
+
};
|
|
2092
2866
|
item_id: import("mongoose").Types.ObjectId;
|
|
2093
2867
|
quantity: number;
|
|
2094
2868
|
_net_amount: number;
|
|
@@ -2103,6 +2877,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2103
2877
|
price: number;
|
|
2104
2878
|
special_instructions: string;
|
|
2105
2879
|
subtotal: number;
|
|
2880
|
+
item_discount_details: {
|
|
2881
|
+
total_discount: number;
|
|
2882
|
+
special_discount_id?: string | null | undefined;
|
|
2883
|
+
special_discount?: number | null | undefined;
|
|
2884
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2885
|
+
special_discount_name?: string | null | undefined;
|
|
2886
|
+
special_discount_reason?: string | null | undefined;
|
|
2887
|
+
special_reference_number?: string | null | undefined;
|
|
2888
|
+
};
|
|
2106
2889
|
item_id: import("mongoose").Types.ObjectId;
|
|
2107
2890
|
quantity: number;
|
|
2108
2891
|
_net_amount: number;
|
|
@@ -2121,6 +2904,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2121
2904
|
price: number;
|
|
2122
2905
|
special_instructions: string;
|
|
2123
2906
|
subtotal: number;
|
|
2907
|
+
item_discount_details: {
|
|
2908
|
+
total_discount: number;
|
|
2909
|
+
special_discount_id?: string | null | undefined;
|
|
2910
|
+
special_discount?: number | null | undefined;
|
|
2911
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2912
|
+
special_discount_name?: string | null | undefined;
|
|
2913
|
+
special_discount_reason?: string | null | undefined;
|
|
2914
|
+
special_reference_number?: string | null | undefined;
|
|
2915
|
+
};
|
|
2124
2916
|
item_id: import("mongoose").Types.ObjectId;
|
|
2125
2917
|
quantity: number;
|
|
2126
2918
|
_net_amount: number;
|
|
@@ -2135,6 +2927,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2135
2927
|
price: number;
|
|
2136
2928
|
special_instructions: string;
|
|
2137
2929
|
subtotal: number;
|
|
2930
|
+
item_discount_details: {
|
|
2931
|
+
total_discount: number;
|
|
2932
|
+
special_discount_id?: string | null | undefined;
|
|
2933
|
+
special_discount?: number | null | undefined;
|
|
2934
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2935
|
+
special_discount_name?: string | null | undefined;
|
|
2936
|
+
special_discount_reason?: string | null | undefined;
|
|
2937
|
+
special_reference_number?: string | null | undefined;
|
|
2938
|
+
};
|
|
2138
2939
|
item_id: import("mongoose").Types.ObjectId;
|
|
2139
2940
|
quantity: number;
|
|
2140
2941
|
_net_amount: number;
|
|
@@ -2149,6 +2950,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2149
2950
|
price: number;
|
|
2150
2951
|
special_instructions: string;
|
|
2151
2952
|
subtotal: number;
|
|
2953
|
+
item_discount_details: {
|
|
2954
|
+
total_discount: number;
|
|
2955
|
+
special_discount_id?: string | null | undefined;
|
|
2956
|
+
special_discount?: number | null | undefined;
|
|
2957
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
2958
|
+
special_discount_name?: string | null | undefined;
|
|
2959
|
+
special_discount_reason?: string | null | undefined;
|
|
2960
|
+
special_reference_number?: string | null | undefined;
|
|
2961
|
+
};
|
|
2152
2962
|
item_id: import("mongoose").Types.ObjectId;
|
|
2153
2963
|
quantity: number;
|
|
2154
2964
|
_net_amount: number;
|
|
@@ -2257,6 +3067,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2257
3067
|
price: number;
|
|
2258
3068
|
special_instructions: string;
|
|
2259
3069
|
subtotal: number;
|
|
3070
|
+
item_discount_details: {
|
|
3071
|
+
total_discount: number;
|
|
3072
|
+
special_discount_id?: string | null | undefined;
|
|
3073
|
+
special_discount?: number | null | undefined;
|
|
3074
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
3075
|
+
special_discount_name?: string | null | undefined;
|
|
3076
|
+
special_discount_reason?: string | null | undefined;
|
|
3077
|
+
special_reference_number?: string | null | undefined;
|
|
3078
|
+
};
|
|
2260
3079
|
item_id: import("mongoose").Types.ObjectId;
|
|
2261
3080
|
quantity: number;
|
|
2262
3081
|
_net_amount: number;
|
|
@@ -2271,6 +3090,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2271
3090
|
price: number;
|
|
2272
3091
|
special_instructions: string;
|
|
2273
3092
|
subtotal: number;
|
|
3093
|
+
item_discount_details: {
|
|
3094
|
+
total_discount: number;
|
|
3095
|
+
special_discount_id?: string | null | undefined;
|
|
3096
|
+
special_discount?: number | null | undefined;
|
|
3097
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
3098
|
+
special_discount_name?: string | null | undefined;
|
|
3099
|
+
special_discount_reason?: string | null | undefined;
|
|
3100
|
+
special_reference_number?: string | null | undefined;
|
|
3101
|
+
};
|
|
2274
3102
|
item_id: import("mongoose").Types.ObjectId;
|
|
2275
3103
|
quantity: number;
|
|
2276
3104
|
_net_amount: number;
|
|
@@ -2285,6 +3113,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2285
3113
|
price: number;
|
|
2286
3114
|
special_instructions: string;
|
|
2287
3115
|
subtotal: number;
|
|
3116
|
+
item_discount_details: {
|
|
3117
|
+
total_discount: number;
|
|
3118
|
+
special_discount_id?: string | null | undefined;
|
|
3119
|
+
special_discount?: number | null | undefined;
|
|
3120
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
3121
|
+
special_discount_name?: string | null | undefined;
|
|
3122
|
+
special_discount_reason?: string | null | undefined;
|
|
3123
|
+
special_reference_number?: string | null | undefined;
|
|
3124
|
+
};
|
|
2288
3125
|
item_id: import("mongoose").Types.ObjectId;
|
|
2289
3126
|
quantity: number;
|
|
2290
3127
|
_net_amount: number;
|
|
@@ -2303,6 +3140,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2303
3140
|
price: number;
|
|
2304
3141
|
special_instructions: string;
|
|
2305
3142
|
subtotal: number;
|
|
3143
|
+
item_discount_details: {
|
|
3144
|
+
total_discount: number;
|
|
3145
|
+
special_discount_id?: string | null | undefined;
|
|
3146
|
+
special_discount?: number | null | undefined;
|
|
3147
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
3148
|
+
special_discount_name?: string | null | undefined;
|
|
3149
|
+
special_discount_reason?: string | null | undefined;
|
|
3150
|
+
special_reference_number?: string | null | undefined;
|
|
3151
|
+
};
|
|
2306
3152
|
item_id: import("mongoose").Types.ObjectId;
|
|
2307
3153
|
quantity: number;
|
|
2308
3154
|
_net_amount: number;
|
|
@@ -2317,6 +3163,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2317
3163
|
price: number;
|
|
2318
3164
|
special_instructions: string;
|
|
2319
3165
|
subtotal: number;
|
|
3166
|
+
item_discount_details: {
|
|
3167
|
+
total_discount: number;
|
|
3168
|
+
special_discount_id?: string | null | undefined;
|
|
3169
|
+
special_discount?: number | null | undefined;
|
|
3170
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
3171
|
+
special_discount_name?: string | null | undefined;
|
|
3172
|
+
special_discount_reason?: string | null | undefined;
|
|
3173
|
+
special_reference_number?: string | null | undefined;
|
|
3174
|
+
};
|
|
2320
3175
|
item_id: import("mongoose").Types.ObjectId;
|
|
2321
3176
|
quantity: number;
|
|
2322
3177
|
_net_amount: number;
|
|
@@ -2331,6 +3186,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2331
3186
|
price: number;
|
|
2332
3187
|
special_instructions: string;
|
|
2333
3188
|
subtotal: number;
|
|
3189
|
+
item_discount_details: {
|
|
3190
|
+
total_discount: number;
|
|
3191
|
+
special_discount_id?: string | null | undefined;
|
|
3192
|
+
special_discount?: number | null | undefined;
|
|
3193
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
3194
|
+
special_discount_name?: string | null | undefined;
|
|
3195
|
+
special_discount_reason?: string | null | undefined;
|
|
3196
|
+
special_reference_number?: string | null | undefined;
|
|
3197
|
+
};
|
|
2334
3198
|
item_id: import("mongoose").Types.ObjectId;
|
|
2335
3199
|
quantity: number;
|
|
2336
3200
|
_net_amount: number;
|
|
@@ -2349,6 +3213,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2349
3213
|
price: number;
|
|
2350
3214
|
special_instructions: string;
|
|
2351
3215
|
subtotal: number;
|
|
3216
|
+
item_discount_details: {
|
|
3217
|
+
total_discount: number;
|
|
3218
|
+
special_discount_id?: string | null | undefined;
|
|
3219
|
+
special_discount?: number | null | undefined;
|
|
3220
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
3221
|
+
special_discount_name?: string | null | undefined;
|
|
3222
|
+
special_discount_reason?: string | null | undefined;
|
|
3223
|
+
special_reference_number?: string | null | undefined;
|
|
3224
|
+
};
|
|
2352
3225
|
item_id: import("mongoose").Types.ObjectId;
|
|
2353
3226
|
quantity: number;
|
|
2354
3227
|
_net_amount: number;
|
|
@@ -2363,6 +3236,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2363
3236
|
price: number;
|
|
2364
3237
|
special_instructions: string;
|
|
2365
3238
|
subtotal: number;
|
|
3239
|
+
item_discount_details: {
|
|
3240
|
+
total_discount: number;
|
|
3241
|
+
special_discount_id?: string | null | undefined;
|
|
3242
|
+
special_discount?: number | null | undefined;
|
|
3243
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
3244
|
+
special_discount_name?: string | null | undefined;
|
|
3245
|
+
special_discount_reason?: string | null | undefined;
|
|
3246
|
+
special_reference_number?: string | null | undefined;
|
|
3247
|
+
};
|
|
2366
3248
|
item_id: import("mongoose").Types.ObjectId;
|
|
2367
3249
|
quantity: number;
|
|
2368
3250
|
_net_amount: number;
|
|
@@ -2377,6 +3259,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2377
3259
|
price: number;
|
|
2378
3260
|
special_instructions: string;
|
|
2379
3261
|
subtotal: number;
|
|
3262
|
+
item_discount_details: {
|
|
3263
|
+
total_discount: number;
|
|
3264
|
+
special_discount_id?: string | null | undefined;
|
|
3265
|
+
special_discount?: number | null | undefined;
|
|
3266
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
3267
|
+
special_discount_name?: string | null | undefined;
|
|
3268
|
+
special_discount_reason?: string | null | undefined;
|
|
3269
|
+
special_reference_number?: string | null | undefined;
|
|
3270
|
+
};
|
|
2380
3271
|
item_id: import("mongoose").Types.ObjectId;
|
|
2381
3272
|
quantity: number;
|
|
2382
3273
|
_net_amount: number;
|
|
@@ -2485,6 +3376,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2485
3376
|
price: number;
|
|
2486
3377
|
special_instructions: string;
|
|
2487
3378
|
subtotal: number;
|
|
3379
|
+
item_discount_details: {
|
|
3380
|
+
total_discount: number;
|
|
3381
|
+
special_discount_id?: string | null | undefined;
|
|
3382
|
+
special_discount?: number | null | undefined;
|
|
3383
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
3384
|
+
special_discount_name?: string | null | undefined;
|
|
3385
|
+
special_discount_reason?: string | null | undefined;
|
|
3386
|
+
special_reference_number?: string | null | undefined;
|
|
3387
|
+
};
|
|
2488
3388
|
item_id: import("mongoose").Types.ObjectId;
|
|
2489
3389
|
quantity: number;
|
|
2490
3390
|
_net_amount: number;
|
|
@@ -2499,6 +3399,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2499
3399
|
price: number;
|
|
2500
3400
|
special_instructions: string;
|
|
2501
3401
|
subtotal: number;
|
|
3402
|
+
item_discount_details: {
|
|
3403
|
+
total_discount: number;
|
|
3404
|
+
special_discount_id?: string | null | undefined;
|
|
3405
|
+
special_discount?: number | null | undefined;
|
|
3406
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
3407
|
+
special_discount_name?: string | null | undefined;
|
|
3408
|
+
special_discount_reason?: string | null | undefined;
|
|
3409
|
+
special_reference_number?: string | null | undefined;
|
|
3410
|
+
};
|
|
2502
3411
|
item_id: import("mongoose").Types.ObjectId;
|
|
2503
3412
|
quantity: number;
|
|
2504
3413
|
_net_amount: number;
|
|
@@ -2513,6 +3422,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2513
3422
|
price: number;
|
|
2514
3423
|
special_instructions: string;
|
|
2515
3424
|
subtotal: number;
|
|
3425
|
+
item_discount_details: {
|
|
3426
|
+
total_discount: number;
|
|
3427
|
+
special_discount_id?: string | null | undefined;
|
|
3428
|
+
special_discount?: number | null | undefined;
|
|
3429
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
3430
|
+
special_discount_name?: string | null | undefined;
|
|
3431
|
+
special_discount_reason?: string | null | undefined;
|
|
3432
|
+
special_reference_number?: string | null | undefined;
|
|
3433
|
+
};
|
|
2516
3434
|
item_id: import("mongoose").Types.ObjectId;
|
|
2517
3435
|
quantity: number;
|
|
2518
3436
|
_net_amount: number;
|
|
@@ -2531,6 +3449,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2531
3449
|
price: number;
|
|
2532
3450
|
special_instructions: string;
|
|
2533
3451
|
subtotal: number;
|
|
3452
|
+
item_discount_details: {
|
|
3453
|
+
total_discount: number;
|
|
3454
|
+
special_discount_id?: string | null | undefined;
|
|
3455
|
+
special_discount?: number | null | undefined;
|
|
3456
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
3457
|
+
special_discount_name?: string | null | undefined;
|
|
3458
|
+
special_discount_reason?: string | null | undefined;
|
|
3459
|
+
special_reference_number?: string | null | undefined;
|
|
3460
|
+
};
|
|
2534
3461
|
item_id: import("mongoose").Types.ObjectId;
|
|
2535
3462
|
quantity: number;
|
|
2536
3463
|
_net_amount: number;
|
|
@@ -2545,6 +3472,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2545
3472
|
price: number;
|
|
2546
3473
|
special_instructions: string;
|
|
2547
3474
|
subtotal: number;
|
|
3475
|
+
item_discount_details: {
|
|
3476
|
+
total_discount: number;
|
|
3477
|
+
special_discount_id?: string | null | undefined;
|
|
3478
|
+
special_discount?: number | null | undefined;
|
|
3479
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
3480
|
+
special_discount_name?: string | null | undefined;
|
|
3481
|
+
special_discount_reason?: string | null | undefined;
|
|
3482
|
+
special_reference_number?: string | null | undefined;
|
|
3483
|
+
};
|
|
2548
3484
|
item_id: import("mongoose").Types.ObjectId;
|
|
2549
3485
|
quantity: number;
|
|
2550
3486
|
_net_amount: number;
|
|
@@ -2559,6 +3495,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2559
3495
|
price: number;
|
|
2560
3496
|
special_instructions: string;
|
|
2561
3497
|
subtotal: number;
|
|
3498
|
+
item_discount_details: {
|
|
3499
|
+
total_discount: number;
|
|
3500
|
+
special_discount_id?: string | null | undefined;
|
|
3501
|
+
special_discount?: number | null | undefined;
|
|
3502
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
3503
|
+
special_discount_name?: string | null | undefined;
|
|
3504
|
+
special_discount_reason?: string | null | undefined;
|
|
3505
|
+
special_reference_number?: string | null | undefined;
|
|
3506
|
+
};
|
|
2562
3507
|
item_id: import("mongoose").Types.ObjectId;
|
|
2563
3508
|
quantity: number;
|
|
2564
3509
|
_net_amount: number;
|
|
@@ -2577,6 +3522,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2577
3522
|
price: number;
|
|
2578
3523
|
special_instructions: string;
|
|
2579
3524
|
subtotal: number;
|
|
3525
|
+
item_discount_details: {
|
|
3526
|
+
total_discount: number;
|
|
3527
|
+
special_discount_id?: string | null | undefined;
|
|
3528
|
+
special_discount?: number | null | undefined;
|
|
3529
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
3530
|
+
special_discount_name?: string | null | undefined;
|
|
3531
|
+
special_discount_reason?: string | null | undefined;
|
|
3532
|
+
special_reference_number?: string | null | undefined;
|
|
3533
|
+
};
|
|
2580
3534
|
item_id: import("mongoose").Types.ObjectId;
|
|
2581
3535
|
quantity: number;
|
|
2582
3536
|
_net_amount: number;
|
|
@@ -2591,6 +3545,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2591
3545
|
price: number;
|
|
2592
3546
|
special_instructions: string;
|
|
2593
3547
|
subtotal: number;
|
|
3548
|
+
item_discount_details: {
|
|
3549
|
+
total_discount: number;
|
|
3550
|
+
special_discount_id?: string | null | undefined;
|
|
3551
|
+
special_discount?: number | null | undefined;
|
|
3552
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
3553
|
+
special_discount_name?: string | null | undefined;
|
|
3554
|
+
special_discount_reason?: string | null | undefined;
|
|
3555
|
+
special_reference_number?: string | null | undefined;
|
|
3556
|
+
};
|
|
2594
3557
|
item_id: import("mongoose").Types.ObjectId;
|
|
2595
3558
|
quantity: number;
|
|
2596
3559
|
_net_amount: number;
|
|
@@ -2605,6 +3568,15 @@ export declare const PurchaseOrderSchema: Schema<any, import("mongoose").Model<a
|
|
|
2605
3568
|
price: number;
|
|
2606
3569
|
special_instructions: string;
|
|
2607
3570
|
subtotal: number;
|
|
3571
|
+
item_discount_details: {
|
|
3572
|
+
total_discount: number;
|
|
3573
|
+
special_discount_id?: string | null | undefined;
|
|
3574
|
+
special_discount?: number | null | undefined;
|
|
3575
|
+
is_special_discount_percentage?: boolean | null | undefined;
|
|
3576
|
+
special_discount_name?: string | null | undefined;
|
|
3577
|
+
special_discount_reason?: string | null | undefined;
|
|
3578
|
+
special_reference_number?: string | null | undefined;
|
|
3579
|
+
};
|
|
2608
3580
|
item_id: import("mongoose").Types.ObjectId;
|
|
2609
3581
|
quantity: number;
|
|
2610
3582
|
_net_amount: number;
|