shift->_part_pkg_link('svc', @_);
}
+=item supp_part_pkg_link
+
+Returns the associated part_pkg_link records of type 'supp' (supplemental
+packages).
+
+=cut
+
+sub supp_part_pkg_link {
+ shift->_part_pkg_link('supp', @_);
+}
+
sub _part_pkg_link {
my( $self, $type ) = @_;
qsearch({ table => 'part_pkg_link',
);
if ( $bad_upgrade ) {
my $where = 'WHERE history_date <= '.$bad_upgrade->_date.
- ' AND history_date > '.($bad_upgrade->_date - 600);
+ ' AND history_date > '.($bad_upgrade->_date - 3600);
my @h_part_pkg_option = map { FS::part_pkg_option->new($_->hashref) }
qsearch({
'select' => '*',