Part-DB-server/templates/projects
MayNiklas 82e55bc83d Add build price summary to project info tab
Displays the total BOM price for N builds on the project info page,
using the existing price-tier logic from PricedetailHelper. The user
can adjust the number of builds via a small form; the unit price is
also shown when N > 1.

New backend:
- ProjectBuildHelper gains calculateTotalBuildPrice(),
  calculateUnitBuildPrice(), roundedTotalBuildPrice(), and
  roundedUnitBuildPrice() — bulk-order quantities are factored in so
  that price tiers apply correctly across N builds.
- ProjectController::info() now reads ?n= and passes number_of_builds
  to the template.

Template (_info.html.twig):
- Adds price badge (hidden when no pricing data is available).
- Adds number-of-builds form that reloads the info page.
2026-04-15 12:38:06 +02:00
..
build Use yellow alert box for notifying of empty bom on build, show infinite correclty and added translations 2025-10-18 23:32:20 +02:00
info Add build price summary to project info tab 2026-04-15 12:38:06 +02:00
_bom_validation_results.html.twig Implement functionality to import schematic csv (or any other csv for that matter), with ability to map input columns to output columns with input validation and error handling 2025-09-06 19:54:13 +02:00
add_parts.html.twig Renamed form/ templates folder to recommended snake_case style 2023-02-04 23:21:36 +01:00
import_bom.html.twig Added bom import to ApplicationAvailabilityFunctionalTest 2023-03-16 23:39:28 +01:00
import_bom_map_fields.html.twig Do not throw an 500 error, if mapping is not possible 2026-03-15 21:47:15 +01:00