asdfas
This commit is contained in:
@@ -261,7 +261,11 @@ const ApplicationExecutionModal = ({ application, propertyDetails, onClose, onCo
|
||||
planId: application.id,
|
||||
lawnSectionId: validSectionId,
|
||||
equipmentId: validEquipmentId,
|
||||
gpsTrack: gpsTrack, // Try simple array format
|
||||
gpsTrack: {
|
||||
points: gpsTrack,
|
||||
totalDistance: totalDistance,
|
||||
duration: duration
|
||||
}, // Backend expects object format
|
||||
averageSpeed: Math.max(averageSpeed, 0.1), // Ensure positive number
|
||||
areaCovered: application.totalSectionArea || application.sectionArea || 0,
|
||||
notes: `Application completed via mobile tracking. Duration: ${Math.round(duration/60)} minutes`,
|
||||
|
||||
Reference in New Issue
Block a user