- 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.
66 lines
1.5 KiB
JSON
66 lines
1.5 KiB
JSON
{
|
|
"project": {
|
|
"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"
|
|
},
|
|
"geometry": {
|
|
"roof_type": "skraat_tag",
|
|
"total_area": 342.24,
|
|
"roof_pitch": 25,
|
|
"complexity_factor": 1.2
|
|
},
|
|
"labor": {
|
|
"carpenter_count": 2,
|
|
"total_work_hours": 82,
|
|
"allocated_hours": 75,
|
|
"hourly_rate": 580
|
|
},
|
|
"materials": [
|
|
{
|
|
"material_name": "B7 Tagplader",
|
|
"quantity": 350,
|
|
"unit": "m²",
|
|
"unit_price": 125.50,
|
|
"total_price": 43925.00,
|
|
"supplier": "Bygma",
|
|
"category": "tagmaterialer"
|
|
},
|
|
{
|
|
"material_name": "C18 Taglægter",
|
|
"quantity": 85,
|
|
"unit": "stk",
|
|
"unit_price": 45.00,
|
|
"total_price": 3825.00,
|
|
"supplier": "Bygma",
|
|
"category": "tagmaterialer"
|
|
},
|
|
{
|
|
"material_name": "Tagrender 125mm",
|
|
"quantity": 24,
|
|
"unit": "m",
|
|
"unit_price": 185.00,
|
|
"total_price": 4440.00,
|
|
"supplier": "Bygma",
|
|
"category": "tagmaterialer"
|
|
}
|
|
],
|
|
"calculation": {
|
|
"total_labor_cost": 47560.00,
|
|
"total_material_cost": 52190.00,
|
|
"subtotal": 99750.00,
|
|
"overhead_percentage": 15,
|
|
"overhead_amount": 14962.50,
|
|
"profit_percentage": 20,
|
|
"profit_amount": 19950.00,
|
|
"total_excl_vat": 134662.50,
|
|
"vat_percentage": 25,
|
|
"vat_amount": 33665.63,
|
|
"total_incl_vat": 168328.13
|
|
}
|
|
}
|