Files
tilbudgivern/test_project_data.json
T
alex fc40f65fec Add project data, quotes, and real project details for Kunda a/s
- Created test_project_data.json with project details including customer information, project description, and counts for geometry, labor, materials, and quotes.
- Added test_quote_data.json containing company information, project details, geometry, labor, materials, and calculation summary.
- Introduced test_real_project.json with comprehensive project data including labor, materials, and detailed calculations.
- Generated updated_real_project_quote.pdf reflecting the latest project quote details.
2025-09-17 15:13:52 +02:00

81 lines
2.1 KiB
JSON

{
"id": 31,
"project_name": "Kunda a/s",
"customer_name": "Hans Hansen",
"customer_email": "[email protected]",
"customer_phone": "21412544",
"customer_address": "hansegade 12",
"project_description": "udskiftning af b7 tag til nyt b7 tag",
"project_status": "calculation_ready",
"created_at": "2025-09-17T07:12:49.000Z",
"updated_at": "2025-09-17T07:50:53.000Z",
"project_type_id": null,
"geometry_count": 1,
"labor_count": 1,
"materials_count": 1,
"quotes_count": 3
}
{
"success": true,
"geometry": {
"id": 46,
"project_id": 31,
"roof_type": "skraat_tag",
"total_area": "342.24",
"roof_pitch": "45.00",
"roof_height": "11.00",
"complexity_factor": "1.30",
"length_main": "11.00",
"width_main": "22.00",
"has_dormers": 0,
"has_chimneys": 0,
"has_skylights": 0,
"access_difficulty": "medium",
"estimated_work_hours": null,
"estimated_carpenters": null,
"notes": "",
"created_at": "2025-09-17T08:18:32.000Z",
"updated_at": "2025-09-17T08:18:32.000Z",
"roof_type_id": null
}
}
{
"success": true,
"labor": [
{
"id": 31,
"project_id": 31,
"carpenter_count": 2,
"estimated_hours_per_carpenter": "1.00",
"total_work_hours": "2.00",
"hourly_rate": "580.00",
"total_labor_cost": "1160.00",
"work_breakdown": "[{\"task\":\"Nedrivning af eksisterende\",\"hours\":2,\"rate\":580,\"cost\":1160,\"notes\":\"Fjernelse af gamle materialer\"}]",
"allocated_hours_breakdown": null,
"special_conditions": null,
"notes": "1 arbejdsopgaver registreret",
"created_at": "2025-09-17T08:18:39.000Z",
"updated_at": "2025-09-17T08:18:39.000Z"
}
]
}
{
"success": true,
"materials": [
{
"id": 34,
"project_id": 31,
"material_name": "B7 tagplader",
"material_category": "tagmaterialer",
"quantity": "1.000",
"unit": "m2",
"unit_price": "285.00",
"total_price": "285.00",
"supplier": "Bygma",
"material_source": "manual",
"notes": "Fra database - tagmaterialer",
"created_at": "2025-09-17T07:13:46.000Z"
}
]
}