feat(contracts): lazily expire lapsed contracts and price fuel surcharge

This commit is contained in:
Marshal
2026-08-12 11:23:04 +00:00
parent a02d24806b
commit 3dbda745dd
5 changed files with 112 additions and 17 deletions

View File

@@ -211,6 +211,19 @@ function WindowCard({ w }: { w: MyBookingWindow }) {
</Text>
</Fragment>
))}
{w.trainNumber ? (
<Text
fz={13}
fw={700}
style={{
color: INK,
flexShrink: 0,
fontVariantNumeric: "tabular-nums",
}}
>
Train {w.trainNumber}
</Text>
) : null}
</Group>
<Group gap={6} wrap="nowrap" mt={8}>
@@ -221,7 +234,7 @@ function WindowCard({ w }: { w: MyBookingWindow }) {
</Group>
{w.departureDate ? (
<Text fz={12} style={{ color: MUTED }}>
Departs {fmtDay(w.departureDate)}
Departs {fmtDay(w.departureDate)}, {fmtTime(w.departureDate)}
</Text>
) : null}
</Box>