@open-mercato/core 0.10.1-develop.7722.1.901c72b9e9 → 0.10.1-develop.7724.1.95e4e7d38e
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/.turbo/turbo-build.log +1 -1
- package/dist/generated/entities/sales_order/index.js +2 -0
- package/dist/generated/entities/sales_order/index.js.map +2 -2
- package/dist/generated/entities/sales_order_line/index.js +2 -0
- package/dist/generated/entities/sales_order_line/index.js.map +2 -2
- package/dist/generated/entity-fields-registry.js +2 -0
- package/dist/generated/entity-fields-registry.js.map +2 -2
- package/dist/modules/sales/api/documents/factory.js +3 -0
- package/dist/modules/sales/api/documents/factory.js.map +2 -2
- package/dist/modules/sales/api/order-lines/route.js +2 -1
- package/dist/modules/sales/api/order-lines/route.js.map +2 -2
- package/dist/modules/sales/backend/sales/documents/[id]/page.js +83 -6
- package/dist/modules/sales/backend/sales/documents/[id]/page.js.map +2 -2
- package/dist/modules/sales/commands/documents.js +141 -18
- package/dist/modules/sales/commands/documents.js.map +2 -2
- package/dist/modules/sales/commands/returns.js +24 -7
- package/dist/modules/sales/commands/returns.js.map +2 -2
- package/dist/modules/sales/components/documents/AdjustmentsSection.js +17 -11
- package/dist/modules/sales/components/documents/AdjustmentsSection.js.map +2 -2
- package/dist/modules/sales/components/documents/DocumentTotals.js +21 -3
- package/dist/modules/sales/components/documents/DocumentTotals.js.map +2 -2
- package/dist/modules/sales/components/documents/ItemsSection.js +23 -12
- package/dist/modules/sales/components/documents/ItemsSection.js.map +2 -2
- package/dist/modules/sales/data/entities.js +10 -0
- package/dist/modules/sales/data/entities.js.map +2 -2
- package/dist/modules/sales/data/validators.js +9 -1
- package/dist/modules/sales/data/validators.js.map +2 -2
- package/dist/modules/sales/lib/calculations.js +85 -6
- package/dist/modules/sales/lib/calculations.js.map +2 -2
- package/dist/modules/sales/lib/externalAmounts.js +143 -0
- package/dist/modules/sales/lib/externalAmounts.js.map +7 -0
- package/dist/modules/sales/lib/lineSnapshots.js +6 -1
- package/dist/modules/sales/lib/lineSnapshots.js.map +2 -2
- package/dist/modules/sales/lib/makeSalesLineRoute.js +8 -2
- package/dist/modules/sales/lib/makeSalesLineRoute.js.map +2 -2
- package/dist/modules/sales/lib/providers/totals.js +3 -2
- package/dist/modules/sales/lib/providers/totals.js.map +2 -2
- package/dist/modules/sales/migrations/Migration20260910120000_sales_external_amounts_mode.js +19 -0
- package/dist/modules/sales/migrations/Migration20260910120000_sales_external_amounts_mode.js.map +7 -0
- package/generated/entities/sales_order/index.ts +1 -0
- package/generated/entities/sales_order_line/index.ts +1 -0
- package/generated/entity-fields-registry.ts +2 -0
- package/package.json +7 -7
- package/src/modules/sales/api/documents/factory.ts +3 -0
- package/src/modules/sales/api/order-lines/route.ts +2 -1
- package/src/modules/sales/backend/sales/documents/[id]/page.tsx +96 -0
- package/src/modules/sales/commands/documents.ts +219 -44
- package/src/modules/sales/commands/returns.ts +27 -3
- package/src/modules/sales/components/documents/AdjustmentsSection.tsx +34 -25
- package/src/modules/sales/components/documents/DocumentTotals.tsx +26 -2
- package/src/modules/sales/components/documents/ItemsSection.tsx +27 -12
- package/src/modules/sales/data/entities.ts +14 -0
- package/src/modules/sales/data/validators.ts +10 -0
- package/src/modules/sales/i18n/de.json +12 -0
- package/src/modules/sales/i18n/en.json +12 -0
- package/src/modules/sales/i18n/es.json +12 -0
- package/src/modules/sales/i18n/ko.json +12 -0
- package/src/modules/sales/i18n/pl.json +12 -0
- package/src/modules/sales/lib/calculations.ts +99 -4
- package/src/modules/sales/lib/externalAmounts.ts +174 -0
- package/src/modules/sales/lib/lineSnapshots.ts +6 -1
- package/src/modules/sales/lib/makeSalesLineRoute.ts +8 -0
- package/src/modules/sales/lib/providers/totals.ts +5 -2
- package/src/modules/sales/lib/types.ts +19 -2
- package/src/modules/sales/migrations/.snapshot-open-mercato.json +33 -1
- package/src/modules/sales/migrations/Migration20260910120000_sales_external_amounts_mode.ts +25 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -43,6 +43,7 @@ const totals_snapshot = "totals_snapshot";
|
|
|
43
43
|
const paid_total_amount = "paid_total_amount";
|
|
44
44
|
const refunded_total_amount = "refunded_total_amount";
|
|
45
45
|
const outstanding_amount = "outstanding_amount";
|
|
46
|
+
const totals_mode = "totals_mode";
|
|
46
47
|
const line_item_count = "line_item_count";
|
|
47
48
|
const metadata = "metadata";
|
|
48
49
|
const custom_field_set_id = "custom_field_set_id";
|
|
@@ -139,6 +140,7 @@ export {
|
|
|
139
140
|
tax_strategy_key,
|
|
140
141
|
tax_total_amount,
|
|
141
142
|
tenant_id,
|
|
143
|
+
totals_mode,
|
|
142
144
|
totals_snapshot,
|
|
143
145
|
updated_at
|
|
144
146
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../generated/entities/sales_order/index.ts"],
|
|
4
|
-
"sourcesContent": ["export const id = \"id\";\nexport const organization_id = \"organization_id\";\nexport const tenant_id = \"tenant_id\";\nexport const order_number = \"order_number\";\nexport const external_reference = \"external_reference\";\nexport const customer_reference = \"customer_reference\";\nexport const customer_entity_id = \"customer_entity_id\";\nexport const customer_contact_id = \"customer_contact_id\";\nexport const customer_snapshot = \"customer_snapshot\";\nexport const billing_address_id = \"billing_address_id\";\nexport const shipping_address_id = \"shipping_address_id\";\nexport const billing_address_snapshot = \"billing_address_snapshot\";\nexport const shipping_address_snapshot = \"shipping_address_snapshot\";\nexport const currency_code = \"currency_code\";\nexport const exchange_rate = \"exchange_rate\";\nexport const status_entry_id = \"status_entry_id\";\nexport const status = \"status\";\nexport const fulfillment_status_entry_id = \"fulfillment_status_entry_id\";\nexport const fulfillment_status = \"fulfillment_status\";\nexport const payment_status_entry_id = \"payment_status_entry_id\";\nexport const payment_status = \"payment_status\";\nexport const tax_strategy_key = \"tax_strategy_key\";\nexport const discount_strategy_key = \"discount_strategy_key\";\nexport const tax_info = \"tax_info\";\nexport const shipping_method_snapshot = \"shipping_method_snapshot\";\nexport const delivery_window_snapshot = \"delivery_window_snapshot\";\nexport const payment_method_snapshot = \"payment_method_snapshot\";\nexport const placed_at = \"placed_at\";\nexport const expected_delivery_at = \"expected_delivery_at\";\nexport const due_at = \"due_at\";\nexport const comments = \"comments\";\nexport const internal_notes = \"internal_notes\";\nexport const subtotal_net_amount = \"subtotal_net_amount\";\nexport const subtotal_gross_amount = \"subtotal_gross_amount\";\nexport const discount_total_amount = \"discount_total_amount\";\nexport const tax_total_amount = \"tax_total_amount\";\nexport const shipping_net_amount = \"shipping_net_amount\";\nexport const shipping_gross_amount = \"shipping_gross_amount\";\nexport const surcharge_total_amount = \"surcharge_total_amount\";\nexport const grand_total_net_amount = \"grand_total_net_amount\";\nexport const grand_total_gross_amount = \"grand_total_gross_amount\";\nexport const totals_snapshot = \"totals_snapshot\";\nexport const paid_total_amount = \"paid_total_amount\";\nexport const refunded_total_amount = \"refunded_total_amount\";\nexport const outstanding_amount = \"outstanding_amount\";\nexport const line_item_count = \"line_item_count\";\nexport const metadata = \"metadata\";\nexport const custom_field_set_id = \"custom_field_set_id\";\nexport const channel_id = \"channel_id\";\nexport const channel = \"channel\";\nexport const shipping_method_id = \"shipping_method_id\";\nexport const shipping_method_code = \"shipping_method_code\";\nexport const shipping_method = \"shipping_method\";\nexport const delivery_window_id = \"delivery_window_id\";\nexport const delivery_window_code = \"delivery_window_code\";\nexport const delivery_window = \"delivery_window\";\nexport const payment_method_id = \"payment_method_id\";\nexport const payment_method_code = \"payment_method_code\";\nexport const payment_method = \"payment_method\";\nexport const created_at = \"created_at\";\nexport const updated_at = \"updated_at\";\nexport const deleted_at = \"deleted_at\";\nexport const lines = \"lines\";\nexport const adjustments = \"adjustments\";\nexport const shipments = \"shipments\";\nexport const invoices = \"invoices\";\nexport const credit_memos = \"credit_memos\";\nexport const payments = \"payments\";\nexport const notes = \"notes\";\nexport const addresses = \"addresses\";\nexport const tag_assignments = \"tag_assignments\";\n"],
|
|
5
|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aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,QAAQ;AACd,MAAM,cAAc;AACpB,MAAM,YAAY;AAClB,MAAM,WAAW;AACjB,MAAM,eAAe;AACrB,MAAM,WAAW;AACjB,MAAM,QAAQ;AACd,MAAM,YAAY;AAClB,MAAM,kBAAkB;",
|
|
4
|
+
"sourcesContent": ["export const id = \"id\";\nexport const organization_id = \"organization_id\";\nexport const tenant_id = \"tenant_id\";\nexport const order_number = \"order_number\";\nexport const external_reference = \"external_reference\";\nexport const customer_reference = \"customer_reference\";\nexport const customer_entity_id = \"customer_entity_id\";\nexport const customer_contact_id = \"customer_contact_id\";\nexport const customer_snapshot = \"customer_snapshot\";\nexport const billing_address_id = \"billing_address_id\";\nexport const shipping_address_id = \"shipping_address_id\";\nexport const billing_address_snapshot = \"billing_address_snapshot\";\nexport const shipping_address_snapshot = \"shipping_address_snapshot\";\nexport const currency_code = \"currency_code\";\nexport const exchange_rate = \"exchange_rate\";\nexport const status_entry_id = \"status_entry_id\";\nexport const status = \"status\";\nexport const fulfillment_status_entry_id = \"fulfillment_status_entry_id\";\nexport const fulfillment_status = \"fulfillment_status\";\nexport const payment_status_entry_id = \"payment_status_entry_id\";\nexport const payment_status = \"payment_status\";\nexport const tax_strategy_key = \"tax_strategy_key\";\nexport const discount_strategy_key = \"discount_strategy_key\";\nexport const tax_info = \"tax_info\";\nexport const shipping_method_snapshot = \"shipping_method_snapshot\";\nexport const delivery_window_snapshot = \"delivery_window_snapshot\";\nexport const payment_method_snapshot = \"payment_method_snapshot\";\nexport const placed_at = \"placed_at\";\nexport const expected_delivery_at = \"expected_delivery_at\";\nexport const due_at = \"due_at\";\nexport const comments = \"comments\";\nexport const internal_notes = \"internal_notes\";\nexport const subtotal_net_amount = \"subtotal_net_amount\";\nexport const subtotal_gross_amount = \"subtotal_gross_amount\";\nexport const discount_total_amount = \"discount_total_amount\";\nexport const tax_total_amount = \"tax_total_amount\";\nexport const shipping_net_amount = \"shipping_net_amount\";\nexport const shipping_gross_amount = \"shipping_gross_amount\";\nexport const surcharge_total_amount = \"surcharge_total_amount\";\nexport const grand_total_net_amount = \"grand_total_net_amount\";\nexport const grand_total_gross_amount = \"grand_total_gross_amount\";\nexport const totals_snapshot = \"totals_snapshot\";\nexport const paid_total_amount = \"paid_total_amount\";\nexport const refunded_total_amount = \"refunded_total_amount\";\nexport const outstanding_amount = \"outstanding_amount\";\nexport const totals_mode = \"totals_mode\";\nexport const line_item_count = \"line_item_count\";\nexport const metadata = \"metadata\";\nexport const custom_field_set_id = \"custom_field_set_id\";\nexport const channel_id = \"channel_id\";\nexport const channel = \"channel\";\nexport const shipping_method_id = \"shipping_method_id\";\nexport const shipping_method_code = \"shipping_method_code\";\nexport const shipping_method = \"shipping_method\";\nexport const delivery_window_id = \"delivery_window_id\";\nexport const delivery_window_code = \"delivery_window_code\";\nexport const delivery_window = \"delivery_window\";\nexport const payment_method_id = \"payment_method_id\";\nexport const payment_method_code = \"payment_method_code\";\nexport const payment_method = \"payment_method\";\nexport const created_at = \"created_at\";\nexport const updated_at = \"updated_at\";\nexport const deleted_at = \"deleted_at\";\nexport const lines = \"lines\";\nexport const adjustments = \"adjustments\";\nexport const shipments = \"shipments\";\nexport const invoices = \"invoices\";\nexport const credit_memos = \"credit_memos\";\nexport const payments = \"payments\";\nexport const notes = \"notes\";\nexport const addresses = \"addresses\";\nexport const tag_assignments = \"tag_assignments\";\n"],
|
|
5
|
+
"mappings": "AAAO,MAAM,KAAK;AACX,MAAM,kBAAkB;AACxB,MAAM,YAAY;AAClB,MAAM,eAAe;AACrB,MAAM,qBAAqB;AAC3B,MAAM,qBAAqB;AAC3B,MAAM,qBAAqB;AAC3B,MAAM,sBAAsB;AAC5B,MAAM,oBAAoB;AAC1B,MAAM,qBAAqB;AAC3B,MAAM,sBAAsB;AAC5B,MAAM,2BAA2B;AACjC,MAAM,4BAA4B;AAClC,MAAM,gBAAgB;AACtB,MAAM,gBAAgB;AACtB,MAAM,k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ount";
|
|
31
31
|
const total_net_amount = "total_net_amount";
|
|
32
32
|
const total_gross_amount = "total_gross_amount";
|
|
33
|
+
const amounts_mode = "amounts_mode";
|
|
33
34
|
const configuration = "configuration";
|
|
34
35
|
const promotion_code = "promotion_code";
|
|
35
36
|
const promotion_snapshot = "promotion_snapshot";
|
|
@@ -44,6 +45,7 @@ const invoice_lines = "invoice_lines";
|
|
|
44
45
|
const credit_memo_lines = "credit_memo_lines";
|
|
45
46
|
export {
|
|
46
47
|
adjustments,
|
|
48
|
+
amounts_mode,
|
|
47
49
|
catalog_snapshot,
|
|
48
50
|
comment,
|
|
49
51
|
configuration,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../generated/entities/sales_order_line/index.ts"],
|
|
4
|
-
"sourcesContent": ["export const id = \"id\";\nexport const order = \"order\";\nexport const organization_id = \"organization_id\";\nexport const tenant_id = \"tenant_id\";\nexport const line_number = \"line_number\";\nexport const kind = \"kind\";\nexport const status_entry_id = \"status_entry_id\";\nexport const status = \"status\";\nexport const product_id = \"product_id\";\nexport const product_variant_id = \"product_variant_id\";\nexport const catalog_snapshot = \"catalog_snapshot\";\nexport const name = \"name\";\nexport const description = \"description\";\nexport const comment = \"comment\";\nexport const quantity = \"quantity\";\nexport const quantity_unit = \"quantity_unit\";\nexport const normalized_quantity = \"normalized_quantity\";\nexport const normalized_unit = \"normalized_unit\";\nexport const uom_snapshot = \"uom_snapshot\";\nexport const reserved_quantity = \"reserved_quantity\";\nexport const fulfilled_quantity = \"fulfilled_quantity\";\nexport const invoiced_quantity = \"invoiced_quantity\";\nexport const returned_quantity = \"returned_quantity\";\nexport const currency_code = \"currency_code\";\nexport const unit_price_net = \"unit_price_net\";\nexport const unit_price_gross = \"unit_price_gross\";\nexport const discount_amount = \"discount_amount\";\nexport const discount_percent = \"discount_percent\";\nexport const tax_rate = \"tax_rate\";\nexport const tax_amount = \"tax_amount\";\nexport const total_net_amount = \"total_net_amount\";\nexport const total_gross_amount = \"total_gross_amount\";\nexport const configuration = \"configuration\";\nexport const promotion_code = \"promotion_code\";\nexport const promotion_snapshot = \"promotion_snapshot\";\nexport const metadata = \"metadata\";\nexport const custom_field_set_id = \"custom_field_set_id\";\nexport const created_at = \"created_at\";\nexport const updated_at = \"updated_at\";\nexport const deleted_at = \"deleted_at\";\nexport const adjustments = \"adjustments\";\nexport const shipment_items = \"shipment_items\";\nexport const invoice_lines = \"invoice_lines\";\nexport const credit_memo_lines = \"credit_memo_lines\";\n"],
|
|
5
|
-
"mappings": "AAAO,MAAM,KAAK;AACX,MAAM,QAAQ;AACd,MAAM,kBAAkB;AACxB,MAAM,YAAY;AAClB,MAAM,cAAc;AACpB,MAAM,OAAO;AACb,MAAM,kBAAkB;AACxB,MAAM,SAAS;AACf,MAAM,aAAa;AACnB,MAAM,qBAAqB;AAC3B,MAAM,mBAAmB;AACzB,MAAM,OAAO;AACb,MAAM,cAAc;AACpB,MAAM,UAAU;AAChB,MAAM,WAAW;AACjB,MAAM,gBAAgB;AACtB,MAAM,sBAAsB;AAC5B,MAAM,kBAAkB;AACxB,MAAM,eAAe;AACrB,MAAM,oBAAoB;AAC1B,MAAM,qBAAqB;AAC3B,MAAM,oBAAoB;AAC1B,MAAM,oBAAoB;AAC1B,MAAM,gBAAgB;AACtB,MAAM,iBAAiB;AACvB,MAAM,mBAAmB;AACzB,MAAM,kBAAkB;AACxB,MAAM,mBAAmB;AACzB,MAAM,WAAW;AACjB,MAAM,aAAa;AACnB,MAAM,mBAAmB;AACzB,MAAM,qBAAqB;AAC3B,MAAM,gBAAgB;AACtB,MAAM,iBAAiB;AACvB,MAAM,qBAAqB;AAC3B,MAAM,WAAW;AACjB,MAAM,sBAAsB;AAC5B,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,cAAc;AACpB,MAAM,iBAAiB;AACvB,MAAM,gBAAgB;AACtB,MAAM,oBAAoB;",
|
|
4
|
+
"sourcesContent": ["export const id = \"id\";\nexport const order = \"order\";\nexport const organization_id = \"organization_id\";\nexport const tenant_id = \"tenant_id\";\nexport const line_number = \"line_number\";\nexport const kind = \"kind\";\nexport const status_entry_id = \"status_entry_id\";\nexport const status = \"status\";\nexport const product_id = \"product_id\";\nexport const product_variant_id = \"product_variant_id\";\nexport const catalog_snapshot = \"catalog_snapshot\";\nexport const name = \"name\";\nexport const description = \"description\";\nexport const comment = \"comment\";\nexport const quantity = \"quantity\";\nexport const quantity_unit = \"quantity_unit\";\nexport const normalized_quantity = \"normalized_quantity\";\nexport const normalized_unit = \"normalized_unit\";\nexport const uom_snapshot = \"uom_snapshot\";\nexport const reserved_quantity = \"reserved_quantity\";\nexport const fulfilled_quantity = \"fulfilled_quantity\";\nexport const invoiced_quantity = \"invoiced_quantity\";\nexport const returned_quantity = \"returned_quantity\";\nexport const currency_code = \"currency_code\";\nexport const unit_price_net = \"unit_price_net\";\nexport const unit_price_gross = \"unit_price_gross\";\nexport const discount_amount = \"discount_amount\";\nexport const discount_percent = \"discount_percent\";\nexport const tax_rate = \"tax_rate\";\nexport const tax_amount = \"tax_amount\";\nexport const total_net_amount = \"total_net_amount\";\nexport const total_gross_amount = \"total_gross_amount\";\nexport const amounts_mode = \"amounts_mode\";\nexport const configuration = \"configuration\";\nexport const promotion_code = \"promotion_code\";\nexport const promotion_snapshot = \"promotion_snapshot\";\nexport const metadata = \"metadata\";\nexport const custom_field_set_id = \"custom_field_set_id\";\nexport const created_at = \"created_at\";\nexport const updated_at = \"updated_at\";\nexport const deleted_at = \"deleted_at\";\nexport const adjustments = \"adjustments\";\nexport const shipment_items = \"shipment_items\";\nexport const invoice_lines = \"invoice_lines\";\nexport const credit_memo_lines = \"credit_memo_lines\";\n"],
|
|
5
|
+
"mappings": "AAAO,MAAM,KAAK;AACX,MAAM,QAAQ;AACd,MAAM,kBAAkB;AACxB,MAAM,YAAY;AAClB,MAAM,cAAc;AACpB,MAAM,OAAO;AACb,MAAM,kBAAkB;AACxB,MAAM,SAAS;AACf,MAAM,aAAa;AACnB,MAAM,qBAAqB;AAC3B,MAAM,mBAAmB;AACzB,MAAM,OAAO;AACb,MAAM,cAAc;AACpB,MAAM,UAAU;AAChB,MAAM,WAAW;AACjB,MAAM,gBAAgB;AACtB,MAAM,sBAAsB;AAC5B,MAAM,kBAAkB;AACxB,MAAM,eAAe;AACrB,MAAM,oBAAoB;AAC1B,MAAM,qBAAqB;AAC3B,MAAM,oBAAoB;AAC1B,MAAM,oBAAoB;AAC1B,MAAM,gBAAgB;AACtB,MAAM,iBAAiB;AACvB,MAAM,mBAAmB;AACzB,MAAM,kBAAkB;AACxB,MAAM,mBAAmB;AACzB,MAAM,WAAW;AACjB,MAAM,aAAa;AACnB,MAAM,mBAAmB;AACzB,MAAM,qBAAqB;AAC3B,MAAM,eAAe;AACrB,MAAM,gBAAgB;AACtB,MAAM,iBAAiB;AACvB,MAAM,qBAAqB;AAC3B,MAAM,WAAW;AACjB,MAAM,sBAAsB;AAC5B,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,cAAc;AACpB,MAAM,iBAAiB;AACvB,MAAM,gBAAgB;AACtB,MAAM,oBAAoB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -3052,6 +3052,7 @@ const entityFieldsRegistry = {
|
|
|
3052
3052
|
"paid_total_amount": "paid_total_amount",
|
|
3053
3053
|
"refunded_total_amount": "refunded_total_amount",
|
|
3054
3054
|
"outstanding_amount": "outstanding_amount",
|
|
3055
|
+
"totals_mode": "totals_mode",
|
|
3055
3056
|
"line_item_count": "line_item_count",
|
|
3056
3057
|
"metadata": "metadata",
|
|
3057
3058
|
"custom_field_set_id": "custom_field_set_id",
|
|
@@ -3134,6 +3135,7 @@ const entityFieldsRegistry = {
|
|
|
3134
3135
|
"tax_amount": "tax_amount",
|
|
3135
3136
|
"total_net_amount": "total_net_amount",
|
|
3136
3137
|
"total_gross_amount": "total_gross_amount",
|
|
3138
|
+
"amounts_mode": "amounts_mode",
|
|
3137
3139
|
"configuration": "configuration",
|
|
3138
3140
|
"promotion_code": "promotion_code",
|
|
3139
3141
|
"promotion_snapshot": "promotion_snapshot",
|