This commit is contained in:
Jake Kasper
2025-08-26 07:14:18 -05:00
parent 0a47dd742b
commit 676105d762
2 changed files with 4 additions and 1 deletions

View File

@@ -75,7 +75,7 @@ router.get('/plans', async (req, res, next) => {
ue.custom_name as equipment_name, et.name as equipment_type,
COUNT(app.id) as product_count,
SUM(app.calculated_product_amount) as total_product_amount,
SUM(app.calculated_water_amount) as total_water_amount,
MAX(app.calculated_water_amount) as total_water_amount,
AVG(app.target_speed_mph) as avg_speed_mph
FROM application_plans ap
JOIN lawn_sections ls ON ap.lawn_section_id = ls.id

View File

@@ -319,6 +319,9 @@ const Applications = () => {
{application.avgSpeedMph > 0 && (
<p> Target Speed: {application.avgSpeedMph.toFixed(1)} mph</p>
)}
{application.spreaderSetting && (
<p> Spreader Setting: {application.spreaderSetting}</p>
)}
</>
) : (
<>