File size: 6,598 Bytes
e5982b6
5e9bd07
 
 
 
406a686
5e9bd07
 
 
 
 
6d15d81
5e9bd07
6d15d81
ae0aa86
 
 
 
e98e105
ae0aa86
 
 
 
 
6d15d81
ae0aa86
6d15d81
ae0aa86
 
 
 
e98e105
ae0aa86
 
 
 
 
6d15d81
ae0aa86
6d15d81
ae0aa86
 
 
 
e98e105
ae0aa86
 
 
 
 
 
 
e98e105
5e9bd07
 
6d15d81
406a686
 
 
 
 
 
 
 
e98e105
 
406a686
e98e105
406a686
 
 
 
e98e105
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c9d47fa
 
e98e105
 
 
c9d47fa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55aa5ac
 
 
 
 
 
e98e105
 
e5982b6
 
55aa5ac
 
 
 
 
 
 
 
 
 
 
 
 
e5982b6
6de2b55
f756b11
e5982b6
 
 
 
 
 
 
852c4d8
 
 
 
 
 
9bf16b5
 
 
 
 
 
38f336f
 
 
 
 
 
6eb2a72
 
 
 
 
 
e5982b6
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
{
    "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": [],
    "advances": [],
    "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"
    }
}