package templates

import (
	. "primesys_email/src/models/report"
)

func CreateMopperReportExcel(reports []DivisionTripReportModel, divisionName string, reportDate string) ([]byte, error) {
	t := tableReport{
		sheet:   "Mopper Report",
		title:   "MOPPER REPORT",
		widths:  []float64{10, 28, 22, 16, 18, 16, 22, 16, 26},
		headers: []string{"Sr.No", "Name", "OnTrack Time", "Actual KM", "Total Working", "Total Idle", "Walking Distance", "Max Speed", "Start% - End% Battery"},
	}

	return writeTableReport(t, reports, divisionName, reportDate, workingIdleRow("-% - -%"))
}
