1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-15 00:15:57 +08:00
Sofia Calderon 7a22c9e85b
Refactoring apiConverts (#817)
* configured babel and jest to work with webpack

* added util function to camelize object entries

* added tests for apiconvert dashboard

* added enaming object key function

* finished refactoring of convertapi dashboard

* renamed camelize to transformObject

* renamed uuids to randomValues

* use random strings instead of hard coded values in test

* refactored dictionary.process and added tests

* refactored dashboard tests - test with json objects

* added first tests for apiConvert core

* made camelizeObjectkeys immutable

* added talismanrc to gitignore

* added all tests for apiConverts core

* added more dictionary tests

* finished refactoring apiConverts dictionary

* restructured objects in folders

* refactored apiConverts persistence

* refactored apiConvert pos

* refactored apiConvert privateAccess

* refactored apiConverts process

* refactored apiConverts report

* refactored apiConverts user

* refactored apiConverts values

* refactored apiConverts window

* linted all test files

* removed tests for privateAccess

* removed typos from prev implementation
2021-05-12 12:34:53 -04:00

53 lines
1.8 KiB
JSON

{
"uuid": "orderLine uuid",
"order_uuid": "orderLine order_uuid",
"line": "orderLine line",
"product": {
"uuid": "product uuid",
"id": "product id",
"value": "product value",
"name": "product name",
"help": "product help",
"document_note": "product document_note",
"uom_name": "product uom_name",
"product_type": "product product_type",
"is_stocked": true,
"is_drop_ship": false,
"is_purchased": false,
"is_sold": true,
"image_url": "product image_url",
"product_category_name": "product product_category_name",
"product_group_name": "product product_group_name",
"product_class_name": "product product_class_name",
"product_classification_name": "product product_classification_name",
"weight": "product weight",
"volume": "product volume",
"upc": "product upc",
"sku": "product sku",
"shelf_width": "product shelf_width",
"shelf_height": "product shelf_height",
"shelf_depth": "product shelf_depth",
"units_per_pack": "product units_per_pack",
"units_per_pallet": "product units_per_pallet",
"guarantee_days": "product guarantee_days",
"description_url": "product description_url",
"version_no": "product version_no",
"tax_category": "product tax_category",
"description": "product description"
},
"charge": "orderLine charge",
"description": "orderLine description",
"line_description": "orderLine line_description",
"quantity": "orderLine quantity",
"price": "orderLine price",
"discount_rate": "orderLine discount_rate",
"line_net_amount": "orderLine line_net_amount",
"tax_rate": {
"name": "tax rate name",
"description": "tax rate description",
"tax_indicator": "tax rate tax_indicator",
"rate": "tax rate rate"
},
"warehouse": "orderLine warehouse"
}