diff --git a/src/lib/components/ui/station-board/StaffServicesTable.svelte b/src/lib/components/ui/station-board/StaffServicesTable.svelte index 26f7ec1..20c733f 100644 --- a/src/lib/components/ui/station-board/StaffServicesTable.svelte +++ b/src/lib/components/ui/station-board/StaffServicesTable.svelte @@ -1,6 +1,6 @@ -
| Arr | Dep | -|||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ID | @@ -26,13 +24,12 @@Act | Sch | Act | -+/- | ||||||||||||
| {service.h} | {service.og.t} | {service.dt.t} | @@ -40,46 +37,67 @@ {#if service.wtp} -Pass | +Pass | {formatUkTime(service.wtp)} | -{formatUkTime(service.atp || service.etp)} | +{formatUkTime(service.atp || service.etp)} | {:else}{formatUkTime(service.sta)} | -{formatUkTime(service.ata || service.eta)} | +{formatUkTime(service.ata || service.eta)} | {formatUkTime(service.std)} | -{formatUkTime(service.atd || service.etd)} | +{formatUkTime(service.atd || service.etd)} | {/if} - - {#if service} - {@const delay = calculateDelay(service)} -{delay.val} | - {/if}||
| {service.cr.r} | + ++ {service.cr.r} + {#if service.cr.l} + {service.cr.n ? "near" : "at"} + {service.cr.l} + {/if} + | +|||||||||||||||
| + {service.dr.r} + {#if service.dr.l} + {service.dr.n ? "near" : "at"} + {service.dr.l} + {/if} + | ||||||||||||||||