| { |
| "orders": [ |
| { |
| "id": "d730024330bb4642b42c45fb39a27181", |
| "client_id": "58a1ff0568744dd99b54355f5c7dd4f9", |
| "client_name": "тестовый клиент", |
| "model_name": "48284", |
| "fabric_name": "Босс382", |
| "fabric_quantity": "1000", |
| "size_range": "M, S, L", |
| "items_quantity": "100", |
| "prepayment": "2000", |
| "status": "pending", |
| "timestamp_created": "2025-04-21T07:38:31.939804+06:00", |
| "timestamp": "2025-04-21T07:38:31.939804+06:00", |
| "is_procured": true, |
| "fittings": [ |
| { |
| "fitting_name": "Тестовая фурнитура", |
| "quantity": "1" |
| } |
| ], |
| "procurement_timestamp": "2025-04-21T08:47:37.475200+06:00" |
| } |
| ], |
| "materials": [ |
| { |
| "id": "03c6db217b3a4e1e9835cb60ee8ab3a4", |
| "name": "тестовая ткань", |
| "quantity": "0.00", |
| "unit": "м", |
| "price_per_unit": "100", |
| "items_per_unit": 50, |
| "type": "fabric", |
| "category": "Без категории", |
| "timestamp_added": "2025-04-02T19:58:57.702732+06:00", |
| "timestamp_last_updated": "2025-04-03T16:27:44.645272+06:00" |
| }, |
| { |
| "id": "839084e02dd74c3983dbceff5a1a0a12", |
| "name": "тестовая ткань 1", |
| "quantity": "0.00", |
| "unit": "м", |
| "price_per_unit": "100", |
| "items_per_unit": 50, |
| "type": "fabric", |
| "category": "Без категории", |
| "timestamp_added": "2025-04-03T18:34:29.556151+06:00", |
| "timestamp_last_updated": "2025-04-03T18:36:25.369269+06:00" |
| }, |
| { |
| "id": "b0ce964e517c4b628b416b30c7ad8690", |
| "name": "тестовый закуп фурн", |
| "quantity": "100", |
| "unit": "кг", |
| "price_per_unit": "100", |
| "items_per_unit": 50, |
| "type": "fittings", |
| "category": "Без категории", |
| "timestamp_added": "2025-04-03T18:34:49.333478+06:00", |
| "timestamp_last_updated": "2025-04-03T18:34:49.333478+06:00" |
| }, |
| { |
| "id": "1323490fd04541228defa3334e66ca55", |
| "name": "тестовый закуп фурнqqqq", |
| "quantity": "0.00", |
| "unit": "м", |
| "price_per_unit": "100", |
| "items_per_unit": 10, |
| "type": "fabric", |
| "category": "Без категории", |
| "timestamp_added": "2025-04-03T21:09:23.336081+06:00", |
| "timestamp_last_updated": "2025-04-04T19:40:54.537387+06:00" |
| }, |
| { |
| "id": "e0004ccb179d41348a728cd6d541a4b8", |
| "name": "Аоалал", |
| "quantity": "0.00", |
| "unit": "м", |
| "price_per_unit": "100", |
| "items_per_unit": 10, |
| "type": "fabric", |
| "category": "Без категории", |
| "timestamp_added": "2025-04-03T21:35:11.299836+06:00", |
| "timestamp_last_updated": "2025-04-20T21:31:34.483964+06:00" |
| }, |
| { |
| "id": "3b3919b3168c42e7bf44438454ea4fc7", |
| "name": "Аоалал3838", |
| "quantity": "0.00", |
| "unit": "м", |
| "price_per_unit": "150", |
| "items_per_unit": 100, |
| "type": "fabric", |
| "category": "Без категории", |
| "timestamp_added": "2025-04-04T09:00:45.774764+06:00", |
| "timestamp_last_updated": "2025-04-04T11:04:57.095805+06:00" |
| }, |
| { |
| "id": "de18f7d4d45e46398815dde38ca2e47e", |
| "name": "тестовый закуп 2", |
| "quantity": "0.00", |
| "unit": "м", |
| "price_per_unit": "100", |
| "items_per_unit": 10, |
| "type": "fabric", |
| "category": "Без категории", |
| "timestamp_added": "2025-04-04T10:42:28.786355+06:00", |
| "timestamp_last_updated": "2025-04-19T21:21:31.670224+06:00", |
| "material_per_unit": "10" |
| }, |
| { |
| "id": "5377cdefb51b4b1eb0967525c042dd22", |
| "name": "ткань 11", |
| "quantity": "0.00", |
| "unit": "м", |
| "price_per_unit": "100", |
| "items_per_unit": 50, |
| "type": "fabric", |
| "category": "Без категории", |
| "timestamp_added": "2025-04-04T10:54:22.237617+06:00", |
| "timestamp_last_updated": "2025-04-04T11:04:41.636501+06:00" |
| }, |
| { |
| "id": "93ce2687625b488e8fcd8b39ac8abe07", |
| "name": "Босс382", |
| "quantity": "0.00", |
| "unit": "м", |
| "price_per_unit": "100", |
| "material_per_unit": "10", |
| "type": "fabric", |
| "category": "Без категории", |
| "timestamp_added": "2025-04-04T16:56:45.686722+06:00", |
| "timestamp_last_updated": "2025-04-21T07:40:41.069724+06:00" |
| }, |
| { |
| "id": "1255b45244074270a6121c8996930cb1", |
| "name": "Сатин", |
| "quantity": "0.00", |
| "unit": "м", |
| "price_per_unit": "100", |
| "material_per_unit": 2, |
| "type": "fabric", |
| "category": "Без категории", |
| "timestamp_added": "2025-04-08T10:57:28.330135+06:00", |
| "timestamp_last_updated": "2025-04-08T10:58:04.519814+06:00" |
| }, |
| { |
| "id": "6124a396d5de4fde824e842c31bcf591", |
| "name": "ytn", |
| "quantity": "1", |
| "unit": "пач", |
| "price_per_unit": "100", |
| "material_per_unit": 10, |
| "type": "fittings", |
| "category": "Без категории", |
| "timestamp_added": "2025-04-19T21:20:50.035672+06:00", |
| "timestamp_last_updated": "2025-04-19T21:20:50.035672+06:00" |
| }, |
| { |
| "id": "169daa21e6a44e95be4adc15249125ce", |
| "name": "ytn2", |
| "quantity": "0", |
| "unit": "пач", |
| "price_per_unit": "100", |
| "material_per_unit": 1, |
| "type": "fittings", |
| "category": "Без категории", |
| "timestamp_added": "2025-04-19T21:21:18.058914+06:00", |
| "timestamp_last_updated": "2025-04-21T08:59:00.091591+06:00" |
| }, |
| { |
| "id": "73f40e22f46e4661995b11193e9082f7", |
| "name": "Тестов фурни", |
| "quantity": "0", |
| "unit": "м", |
| "price_per_unit": "10", |
| "material_per_unit": 10, |
| "type": "fittings", |
| "category": "Без категории", |
| "timestamp_added": "2025-04-20T22:27:10.992558+06:00", |
| "timestamp_last_updated": "2025-04-21T08:40:45.446433+06:00" |
| }, |
| { |
| "id": "4effe06c7b5a437aa4e5bc5d7cee5b4c", |
| "name": "Босс38267", |
| "quantity": "0.00", |
| "unit": "м", |
| "price_per_unit": "10", |
| "material_per_unit": "10", |
| "items_per_unit": 0, |
| "type": "fabric", |
| "category": "Без категории", |
| "timestamp_added": "2025-04-21T08:19:24.625548+06:00", |
| "timestamp_last_updated": "2025-04-21T08:57:22.480370+06:00" |
| }, |
| { |
| "id": "e689e2ed78cb457bbd50983bdef1bda6", |
| "name": "Фурните", |
| "quantity": "1", |
| "unit": "пач", |
| "price_per_unit": "10", |
| "material_per_unit": "1", |
| "items_per_unit": 0, |
| "type": "fabric", |
| "category": "Без категории", |
| "timestamp_added": "2025-04-21T08:19:43.773680+06:00", |
| "timestamp_last_updated": "2025-04-21T08:19:43.773680+06:00" |
| } |
| ], |
| "categories": [], |
| "cutting_tasks": [ |
| { |
| "id": "65c397984d714182896733de6d998c99", |
| "fabric_id": "03c6db217b3a4e1e9835cb60ee8ab3a4", |
| "fabric_name": "тестовая ткань", |
| "fabric_unit": "м", |
| "cut_items_quantity": 50, |
| "fabric_used": "100", |
| "status": "completed", |
| "timestamp_created": "2025-04-02T19:59:28.791018+06:00", |
| "timestamp_completed": "2025-04-02T19:59:49.617254+06:00", |
| "material_cost": "10000", |
| "cutting_salary_cost": "0.00" |
| }, |
| { |
| "id": "a250301a331345619e82b96d1f29009b", |
| "fabric_id": "03c6db217b3a4e1e9835cb60ee8ab3a4", |
| "fabric_name": "тестовая ткань", |
| "fabric_unit": "м", |
| "cut_items_quantity": 50, |
| "fabric_used": "100", |
| "status": "completed", |
| "timestamp_created": "2025-04-03T16:27:44.645272+06:00", |
| "timestamp_completed": "2025-04-03T16:28:06.458641+06:00", |
| "material_cost": "10000", |
| "cutting_salary_cost": "1000" |
| }, |
| { |
| "id": "b3114c79b89c41cebcb53b734781c62d", |
| "fabric_id": "839084e02dd74c3983dbceff5a1a0a12", |
| "fabric_name": "тестовая ткань 1", |
| "fabric_unit": "м", |
| "cut_items_quantity": 50, |
| "fabric_used": "100", |
| "status": "completed", |
| "timestamp_created": "2025-04-03T18:36:25.369269+06:00", |
| "timestamp_completed": "2025-04-03T18:37:11.061264+06:00", |
| "material_cost": "10000", |
| "cutting_salary_cost": "1000" |
| }, |
| { |
| "id": "7e1ad56a561842759c0382a180c69c01", |
| "fabric_id": "1323490fd04541228defa3334e66ca55", |
| "fabric_name": "тестовый закуп фурнqqqq", |
| "fabric_unit": "м", |
| "cut_items_quantity": 50, |
| "fabric_used": "100", |
| "status": "completed", |
| "timestamp_created": "2025-04-03T21:09:37.307480+06:00", |
| "timestamp_completed": "2025-04-03T21:10:16.715682+06:00", |
| "material_cost": "10000", |
| "cutting_salary_cost": "1000" |
| }, |
| { |
| "id": "8d7b4fdb81f74212b5538a394d28b8ca", |
| "fabric_id": "e0004ccb179d41348a728cd6d541a4b8", |
| "fabric_name": "Аоалал", |
| "fabric_unit": "м", |
| "cut_items_quantity": 500, |
| "fabric_used": "1000", |
| "status": "completed", |
| "timestamp_created": "2025-04-03T21:35:28.269737+06:00", |
| "timestamp_completed": "2025-04-03T21:36:17.699912+06:00", |
| "material_cost": "100000", |
| "cutting_salary_cost": "10000" |
| }, |
| { |
| "id": "7f988b9ec2fd43b9b27e449889fa97b7", |
| "fabric_id": "1323490fd04541228defa3334e66ca55", |
| "fabric_name": "тестовый закуп фурнqqqq", |
| "fabric_unit": "м", |
| "cut_items_quantity": 5000, |
| "fabric_used": "100", |
| "status": "completed", |
| "timestamp_created": "2025-04-04T10:33:52.477548+06:00", |
| "timestamp_completed": "2025-04-04T11:05:34.008356+06:00", |
| "material_cost": "10000", |
| "cutting_salary_cost": "100000" |
| }, |
| { |
| "id": "d198a890d2b541e3b9adafc5dbbf8f4f", |
| "fabric_id": "5377cdefb51b4b1eb0967525c042dd22", |
| "fabric_name": "ткань 11", |
| "fabric_unit": "м", |
| "cut_items_quantity": 100, |
| "fabric_used": "100", |
| "status": "completed", |
| "timestamp_created": "2025-04-04T11:04:41.636501+06:00", |
| "timestamp_completed": "2025-04-04T11:05:47.895267+06:00", |
| "material_cost": "10000", |
| "cutting_salary_cost": "2000" |
| }, |
| { |
| "id": "d4c7adcedce8449eadb2cb00a15930f3", |
| "fabric_id": "3b3919b3168c42e7bf44438454ea4fc7", |
| "fabric_name": "Аоалал3838", |
| "fabric_unit": "м", |
| "cut_items_quantity": 100000, |
| "fabric_used": "1000", |
| "status": "completed", |
| "timestamp_created": "2025-04-04T11:04:57.095805+06:00", |
| "timestamp_completed": "2025-04-04T11:06:02.960602+06:00", |
| "material_cost": "150000", |
| "cutting_salary_cost": "2000000" |
| }, |
| { |
| "id": "4a53dff81255401aa5f1f3a69261447d", |
| "fabric_id": "de18f7d4d45e46398815dde38ca2e47e", |
| "fabric_name": "тестовый закуп 2", |
| "fabric_unit": "м", |
| "cut_items_quantity": 2000, |
| "fabric_used": "200", |
| "status": "completed", |
| "timestamp_created": "2025-04-04T11:05:12.176182+06:00", |
| "timestamp_completed": "2025-04-04T11:06:29.883557+06:00", |
| "material_cost": "20000", |
| "cutting_salary_cost": "40000" |
| }, |
| { |
| "id": "d2490d2a381049e5abad42e5ed08ca2a", |
| "fabric_id": "de18f7d4d45e46398815dde38ca2e47e", |
| "fabric_name": "тестовый закуп 2", |
| "fabric_unit": "м", |
| "cut_items_quantity": 10, |
| "fabric_used": "100", |
| "status": "completed", |
| "timestamp_created": "2025-04-04T11:34:16.351589+06:00", |
| "timestamp_completed": "2025-04-04T11:35:17.347547+06:00", |
| "material_cost": "1000", |
| "cutting_salary_cost": "200" |
| }, |
| { |
| "id": "4750479d49a34c20b4cef7d70e2b3e13", |
| "fabric_id": "93ce2687625b488e8fcd8b39ac8abe07", |
| "fabric_name": "Босс382", |
| "fabric_unit": "м", |
| "cut_items_quantity": 100, |
| "fabric_used": "1000", |
| "status": "completed", |
| "timestamp_created": "2025-04-04T16:57:12.439081+06:00", |
| "timestamp_completed": "2025-04-04T16:57:36.802595+06:00", |
| "material_cost": "100000", |
| "cutting_salary_cost": "2000" |
| }, |
| { |
| "id": "45d416293c2a4f36895beff46e5d5e5c", |
| "fabric_id": "1323490fd04541228defa3334e66ca55", |
| "fabric_name": "тестовый закуп фурнqqqq", |
| "fabric_unit": "м", |
| "cut_items_quantity": 100, |
| "fabric_used": "100", |
| "status": "completed", |
| "timestamp_created": "2025-04-04T19:40:54.537387+06:00", |
| "timestamp_completed": "2025-04-04T22:50:55.661399+06:00", |
| "material_cost": "10000", |
| "cutting_salary_cost": "2000" |
| }, |
| { |
| "id": "4e8924eab8284a7a9ebe8a65e022c92b", |
| "fabric_id": "1255b45244074270a6121c8996930cb1", |
| "fabric_name": "Сатин", |
| "fabric_unit": "м", |
| "cut_items_quantity": 150, |
| "fabric_used": "300", |
| "status": "completed", |
| "timestamp_created": "2025-04-08T10:58:04.519814+06:00", |
| "timestamp_completed": "2025-04-08T10:59:22.518113+06:00", |
| "material_cost": "30000", |
| "cutting_salary_cost": "3000" |
| }, |
| { |
| "id": "b23a2cf7332448f583f2ca82c15d7628", |
| "fabric_id": "de18f7d4d45e46398815dde38ca2e47e", |
| "fabric_name": "тестовый закуп 2", |
| "fabric_unit": "м", |
| "cut_items_quantity": 10, |
| "fabric_used": "100", |
| "status": "completed", |
| "timestamp_created": "2025-04-19T21:21:31.670224+06:00", |
| "timestamp_completed": "2025-04-20T20:46:32.173506+06:00", |
| "material_cost": "10000", |
| "cutting_salary_cost": "200" |
| }, |
| { |
| "id": "8f759e1da93f44608a2281c81245abb7", |
| "fabric_id": "e0004ccb179d41348a728cd6d541a4b8", |
| "fabric_name": "Аоалал", |
| "fabric_unit": "м", |
| "cut_items_quantity": 10, |
| "fabric_used": "100", |
| "status": "completed", |
| "timestamp_created": "2025-04-20T21:31:34.483964+06:00", |
| "timestamp_completed": "2025-04-21T07:14:19.169726+06:00", |
| "material_cost": "10000", |
| "cutting_salary_cost": "200" |
| }, |
| { |
| "id": "9761c9a2950442dfbd0787693d3e9721", |
| "fabric_id": "93ce2687625b488e8fcd8b39ac8abe07", |
| "fabric_name": "Босс382", |
| "fabric_unit": "м", |
| "cut_items_quantity": 100, |
| "fabric_used": "1000", |
| "status": "completed", |
| "timestamp_created": "2025-04-21T07:40:41.069724+06:00", |
| "timestamp_completed": "2025-04-21T08:40:45.446433+06:00", |
| "material_cost": "100000", |
| "cutting_salary_cost": "2000", |
| "sewn_quantity": 100 |
| }, |
| { |
| "id": "61563abe9aff4c389a8500b282d50356", |
| "fabric_id": "4effe06c7b5a437aa4e5bc5d7cee5b4c", |
| "fabric_name": "Босс38267", |
| "fabric_unit": "м", |
| "cut_items_quantity": 10, |
| "fabric_used": "100", |
| "status": "completed", |
| "sewn_quantity": 10, |
| "timestamp_created": "2025-04-21T08:57:22.480370+06:00", |
| "timestamp_completed": "2025-04-21T08:59:00.091591+06:00", |
| "material_cost": "1000", |
| "cutting_salary_cost": "200" |
| } |
| ], |
| "sewing_tasks": [ |
| { |
| "id": "eefb395fa84f4f74b5189cecb0c40209", |
| "cutting_task_id": "65c397984d714182896733de6d998c99", |
| "product_name": "тестовая ткань", |
| "sewn_quantity": 50, |
| "fabric_id": "03c6db217b3a4e1e9835cb60ee8ab3a4", |
| "fabric_name": "тестовая ткань", |
| "fittings_consumed": [], |
| "defects_reported": [], |
| "status": "completed", |
| "timestamp_created": "2025-04-02T19:59:49.617254+06:00", |
| "timestamp_completed": "2025-04-02T20:00:08.754515+06:00", |
| "qc_packed_quantity": 50, |
| "qc_defective_quantity": 0, |
| "fittings_cost": "0", |
| "sewing_salary_cost": "0.00", |
| "cutting_salary_cost": "0.00" |
| }, |
| { |
| "id": "be124c3f90f54e989f45715f124115f0", |
| "cutting_task_id": "a250301a331345619e82b96d1f29009b", |
| "product_name": "3w5324", |
| "sewn_quantity": 50, |
| "fabric_id": "03c6db217b3a4e1e9835cb60ee8ab3a4", |
| "fabric_name": "тестовая ткань", |
| "fittings_consumed": [], |
| "defects_reported": [], |
| "status": "completed", |
| "timestamp_created": "2025-04-03T16:28:06.458641+06:00", |
| "timestamp_completed": "2025-04-03T16:28:22.143341+06:00", |
| "qc_packed_quantity": 50, |
| "qc_defective_quantity": 0, |
| "fittings_cost": "0", |
| "sewing_salary_cost": "5000", |
| "cutting_salary_cost": "1000" |
| }, |
| { |
| "id": "065005335f854baf8f745187cc9a808a", |
| "cutting_task_id": "b3114c79b89c41cebcb53b734781c62d", |
| "product_name": "34325324", |
| "sewn_quantity": 50, |
| "fabric_id": "839084e02dd74c3983dbceff5a1a0a12", |
| "fabric_name": "тестовая ткань 1", |
| "fittings_consumed": [], |
| "defects_reported": [], |
| "status": "completed", |
| "timestamp_created": "2025-04-03T18:37:11.061264+06:00", |
| "timestamp_completed": "2025-04-03T18:37:32.570100+06:00", |
| "qc_packed_quantity": 50, |
| "qc_defective_quantity": 0, |
| "fittings_cost": "0", |
| "sewing_salary_cost": "5000", |
| "cutting_salary_cost": "1000" |
| }, |
| { |
| "id": "eefa50c90f084906a9f82320796b451c", |
| "cutting_task_id": "7e1ad56a561842759c0382a180c69c01", |
| "product_name": "332432", |
| "sewn_quantity": 50, |
| "fabric_id": "1323490fd04541228defa3334e66ca55", |
| "fabric_name": "тестовый закуп фурнqqqq", |
| "fittings_consumed": [], |
| "defects_reported": [], |
| "status": "completed", |
| "timestamp_created": "2025-04-03T21:10:16.715682+06:00", |
| "timestamp_completed": "2025-04-03T21:10:39.791372+06:00", |
| "qc_packed_quantity": 50, |
| "qc_defective_quantity": 0, |
| "fittings_cost": "0", |
| "sewing_salary_cost": "5000", |
| "cutting_salary_cost": "1000" |
| }, |
| { |
| "id": "0b2bc37b0fc544749f6db44bbbe0545b", |
| "cutting_task_id": "8d7b4fdb81f74212b5538a394d28b8ca", |
| "product_name": "Аоалал", |
| "sewn_quantity": 300, |
| "fabric_id": "e0004ccb179d41348a728cd6d541a4b8", |
| "fabric_name": "Аоалал", |
| "fittings_consumed": [], |
| "defects_reported": [], |
| "status": "completed", |
| "timestamp_created": "2025-04-03T21:36:17.699912+06:00", |
| "timestamp_completed": "2025-04-03T21:36:42.605568+06:00", |
| "qc_packed_quantity": 300, |
| "qc_defective_quantity": 0, |
| "fittings_cost": "0", |
| "sewing_salary_cost": "30000", |
| "cutting_salary_cost": "10000" |
| }, |
| { |
| "id": "5bc2d0363c3e416b804d454f8d579d15", |
| "cutting_task_id": "7f988b9ec2fd43b9b27e449889fa97b7", |
| "product_name": "тестовый закуп фурнqqqq", |
| "sewn_quantity": 5000, |
| "fabric_id": "1323490fd04541228defa3334e66ca55", |
| "fabric_name": "тестовый закуп фурнqqqq", |
| "fittings_consumed": [], |
| "defects_reported": [], |
| "status": "completed", |
| "timestamp_created": "2025-04-04T11:05:34.008356+06:00", |
| "timestamp_completed": "2025-04-04T11:06:54.396960+06:00", |
| "qc_packed_quantity": 5000, |
| "qc_defective_quantity": 0, |
| "fittings_cost": "0", |
| "sewing_salary_cost": "500000", |
| "cutting_salary_cost": "100000" |
| }, |
| { |
| "id": "d5871e70d2bf4b899190a0a15036076d", |
| "cutting_task_id": "d198a890d2b541e3b9adafc5dbbf8f4f", |
| "product_name": "ткань 11", |
| "sewn_quantity": 100, |
| "fabric_id": "5377cdefb51b4b1eb0967525c042dd22", |
| "fabric_name": "ткань 11", |
| "fittings_consumed": [], |
| "defects_reported": [], |
| "status": "completed", |
| "timestamp_created": "2025-04-04T11:05:47.895267+06:00", |
| "timestamp_completed": "2025-04-04T11:07:26.504580+06:00", |
| "qc_packed_quantity": 100, |
| "qc_defective_quantity": 0, |
| "fittings_cost": "0", |
| "sewing_salary_cost": "10000", |
| "cutting_salary_cost": "2000" |
| }, |
| { |
| "id": "b4b28dbb0d414b039a039b33f4c08d45", |
| "cutting_task_id": "d4c7adcedce8449eadb2cb00a15930f3", |
| "product_name": "Аоалал3838", |
| "sewn_quantity": 100000, |
| "fabric_id": "3b3919b3168c42e7bf44438454ea4fc7", |
| "fabric_name": "Аоалал3838", |
| "fittings_consumed": [], |
| "defects_reported": [], |
| "status": "completed", |
| "timestamp_created": "2025-04-04T11:06:02.960602+06:00", |
| "timestamp_completed": "2025-04-04T11:08:00.779182+06:00", |
| "qc_packed_quantity": 100000, |
| "qc_defective_quantity": 0, |
| "fittings_cost": "0", |
| "sewing_salary_cost": "10000000", |
| "cutting_salary_cost": "2000000" |
| }, |
| { |
| "id": "b7910d336ec94e86acfa0a1deb697831", |
| "cutting_task_id": "4a53dff81255401aa5f1f3a69261447d", |
| "product_name": "тестовый закуп 2", |
| "sewn_quantity": 2000, |
| "fabric_id": "de18f7d4d45e46398815dde38ca2e47e", |
| "fabric_name": "тестовый закуп 2", |
| "fittings_consumed": [], |
| "defects_reported": [], |
| "status": "completed", |
| "timestamp_created": "2025-04-04T11:06:29.883557+06:00", |
| "timestamp_completed": "2025-04-04T11:07:17.639946+06:00", |
| "qc_packed_quantity": 2000, |
| "qc_defective_quantity": 0, |
| "fittings_cost": "0", |
| "sewing_salary_cost": "200000", |
| "cutting_salary_cost": "40000" |
| }, |
| { |
| "id": "c855b3e084e44990a11f33e5d6c988f3", |
| "cutting_task_id": "d2490d2a381049e5abad42e5ed08ca2a", |
| "product_name": "43432432", |
| "sewn_quantity": 10, |
| "fabric_id": "de18f7d4d45e46398815dde38ca2e47e", |
| "fabric_name": "тестовый закуп 2", |
| "fittings_consumed": [], |
| "defects_reported": [], |
| "status": "completed", |
| "timestamp_created": "2025-04-04T11:35:17.347547+06:00", |
| "timestamp_completed": "2025-04-04T11:35:38.254388+06:00", |
| "qc_packed_quantity": 10, |
| "qc_defective_quantity": 0, |
| "fittings_cost": "0", |
| "sewing_salary_cost": "1000", |
| "cutting_salary_cost": "200" |
| }, |
| { |
| "id": "771985f9030646d1a3e4c6797d6e3011", |
| "cutting_task_id": "4750479d49a34c20b4cef7d70e2b3e13", |
| "product_name": "Босс382", |
| "sewn_quantity": 100, |
| "fabric_id": "93ce2687625b488e8fcd8b39ac8abe07", |
| "fabric_name": "Босс382", |
| "fittings_consumed": [], |
| "defects_reported": [], |
| "status": "completed", |
| "timestamp_created": "2025-04-04T16:57:36.802595+06:00", |
| "timestamp_completed": "2025-04-04T16:58:08.676917+06:00", |
| "qc_packed_quantity": 98, |
| "qc_defective_quantity": 2, |
| "fittings_cost": "0", |
| "sewing_salary_cost": "10000", |
| "cutting_salary_cost": "2000" |
| }, |
| { |
| "id": "089a53c92a9d44d48268756a330b4762", |
| "cutting_task_id": "45d416293c2a4f36895beff46e5d5e5c", |
| "product_name": "тестовый закуп фурнqqqq", |
| "sewn_quantity": 100, |
| "fabric_id": "1323490fd04541228defa3334e66ca55", |
| "fabric_name": "тестовый закуп фурнqqqq", |
| "fittings_consumed": [], |
| "defects_reported": [], |
| "status": "completed", |
| "timestamp_created": "2025-04-04T22:50:55.661399+06:00", |
| "timestamp_completed": "2025-04-04T22:51:47.539463+06:00", |
| "qc_packed_quantity": 100, |
| "qc_defective_quantity": 0, |
| "fittings_cost": "0", |
| "sewing_salary_cost": "10000", |
| "cutting_salary_cost": "2000" |
| }, |
| { |
| "id": "9bbc1a9ba945475ab42bc9586a70cd3b", |
| "cutting_task_id": "4e8924eab8284a7a9ebe8a65e022c92b", |
| "product_name": "Сатин", |
| "sewn_quantity": 150, |
| "fabric_id": "1255b45244074270a6121c8996930cb1", |
| "fabric_name": "Сатин", |
| "fittings_consumed": [], |
| "defects_reported": [], |
| "status": "completed", |
| "timestamp_created": "2025-04-08T10:59:22.518113+06:00", |
| "timestamp_completed": "2025-04-08T11:00:29.858528+06:00", |
| "qc_packed_quantity": 50, |
| "qc_defective_quantity": 100, |
| "fittings_cost": "0", |
| "sewing_salary_cost": "15000", |
| "cutting_salary_cost": "3000" |
| }, |
| { |
| "id": "16b56e3e1cfb491daaa69fd2a78753af", |
| "cutting_task_id": "b23a2cf7332448f583f2ca82c15d7628", |
| "product_name": "тестовый закуп 2", |
| "sewn_quantity": 10, |
| "fabric_id": "de18f7d4d45e46398815dde38ca2e47e", |
| "fabric_name": "тестовый закуп 2", |
| "fittings_consumed": [], |
| "defects_reported": [], |
| "status": "completed", |
| "timestamp_created": "2025-04-20T20:46:32.173506+06:00", |
| "timestamp_completed": "2025-04-21T08:16:58.586174+06:00", |
| "qc_packed_quantity": 10, |
| "qc_defective_quantity": 0, |
| "fittings_cost": "0", |
| "sewing_salary_cost": "1000", |
| "cutting_salary_cost": "200" |
| }, |
| { |
| "id": "d7979db202b441e9a6a1c98a723a4548", |
| "cutting_task_id": "8f759e1da93f44608a2281c81245abb7", |
| "product_name": "Аоалал", |
| "sewn_quantity": 5, |
| "fabric_id": "e0004ccb179d41348a728cd6d541a4b8", |
| "fabric_name": "Аоалал", |
| "fittings_consumed": [], |
| "defects_reported": [], |
| "status": "pending_qc", |
| "timestamp_created": "2025-04-21T07:14:19.169726+06:00", |
| "timestamp_completed": null, |
| "qc_packed_quantity": 0, |
| "qc_defective_quantity": 0, |
| "fittings_cost": "0", |
| "sewing_salary_cost": "500", |
| "cutting_salary_cost": "200", |
| "remaining_quantity": 5 |
| }, |
| { |
| "id": "cca7923abd5847c880270e07d4e98a5e", |
| "cutting_task_id": "9761c9a2950442dfbd0787693d3e9721", |
| "product_name": "Тестовое изделия посл", |
| "sewn_quantity": 100, |
| "fittings_consumed": [ |
| { |
| "fitting_id": "73f40e22f46e4661995b11193e9082f7", |
| "fitting_name": "Тестов фурни", |
| "quantity_used": 1000, |
| "cost": "10000" |
| } |
| ], |
| "fittings_cost": "10000.00", |
| "sewing_salary_cost": "10000", |
| "status": "completed", |
| "qc_packed_quantity": 100, |
| "qc_defective_quantity": 0, |
| "defects_reported": [], |
| "timestamp_created": "2025-04-21T08:40:45.446433+06:00", |
| "timestamp_completed": "2025-04-21T08:41:10.239391+06:00", |
| "remaining_quantity": 100 |
| }, |
| { |
| "id": "83ae89c94cfc4a97b93775959f4af0b9", |
| "cutting_task_id": "61563abe9aff4c389a8500b282d50356", |
| "product_name": "Тестовое изделие", |
| "sewn_quantity": 10, |
| "fittings_consumed": [ |
| { |
| "fitting_id": "169daa21e6a44e95be4adc15249125ce", |
| "fitting_name": "ytn2", |
| "quantity_used": 1, |
| "cost": "100" |
| } |
| ], |
| "fittings_cost": "100.00", |
| "sewing_salary_cost": "1000", |
| "status": "pending_qc", |
| "qc_packed_quantity": 0, |
| "qc_defective_quantity": 0, |
| "defects_reported": [], |
| "timestamp_created": "2025-04-21T08:59:00.091591+06:00", |
| "timestamp_completed": null |
| } |
| ], |
| "qc_packing_items": [ |
| { |
| "id": "5aa5056b66cf46fbabc2986d652a6260", |
| "sewing_task_id": "eefb395fa84f4f74b5189cecb0c40209", |
| "product_name": "тестовая ткань", |
| "quantity": 50, |
| "timestamp_packed": "2025-04-02T20:00:08.754515+06:00", |
| "packed_material_cost": "10000", |
| "packed_salary_cost": "0.00", |
| "packed_total_cost": "10000.00", |
| "packed_margin": "0.00", |
| "packed_final_price": "10000.00", |
| "status": "shipped_client", |
| "shipment_details": { |
| "type": "client", |
| "timestamp": "2025-04-02T20:01:21.797028+06:00", |
| "client_id": "e41d742c4c8f4e948ab3fa5495d909ea", |
| "client_name": "тестовый клиент" |
| } |
| }, |
| { |
| "id": "61f2f7dcdfe7450ab5dd8b01f94eded3", |
| "sewing_task_id": "be124c3f90f54e989f45715f124115f0", |
| "product_name": "3w5324", |
| "quantity": 50, |
| "timestamp_packed": "2025-04-03T16:28:22.143341+06:00", |
| "packed_material_cost": "10000", |
| "packed_salary_cost": "7000", |
| "packed_total_cost": "17000", |
| "packed_margin": "6000", |
| "packed_final_price": "23000", |
| "status": "shipped_client", |
| "shipment_details": { |
| "type": "client", |
| "timestamp": "2025-04-03T16:36:17.737658+06:00", |
| "client_id": "e41d742c4c8f4e948ab3fa5495d909ea", |
| "client_name": "тестовый клиент" |
| } |
| }, |
| { |
| "id": "e9b907fd523c4ceab17ff587867ebaa3", |
| "sewing_task_id": "065005335f854baf8f745187cc9a808a", |
| "product_name": "34325324", |
| "quantity": 50, |
| "timestamp_packed": "2025-04-03T18:37:32.570100+06:00", |
| "packed_material_cost": "10000", |
| "packed_salary_cost": "7000", |
| "packed_total_cost": "17000", |
| "packed_margin": "6000", |
| "packed_final_price": "23000", |
| "status": "shipped_client", |
| "shipment_details": { |
| "type": "client", |
| "timestamp": "2025-04-03T18:37:51.941599+06:00", |
| "client_id": "8334abcf4e3040ce8b0c44e4b913effc", |
| "client_name": "jhklhjklj" |
| } |
| }, |
| { |
| "id": "514551e6fe584da2aa9fb885846fbbeb", |
| "sewing_task_id": "eefa50c90f084906a9f82320796b451c", |
| "product_name": "332432", |
| "quantity": 50, |
| "timestamp_packed": "2025-04-03T21:10:39.791372+06:00", |
| "packed_material_cost": "10000", |
| "packed_salary_cost": "7000", |
| "packed_total_cost": "17000", |
| "packed_margin": "6000", |
| "packed_final_price": "23000", |
| "status": "shipped_client", |
| "shipment_details": { |
| "type": "client", |
| "timestamp": "2025-04-03T21:11:08.731684+06:00", |
| "client_id": "8334abcf4e3040ce8b0c44e4b913effc", |
| "client_name": "jhklhjklj" |
| } |
| }, |
| { |
| "id": "ae409ecfbf4844d1ad63a6513955d627", |
| "sewing_task_id": "0b2bc37b0fc544749f6db44bbbe0545b", |
| "product_name": "Аоалал", |
| "quantity": 300, |
| "timestamp_packed": "2025-04-03T21:36:42.605568+06:00", |
| "packed_material_cost": "60000", |
| "packed_salary_cost": "42000", |
| "packed_total_cost": "102000", |
| "packed_margin": "36000", |
| "packed_final_price": "138000", |
| "status": "shipped_dor_doi", |
| "shipment_details": { |
| "type": "dor_doi_point", |
| "timestamp": "2025-04-03T21:37:10.149492+06:00", |
| "destination": "Торговая точка Дордой" |
| } |
| }, |
| { |
| "id": "8be02076a22841cabfdfd433ba33e93a", |
| "sewing_task_id": "5bc2d0363c3e416b804d454f8d579d15", |
| "product_name": "тестовый закуп фурнqqqq", |
| "quantity": 5000, |
| "timestamp_packed": "2025-04-04T11:06:54.396960+06:00", |
| "packed_material_cost": "10000", |
| "packed_salary_cost": "700000", |
| "packed_total_cost": "710000", |
| "packed_margin": "600000", |
| "packed_final_price": "1310000", |
| "status": "shipped_client", |
| "shipment_details": { |
| "type": "client", |
| "timestamp": "2025-04-04T11:09:12.508899+06:00", |
| "client_id": "f7d4e953003f40ba80d75ba4d3bd1df6", |
| "client_name": "тестовый клиент" |
| } |
| }, |
| { |
| "id": "4005d25a37444377aff43518dc44411d", |
| "sewing_task_id": "b7910d336ec94e86acfa0a1deb697831", |
| "product_name": "тестовый закуп 2", |
| "quantity": 2000, |
| "timestamp_packed": "2025-04-04T11:07:17.639946+06:00", |
| "packed_material_cost": "20000", |
| "packed_salary_cost": "280000", |
| "packed_total_cost": "300000", |
| "packed_margin": "240000", |
| "packed_final_price": "540000", |
| "status": "shipped_client", |
| "shipment_details": { |
| "type": "client", |
| "timestamp": "2025-04-04T11:08:57.220270+06:00", |
| "client_id": "c7ed8481e906437f8260aade99208218", |
| "client_name": "тест нов" |
| } |
| }, |
| { |
| "id": "f3c9252e65b14fadb45370d65e72da01", |
| "sewing_task_id": "d5871e70d2bf4b899190a0a15036076d", |
| "product_name": "ткань 11", |
| "quantity": 100, |
| "timestamp_packed": "2025-04-04T11:07:26.504580+06:00", |
| "packed_material_cost": "10000", |
| "packed_salary_cost": "14000", |
| "packed_total_cost": "24000", |
| "packed_margin": "12000", |
| "packed_final_price": "36000", |
| "status": "shipped_client", |
| "shipment_details": { |
| "type": "client", |
| "timestamp": "2025-04-04T11:08:45.274147+06:00", |
| "client_id": "99c2c8b061ad4f4a8ab81f9da00b1f8f", |
| "client_name": "Иван" |
| } |
| }, |
| { |
| "id": "a09bf1d9327c42c7a75c71f35a9d5693", |
| "sewing_task_id": "b4b28dbb0d414b039a039b33f4c08d45", |
| "product_name": "Аоалал3838", |
| "quantity": 100000, |
| "timestamp_packed": "2025-04-04T11:08:00.779182+06:00", |
| "packed_material_cost": "150000.0", |
| "packed_salary_cost": "14000000", |
| "packed_total_cost": "14150000.0", |
| "packed_margin": "12000000", |
| "packed_final_price": "26150000.0", |
| "status": "shipped_dor_doi", |
| "shipment_details": { |
| "type": "dor_doi_point", |
| "timestamp": "2025-04-04T11:08:30.821508+06:00", |
| "destination": "Торговая точка Дордой" |
| } |
| }, |
| { |
| "id": "8a5a5b8abe7c401989b6fe5013926b34", |
| "sewing_task_id": "c855b3e084e44990a11f33e5d6c988f3", |
| "product_name": "43432432", |
| "quantity": 10, |
| "timestamp_packed": "2025-04-04T11:35:38.254388+06:00", |
| "packed_material_cost": "1000", |
| "packed_salary_cost": "1400", |
| "packed_total_cost": "2400", |
| "packed_margin": "1200", |
| "packed_final_price": "3600", |
| "status": "shipped_client", |
| "shipment_details": { |
| "type": "client", |
| "timestamp": "2025-04-04T11:37:51.303193+06:00", |
| "client_id": "58a1ff0568744dd99b54355f5c7dd4f9", |
| "client_name": "тестовый клиент" |
| } |
| }, |
| { |
| "id": "7e345b286f5d42898efd9b0fb1deec22", |
| "sewing_task_id": "771985f9030646d1a3e4c6797d6e3011", |
| "product_name": "Босс382", |
| "quantity": 98, |
| "timestamp_packed": "2025-04-04T16:58:08.676917+06:00", |
| "packed_material_cost": "98000", |
| "packed_salary_cost": "13720", |
| "packed_total_cost": "111720", |
| "packed_margin": "11760", |
| "packed_final_price": "123480", |
| "status": "shipped_client", |
| "shipment_details": { |
| "type": "client", |
| "timestamp": "2025-04-04T16:58:47.441033+06:00", |
| "client_id": "8334abcf4e3040ce8b0c44e4b913effc", |
| "client_name": "клиент исправ" |
| } |
| }, |
| { |
| "id": "6b6fd744a1944d78976da9f56efd8f6e", |
| "sewing_task_id": "089a53c92a9d44d48268756a330b4762", |
| "product_name": "тестовый закуп фурнqqqq", |
| "quantity": 100, |
| "timestamp_packed": "2025-04-04T22:51:47.539463+06:00", |
| "packed_material_cost": "10000", |
| "packed_salary_cost": "14000", |
| "packed_total_cost": "24000", |
| "packed_margin": "12000", |
| "packed_final_price": "36000", |
| "status": "shipped_client", |
| "shipment_details": { |
| "type": "client", |
| "timestamp": "2025-04-04T22:52:25.498031+06:00", |
| "client_id": "c7ed8481e906437f8260aade99208218", |
| "client_name": "тест нов" |
| } |
| }, |
| { |
| "id": "c5afff6cef1f40ae8d93b88fd7dfa719", |
| "sewing_task_id": "9bbc1a9ba945475ab42bc9586a70cd3b", |
| "product_name": "Сатин", |
| "quantity": 50, |
| "timestamp_packed": "2025-04-08T11:00:29.858528+06:00", |
| "packed_material_cost": "10000", |
| "packed_salary_cost": "7000", |
| "packed_total_cost": "17000", |
| "packed_margin": "6000", |
| "packed_final_price": "23000", |
| "status": "shipped_client", |
| "shipment_details": { |
| "type": "client", |
| "timestamp": "2025-04-08T11:02:19.749695+06:00", |
| "client_id": "b2de6eb98bf44ceea7dc817b36290362", |
| "client_name": "Ерлан Ташболатов" |
| } |
| }, |
| { |
| "id": "97b3a57d3ec44ca08afe57e466ab5adc", |
| "sewing_task_id": "16b56e3e1cfb491daaa69fd2a78753af", |
| "product_name": "тестовый закуп 2", |
| "quantity": 10, |
| "timestamp_packed": "2025-04-21T08:16:58.586174+06:00", |
| "packed_material_cost": "10000", |
| "packed_salary_cost": "1400", |
| "packed_total_cost": "11400", |
| "packed_margin": "1200", |
| "packed_final_price": "12600", |
| "status": "shipped_client", |
| "shipment_details": { |
| "type": "client", |
| "timestamp": "2025-04-21T08:18:17.955133+06:00", |
| "client_id": "8334abcf4e3040ce8b0c44e4b913effc", |
| "client_name": "клиент исправ" |
| } |
| }, |
| { |
| "id": "a6e540adff19457f8df6f1d9e4cc2672", |
| "sewing_task_id": "cca7923abd5847c880270e07d4e98a5e", |
| "product_name": "Тестовое изделия посл", |
| "quantity": 100, |
| "timestamp_packed": "2025-04-21T08:41:10.239391+06:00", |
| "packed_material_cost": "110000.00", |
| "packed_salary_cost": "14000", |
| "packed_total_cost": "124000.00", |
| "packed_margin": "12000", |
| "packed_final_price": "136000.00", |
| "status": "shipped_dor_doi", |
| "shipment_details": { |
| "type": "dor_doi_point", |
| "timestamp": "2025-04-21T08:47:08.480926+06:00", |
| "destination": "Торговая точка Дордой" |
| } |
| } |
| ], |
| "defect_log": [ |
| { |
| "log_id": "bae17b534f6341cc94fd40f750f36163", |
| "material_id": null, |
| "material_name": "Босс382 (готовое изделие)", |
| "quantity": 2, |
| "unit": "шт", |
| "type": "finished_product", |
| "stage": "qc_packing", |
| "reason": "Порвалась ткань", |
| "cost": "2240", |
| "sewing_task_id": "771985f9030646d1a3e4c6797d6e3011", |
| "timestamp": "2025-04-04T16:58:08.676917+06:00" |
| }, |
| { |
| "log_id": "39c9b9e59abf4f59a66b834f506f7520", |
| "material_id": null, |
| "material_name": "Сатин (готовое изделие)", |
| "quantity": 100, |
| "unit": "шт", |
| "type": "finished_product", |
| "stage": "qc_packing", |
| "reason": "Швы разошлись", |
| "cost": "32000", |
| "sewing_task_id": "9bbc1a9ba945475ab42bc9586a70cd3b", |
| "timestamp": "2025-04-08T11:00:29.858528+06:00" |
| } |
| ], |
| "expenses": [ |
| { |
| "id": "0014178a5c7247c69e685cb4fd890a9a", |
| "description": "Механик на починку швейных машинок", |
| "amount": "8000", |
| "timestamp": "2025-04-08T11:01:29.321063+06:00" |
| } |
| ], |
| "advances": [ |
| { |
| "id": "74c5636c71f2453b8d384b484996a30d", |
| "employee_name": "Хамид", |
| "role": "sewer", |
| "amount": "3000", |
| "timestamp": "2025-04-08T11:03:57.981586+06:00", |
| "is_processed": false |
| } |
| ], |
| "dordoi_shipments": [ |
| { |
| "shipment_id": "950c67eb32bb4383b3717d5d7bdee151", |
| "timestamp": "2025-04-03T21:37:10.149492+06:00", |
| "items": [ |
| { |
| "product_name": "Аоалал", |
| "quantity": 300 |
| } |
| ], |
| "packed_item_id": "ae409ecfbf4844d1ad63a6513955d627" |
| }, |
| { |
| "shipment_id": "f2b7ece3de874904850d6e0bb683c075", |
| "timestamp": "2025-04-04T11:08:30.821508+06:00", |
| "items": [ |
| { |
| "product_name": "Аоалал3838", |
| "quantity": 100000 |
| } |
| ], |
| "packed_item_id": "a09bf1d9327c42c7a75c71f35a9d5693" |
| }, |
| { |
| "shipment_id": "41f53e0579314d888234190b99ec5358", |
| "timestamp": "2025-04-21T08:47:08.480926+06:00", |
| "items": [ |
| { |
| "product_name": "Тестовое изделия посл", |
| "quantity": 100 |
| } |
| ], |
| "packed_item_id": "a6e540adff19457f8df6f1d9e4cc2672" |
| } |
| ], |
| "cloud_files": [ |
| { |
| "file_id": "f4ee8063ffa24ab6a7e4c7904ed46506", |
| "original_filename": "Screenshot_20250404-120123.png", |
| "stored_filename": "6d375d6847864ee58640a2c6504a5226.png", |
| "thumbnail_filename": "6d375d6847864ee58640a2c6504a5226.png", |
| "description": "", |
| "timestamp": "2025-04-04T17:00:17.474283+06:00", |
| "size": 638263 |
| }, |
| { |
| "file_id": "7ab5b4969b1e4f2f92cb5f2d7d20a288", |
| "original_filename": "noroot.jpg", |
| "stored_filename": "047525e9dfa74db28f216f12b73e9554.jpg", |
| "thumbnail_filename": "047525e9dfa74db28f216f12b73e9554.jpg", |
| "description": "test", |
| "timestamp": "2025-04-04T23:08:46.905100+06:00", |
| "size": 100442 |
| } |
| ], |
| "config": { |
| "salary_cutter_per_unit": "20", |
| "salary_sewer_per_unit": "100", |
| "salary_packer_per_unit": "20", |
| "margin_per_item": "120" |
| }, |
| "client_payments": [], |
| "monthly_salaries": { |
| "2025-04": { |
| "Ntcn": { |
| "role": "cutter", |
| "earned": "0", |
| "advances": "0", |
| "final_payout": "0" |
| }, |
| "Андрей": { |
| "role": "cutter", |
| "earned": "0", |
| "advances": "0", |
| "final_payout": "0" |
| }, |
| "Хамид": { |
| "role": "sewer", |
| "earned": "0", |
| "advances": "0", |
| "final_payout": "0" |
| } |
| } |
| } |
| } |