| { | |
| "orders": [ | |
| { | |
| "id": "746183fcea0f4ae1970583afaa6edf83", | |
| "client_id": "e41d742c4c8f4e948ab3fa5495d909ea", | |
| "client_name": "тестовый клиент", | |
| "model_name": "343421312", | |
| "fabric_id": "839084e02dd74c3983dbceff5a1a0a12", | |
| "fabric_quantity": "100", | |
| "size_range": "s", | |
| "items_quantity": "50", | |
| "status": "pending", | |
| "timestamp_created": "2025-04-03T18:35:21.301718+06:00", | |
| "timestamp": "2025-04-03T18:35:21.301718+06:00", | |
| "fittings": [ | |
| { | |
| "fitting_id": "b0ce964e517c4b628b416b30c7ad8690", | |
| "quantity": "100" | |
| } | |
| ] | |
| } | |
| ], | |
| "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" | |
| } | |
| ], | |
| "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" | |
| } | |
| ], | |
| "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" | |
| } | |
| ], | |
| "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" | |
| } | |
| } | |
| ], | |
| "defect_log": [], | |
| "expenses": [ | |
| { | |
| "id": "02250ab3f7d94ce2a77be2617b976c4d", | |
| "description": "Test", | |
| "amount": "500", | |
| "timestamp": "2025-04-03T14:17:22.250751+06:00" | |
| } | |
| ], | |
| "advances": [ | |
| { | |
| "id": "da94be39eb1849ae8b090adb7b51bdb5", | |
| "employee_type": "sewer", | |
| "amount": "500", | |
| "timestamp": "2025-04-03T08:30:36.376729+06:00" | |
| }, | |
| { | |
| "id": "f3c963805cce4512b9ff74ee611f428d", | |
| "employee_type": "sewer", | |
| "amount": "3000", | |
| "timestamp": "2025-04-03T08:31:34.826280+06:00" | |
| } | |
| ], | |
| "dordoi_shipments": [], | |
| "cloud_files": [], | |
| "config": { | |
| "salary_cutter_per_unit": "20", | |
| "salary_sewer_per_unit": "100", | |
| "salary_packer_per_unit": "20", | |
| "margin_per_item": "120" | |
| }, | |
| "client_payments": [] | |
| } |