This commit is contained in:
natib21
2026-06-27 14:57:17 +00:00
parent 8c82699699
commit 8c7f03c722
2 changed files with 4 additions and 0 deletions

View File

@@ -164,6 +164,8 @@ const tripSlipRows = (record: FirstMileRecord): [string, string][] => [
["Vehicle", vehicleLabel(record) ?? "Unassigned"],
["Contact", `${contactPersonName(record)} · ${contactPhone(record)}`],
["Requested date", requestedDate(record)],
["Est. Distance (KM)", record.estimatedKm != null ? String(record.estimatedKm) : "—"],
["Actual Distance (KM)", record.exactKm != null ? String(record.exactKm) : "—"],
["Status", STATUS_META[record.status].label],
];

View File

@@ -157,6 +157,8 @@ const tripSlipRows = (record: LastMileRecord): [string, string][] => [
["Vehicle", vehicleLabel(record) ?? "Unassigned"],
["Contact", `${contactPersonName(record)} · ${contactPhone(record)}`],
["Requested date", requestedDate(record)],
["Est. Distance (KM)", record.estimatedKm != null ? String(record.estimatedKm) : "—"],
["Actual Distance (KM)", record.exactKm != null ? String(record.exactKm) : "—"],
["Status", STATUS_META[record.status].label],
];