mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-27 00:52:50 +00:00
feat(contracts): lazily expire lapsed contracts and price fuel surcharge
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user