summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command/work.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-05-18 17:10:53 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-05-18 17:10:53 +0200
commite68043b8fb840bad3091f53f5e9adca3451d40d1 (patch)
tree351818a9ff0ec03079b01374a96ea9368066b633 /lib/Travelynx/Command/work.pm
parentb4676c11fbb6893558f3c168183786e666b3ae72 (diff)
Show arrival/departure platform in journey card
Diffstat (limited to 'lib/Travelynx/Command/work.pm')
-rw-r--r--lib/Travelynx/Command/work.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Travelynx/Command/work.pm b/lib/Travelynx/Command/work.pm
index 6c84d49..a9969f3 100644
--- a/lib/Travelynx/Command/work.pm
+++ b/lib/Travelynx/Command/work.pm
@@ -45,6 +45,7 @@ sub run {
$db->update(
'in_transit',
{
+ dep_platform => $train->platform,
real_departure => $train->departure,
route => join( '|', $train->route ),
messages => join(
@@ -95,6 +96,7 @@ sub run {
$db->update(
'in_transit',
{
+ arr_platform => $train->platform,
sched_arrival => $train->sched_arrival,
real_arrival => $train->arrival,
route => join( '|', $train->route ),