add cancellation for booking

This commit is contained in:
Marshal
2026-08-06 20:05:13 +00:00
parent 8e75ebf5dc
commit 9a50df2be3
9 changed files with 262 additions and 7 deletions

View File

@@ -916,6 +916,11 @@ export default function TrainScheduleV2DetailPage() {
<Title order={2} fw={700} style={{ color: "#0f172a" }}>
{schedule.route?.name ?? "Train schedule"}
</Title>
{schedule.train?.trainName ? (
<Text fw={700} style={{ color: "#0f172a" }}>
{schedule.train.trainName}
</Text>
) : null}
{schedule.train ? (
<Text size="xs" c="dimmed" ff="monospace">
Train {schedule.train.code}