| { | |
| "materials": [ | |
| { | |
| "id": "b3cbff25c59a4475b05f86c95439f350", | |
| "name": "103", | |
| "quantity": "10.00", | |
| "unit": "м", | |
| "price_per_unit": "2.4", | |
| "material_per_unit": "1.25", | |
| "items_per_unit": 0, | |
| "type": "fabric", | |
| "category": "Без категории", | |
| "timestamp_added": "2025-10-09T14:59:45.376512+06:00", | |
| "timestamp_last_updated": "2025-10-09T15:08:59.233907+06:00" | |
| }, | |
| { | |
| "id": "549a4d0e621a4ef3bdbcffec500fe790", | |
| "name": "нитка", | |
| "quantity": "4", | |
| "unit": "пач", | |
| "price_per_unit": "230", | |
| "material_per_unit": "0", | |
| "items_per_unit": 0, | |
| "type": "fittings", | |
| "category": "Без категории", | |
| "timestamp_added": "2025-10-09T15:05:30.062550+06:00", | |
| "timestamp_last_updated": "2025-10-09T15:08:59.233907+06:00" | |
| }, | |
| { | |
| "id": "399e1d2a2f7f4274b8d8ff9dcd53e842", | |
| "name": "пуговицы", | |
| "quantity": "150", | |
| "unit": "шт", | |
| "price_per_unit": "600", | |
| "material_per_unit": "0", | |
| "items_per_unit": 0, | |
| "type": "fittings", | |
| "category": "Без категории", | |
| "timestamp_added": "2025-10-09T15:05:30.062550+06:00", | |
| "timestamp_last_updated": "2025-10-09T15:08:59.233907+06:00" | |
| }, | |
| { | |
| "id": "a3a6ac00006540e2838dafe3df897620", | |
| "name": "замок", | |
| "quantity": "50", | |
| "unit": "шт", | |
| "price_per_unit": "2550", | |
| "material_per_unit": "0", | |
| "items_per_unit": 0, | |
| "type": "fittings", | |
| "category": "Без категории", | |
| "timestamp_added": "2025-10-09T15:05:30.062550+06:00", | |
| "timestamp_last_updated": "2025-10-09T15:06:25.853755+06:00" | |
| } | |
| ], | |
| "categories": [], | |
| "cutting_tasks": [ | |
| { | |
| "id": "c0226357642446a9928c20bb129c28f0", | |
| "fabric_id": "b3cbff25c59a4475b05f86c95439f350", | |
| "fabric_name": "103", | |
| "fabric_unit": "м", | |
| "cut_items_quantity": 450, | |
| "fabric_used": "550", | |
| "status": "completed", | |
| "sewn_quantity": 450, | |
| "timestamp_created": "2025-10-09T15:00:07.352682+06:00", | |
| "timestamp_completed": "2025-10-09T15:06:25.853755+06:00", | |
| "material_cost": "1320.0", | |
| "cutting_salary_cost": "0.00" | |
| } | |
| ], | |
| "sewing_tasks": [ | |
| { | |
| "id": "ccad68d85d104f058eee371ca0e9fe7c", | |
| "cutting_task_id": "c0226357642446a9928c20bb129c28f0", | |
| "product_name": "103 Костя", | |
| "sewn_quantity": 450, | |
| "fittings_consumed": [ | |
| { | |
| "fitting_id": "a3a6ac00006540e2838dafe3df897620", | |
| "fitting_name": "замок", | |
| "quantity_used": 450, | |
| "cost": "1147500" | |
| }, | |
| { | |
| "fitting_id": "549a4d0e621a4ef3bdbcffec500fe790", | |
| "fitting_name": "нитка", | |
| "quantity_used": 6, | |
| "cost": "1380" | |
| }, | |
| { | |
| "fitting_id": "399e1d2a2f7f4274b8d8ff9dcd53e842", | |
| "fitting_name": "пуговицы", | |
| "quantity_used": 450, | |
| "cost": "270000" | |
| } | |
| ], | |
| "fittings_cost": "1418880.00", | |
| "sewing_salary_cost": "0.00", | |
| "status": "completed", | |
| "qc_packed_quantity": 450, | |
| "qc_defective_quantity": 0, | |
| "defects_reported": [], | |
| "timestamp_created": "2025-10-09T15:06:25.853755+06:00", | |
| "timestamp_completed": "2025-10-09T15:06:59.558037+06:00", | |
| "remaining_quantity": 450 | |
| } | |
| ], | |
| "qc_packing_items": [ | |
| { | |
| "id": "7b8431b2f5854b188e1a7bdfb1a3c62a", | |
| "sewing_task_id": "ccad68d85d104f058eee371ca0e9fe7c", | |
| "product_name": "103 Костя", | |
| "quantity": 450, | |
| "timestamp_packed": "2025-10-09T15:06:59.558037+06:00", | |
| "packed_material_cost": "1420200.000000000000000000000", | |
| "packed_salary_cost": "0.00", | |
| "packed_total_cost": "1420200.000000000000000000000", | |
| "packed_margin": "0.00", | |
| "packed_final_price": "1420200.000000000000000000000", | |
| "status": "shipped_dor_doi", | |
| "shipment_details": { | |
| "type": "dor_doi_point", | |
| "timestamp": "2025-10-09T15:16:01.412103+06:00", | |
| "destination": "Торговая точка Дордой" | |
| } | |
| } | |
| ], | |
| "defect_log": [], | |
| "expenses": [], | |
| "dordoi_shipments": [ | |
| { | |
| "shipment_id": "bb7baa2ec3f4488f81290e9016583287", | |
| "timestamp": "2025-10-09T15:16:01.412103+06:00", | |
| "items": [ | |
| { | |
| "product_name": "103 Костя", | |
| "quantity": 450 | |
| } | |
| ], | |
| "packed_item_id": "7b8431b2f5854b188e1a7bdfb1a3c62a" | |
| } | |
| ], | |
| "cloud_files": [], | |
| "orders": [ | |
| { | |
| "id": "8ab9a0cf74a54f0fb01b17d914e283c5", | |
| "client_id": "5a4f0cb57e344492a6d0b0c9b4aea106", | |
| "client_name": "Костя", | |
| "model_name": "103", | |
| "fabric_name": "босс", | |
| "fabric_quantity": "550", | |
| "size_range": "42/44/46/54", | |
| "items_quantity": "450", | |
| "prepayment": "0", | |
| "status": "pending", | |
| "timestamp_created": "2025-10-09T14:57:19.369790+06:00", | |
| "timestamp": "2025-10-09T14:57:19.369790+06:00", | |
| "is_procured": true, | |
| "fittings": [ | |
| { | |
| "fitting_name": "нитки", | |
| "quantity": "10" | |
| }, | |
| { | |
| "fitting_name": "пуговицы", | |
| "quantity": "450" | |
| }, | |
| { | |
| "fitting_name": "замок", | |
| "quantity": "450" | |
| }, | |
| { | |
| "fitting_name": "вискоза", | |
| "quantity": "6" | |
| }, | |
| { | |
| "fitting_name": "оконтовка", | |
| "quantity": "5" | |
| } | |
| ], | |
| "procurement_timestamp": "2025-10-09T14:57:34.375334+06:00" | |
| } | |
| ], | |
| "advances": [ | |
| { | |
| "id": "de14cbbc4c8b46ed92951ef360063c11", | |
| "employee_name": "Абдулазиз", | |
| "role": "sewer", | |
| "amount": "2000", | |
| "timestamp": "2025-05-07T17:02:38.543526+06:00", | |
| "is_processed": false | |
| }, | |
| { | |
| "id": "aa62dc14ecbf43eba8f565c1aaad5b66", | |
| "employee_name": "илхом", | |
| "role": "sewer", | |
| "amount": "550", | |
| "timestamp": "2025-05-07T17:03:01.050948+06:00", | |
| "is_processed": false | |
| }, | |
| { | |
| "id": "eedb468931644b9da8b59bd92a52ab64", | |
| "employee_name": "жанна", | |
| "role": "packer", | |
| "amount": "2500", | |
| "timestamp": "2025-05-07T17:03:15.621530+06:00", | |
| "is_processed": false | |
| }, | |
| { | |
| "id": "c9c7ca22d5bb4c17a06254b05dd2517a", | |
| "employee_name": "механик Леща", | |
| "role": "sewer", | |
| "amount": "1300", | |
| "timestamp": "2025-05-07T17:03:55.920788+06:00", | |
| "is_processed": false | |
| }, | |
| { | |
| "id": "490c739d7af446d3b725e26f19e8a523", | |
| "employee_name": "утюжник", | |
| "role": "cutter", | |
| "amount": "2800", | |
| "timestamp": "2025-05-07T17:04:58.009307+06:00", | |
| "is_processed": false | |
| } | |
| ], | |
| "monthly_salaries": { | |
| "2025-05": { | |
| "Абдулазиз": { | |
| "role": "sewer", | |
| "earned": "0", | |
| "advances": "0", | |
| "final_payout": "0" | |
| }, | |
| "илхом": { | |
| "role": "sewer", | |
| "earned": "0", | |
| "advances": "0", | |
| "final_payout": "0" | |
| }, | |
| "жанна": { | |
| "role": "packer", | |
| "earned": "0", | |
| "advances": "0", | |
| "final_payout": "0" | |
| }, | |
| "механик Леща": { | |
| "role": "sewer", | |
| "earned": "0", | |
| "advances": "0", | |
| "final_payout": "0" | |
| }, | |
| "утюжник": { | |
| "role": "cutter", | |
| "earned": "0", | |
| "advances": "0", | |
| "final_payout": "0" | |
| } | |
| } | |
| }, | |
| "config": { | |
| "salary_cutter_per_unit": "0.00", | |
| "salary_sewer_per_unit": "0.00", | |
| "salary_packer_per_unit": "0.00", | |
| "margin_per_item": "0.00" | |
| } | |
| } |