action#checkin: re-add auto checkout
was removed from $self->checkin in 1074f248cc
This commit is contained in:
parent
81fb92199c
commit
f9d1c266ce
1 changed files with 8 additions and 0 deletions
|
@ -621,6 +621,14 @@ sub travel_action {
|
||||||
|
|
||||||
if ( $params->{action} eq 'checkin' ) {
|
if ( $params->{action} eq 'checkin' ) {
|
||||||
|
|
||||||
|
my $status = $self->get_user_status;
|
||||||
|
if ( $status->{checked_in}
|
||||||
|
and $status->{arr_eva}
|
||||||
|
and $status->{arrival_countdown} <= 0 )
|
||||||
|
{
|
||||||
|
$self->checkout( station => $status->{arr_eva} );
|
||||||
|
}
|
||||||
|
|
||||||
$self->render_later;
|
$self->render_later;
|
||||||
$self->checkin_p(
|
$self->checkin_p(
|
||||||
station => $params->{station},
|
station => $params->{station},
|
||||||
|
|
Loading…
Reference in a new issue