first commit
This commit is contained in:
105
bundles/KupShop/PreordersBundle/Tests/PreordersData.json
Normal file
105
bundles/KupShop/PreordersBundle/Tests/PreordersData.json
Normal file
@@ -0,0 +1,105 @@
|
||||
{
|
||||
|
||||
"price_levels": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "Předobjednávky - 8%",
|
||||
"descr": "",
|
||||
"discount": 8,
|
||||
"discount_discount": null,
|
||||
"unit": "perc",
|
||||
"combine": "N"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "Předobjednávky - 12%",
|
||||
"descr": "",
|
||||
"discount": 12,
|
||||
"discount_discount": null,
|
||||
"unit": "perc",
|
||||
"combine": "N"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"name": "Předobjednávky - 16%",
|
||||
"descr": "",
|
||||
"discount": 16,
|
||||
"discount_discount": null,
|
||||
"unit": "perc",
|
||||
"combine": "N"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"name": "Předobjednávky - 0%",
|
||||
"descr": "základní cenová hladina pro předobjednávky",
|
||||
"discount": 0,
|
||||
"discount_discount": null,
|
||||
"unit": "perc",
|
||||
"combine": "N"
|
||||
}
|
||||
],
|
||||
"pricelists": [
|
||||
{
|
||||
"id": 1,
|
||||
"currency": "CZK",
|
||||
"name": "Velkoobchodní ceník CZK bez DPH",
|
||||
"price_history": 0
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"currency": "EUR",
|
||||
"name": "Základní ceník EUR s DPH",
|
||||
"price_history": 0
|
||||
}
|
||||
],
|
||||
"preorders":[
|
||||
{
|
||||
"id": 1,
|
||||
"id_pricelist": 1,
|
||||
"id_price_level": 4,
|
||||
"name": "Test",
|
||||
"settings": "{\"users_groups\":[1],\"products_filter\":{\"title\":\"\",\"products\":[\"4\",\"10\"],\"parametersValuesOperator\":\"AND\",\"variationsValuesOperator\":\"AND\",\"discount\":{\"min\":\"\",\"max\":\"\"},\"price\":{\"min\":\"\",\"max\":\"\"},\"in_store_range\":{\"min\":\"\",\"max\":\"\"},\"stock_in_date_range\":{\"from\":\"\",\"to\":\"\"},\"date_added_range\":{\"from\":\"\",\"to\":\"\"}},\"dynamic_prices\":[{\"price_from\":\"1000\",\"price_to\":\"10000\",\"id_price_level\":\"1\",\"id_pricelist\":\"\"},{\"price_from\":\"10001\",\"price_to\":\"20000\",\"id_price_level\":\"2\",\"id_pricelist\":\"\"},{\"price_from\":\"20001\",\"price_to\":\"\",\"id_price_level\":\"3\",\"id_pricelist\":\"2\"}]}",
|
||||
"min_price": null
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"id_pricelist": null,
|
||||
"id_price_level": 4,
|
||||
"name": "Test 2",
|
||||
"settings": "{\"users_groups\":[2],\"products_filter\":{\"title\":\"\",\"products\":[\"4\",\"10\"],\"parametersValuesOperator\":\"AND\",\"variationsValuesOperator\":\"AND\",\"discount\":{\"min\":\"\",\"max\":\"\"},\"price\":{\"min\":\"\",\"max\":\"\"},\"in_store_range\":{\"min\":\"\",\"max\":\"\"},\"stock_in_date_range\":{\"from\":\"\",\"to\":\"\"},\"date_added_range\":{\"from\":\"\",\"to\":\"\"}}}",
|
||||
"min_price": null
|
||||
}
|
||||
],
|
||||
"users_groups":[
|
||||
{
|
||||
"id": 1,
|
||||
"id_price_level": null,
|
||||
"name": "Předobjednávky - letní",
|
||||
"descr": "<p>Skupina pro povolení letních předobjednávek.</p>"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"id_price_level": null,
|
||||
"name": "Předobjednávky - zimní",
|
||||
"descr": "<p>Skupina pro povolení zimních předobjednávek.</p>"
|
||||
}
|
||||
],
|
||||
"users_groups_relations": [
|
||||
{
|
||||
"id_group": 1,
|
||||
"id_user": 1
|
||||
},
|
||||
{
|
||||
"id_group": 2,
|
||||
"id_user": 2
|
||||
},
|
||||
{
|
||||
"id_group": 1,
|
||||
"id_user": 3
|
||||
},
|
||||
{
|
||||
"id_group": 2,
|
||||
"id_user": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user