Internet_programming/Lab2/js/data.js

100 lines
747 KiB
JavaScript
Raw Permalink Normal View History

2023-11-06 00:49:28 +04:00
{
"items": [
{
"id": 1,
"name": "Ноутбук"
},
{
"id": 2,
"name": "Телефон"
},
{
"id": 3,
"name": "Игровая приставка"
}
],
"lines": [
{
"itemsId": "1",
"price": "1000.00",
"count": "31",
"sum": "31000.00",
"id": 1
},
{
"itemsId": "2",
"price": "2000.00",
"count": "10",
"sum": "20000.00",
"id": 2
},
{
"itemsId": "3",
"price": "30000.00",
"count": "3",
"sum": "90000.00",
"id": 3
},
{
"itemsId": "2",
"price": "1000.50",
"count": "23",
"sum": "23011.50",
"id": 4
},
{
"itemsId": "2",
"price": "1000.00",
"count": "2",
"sum": "2000.00",
"id": 5
},
{
"itemsId": "3",
"price": "50000.00",
"count": "20",
"sum": "1000000.00",
"id": 6
},
{
"itemsId": "2",
"price": "111110.00",
"count": "1111",
"sum": "123443210.00",
"image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAJYCAYAAACadoJwAAABhGlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV/TFkVaHOwg4pChOtlFRcSpVLEIFkpboVUHk0u/oElDkuLiKLgWHPxYrDq4OOvq4CoIgh8gri5Oii5S4v+SQosYD4778e7e4+4dILRqTDUDcUDVLCOTTIj5wqrY94oAwghiDj6JmXoqu5iD5/i6h4+vdzGe5X3uzxFWiiYDfCJxnOmGRbxBPLNp6Zz3iSOsIinE58QTBl2Q+JHrsstvnMsOCzwzYuQy88QRYrHcw3IPs4qhEk8TRxVVo3wh77LCeYuzWmuwzj35C0NFbSXLdZqjSGIJKaQhQkYDVdRgIUarRoqJDO0nPPwjjj9NLplcVTByLKAOFZLjB/+D392apalJNymUAIIvtv0xBvTtAu2mbX8f23b7BPA/A1da119vAbOfpDe7WvQIGNwGLq67mrwHXO4Aw0+6ZEiO5KcplErA+xl9UwEYugUG1tzeOvs4fQBy1NXyDXBwCIyXKXvd4939vb39e6bT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cjk07j90t8/fXXfP0Pv8Ln8zHo91nM5qTTKeKxGOZqxXg0pFy+ptVu4xEEOt0unXYXjyDgOGvq9Ro+SSIUDLI0DHrdLkdHRxwfH9PrdanVqhwcHiAFAny4uCCfz1HI5+m0WiQTCUSPyM31NbIcoNlq8uHDexzHwbJtTMskk06jhsMs5nMmkwmCIGBZNvFYjPF4TKvdxuvx4PV4iMZixGMxopEItWqVWr2OX/IzHo8wTZPZbMYvf/EL3p+
"id": 7
},
{
"itemsId": "1",
"price": "1000.50",
"count": "2",
"sum": "2001.00",
"image": "",
"id": 8
},
{
"itemsId": "3",
"price": "1001.00",
"count": "4",
"sum": "4004.00",
"image": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgdmVyc2lvbj0iMS4xIgogICB3aWR0aD0iMTAwMCIKICAgaGVpZ2h0PSIxMDAwIgogICB2aWV3Qm94PSIwIDAgNTAwIDUwMCIKICAgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIKICAgaWQ9InN2ZzQ1IgogICBzb2RpcG9kaTpkb2NuYW1lPSJJU19sb2dvX2JsYWNrLnN2ZyIKICAgaW5rc2NhcGU6dmVyc2lvbj0iMS4xLjIgKGI4ZTI1YmU4MzMsIDIwMjItMDItMDUpIgogICB4bWxuczppbmtzY2FwZT0iaHR0cDovL3d3dy5pbmtzY2FwZS5vcmcvbmFtZXNwYWNlcy9pbmtzY2FwZSIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG9kaS5zb3VyY2Vmb3JnZS5uZXQvRFREL3NvZGlwb2RpLTAuZHRkIgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxzb2RpcG9kaTpuYW1lZHZpZXcKICAgaWQ9Im5hbWVkdmlldzQ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