Lines 779-793
sub GetOverdueMessageTransportTypes {
Link Here
|
779 |
}, |
779 |
}, |
780 |
{ |
780 |
{ |
781 |
join => 'overduerules_transport_types', |
781 |
join => 'overduerules_transport_types', |
|
|
782 |
'+select' => ['overduerules_transport_types.message_transport_type'], |
783 |
'+as' => ['message_transport_type'], |
782 |
} |
784 |
} |
783 |
)->next; |
785 |
); |
784 |
|
786 |
|
785 |
return [] unless $rule; |
787 |
return [] unless $rule; |
786 |
|
788 |
|
787 |
my $transport_types = $rule->transport_types; |
|
|
788 |
my @mtts; |
789 |
my @mtts; |
789 |
while ( my $mtt = $transport_types->next ) { |
790 |
while ( my $mtt = $rule->next ) { |
790 |
push @mtts, $mtt->message_transport_type; |
791 |
push @mtts, $mtt->get_column('message_transport_type'); |
791 |
} |
792 |
} |
792 |
|
793 |
|
793 |
# Put 'print' in first if exists |
794 |
# Put 'print' in first if exists |
794 |
- |
|
|