Unverified Commit 6abf917b authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

work: fetch arrival wagon order for VBN and ÖBB as well

parent eec9ebe3
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -116,10 +116,15 @@ sub run {
								dep_eva => $dep,
								arr_eva => $arr
							);
							if (    $entry->{backend_id} <= 1
							if (
								(
									   $entry->{backend_id} <= 1
									or $entry->{backend_name} eq 'VRN'
									or $entry->{backend_name} eq 'ÖBB'
								)
								and $journey->class <= 16
								and $found_arr->rt_arr->epoch - $now->epoch
								< 600 )
								and $found_arr->arr->epoch - $now->epoch < 600
							  )
							{
								$self->app->add_wagonorder(
									uid        => $uid,