X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fprint_template.pm;h=b299ab493df7372fd548c2a0aba70266f7275569;hp=21f0a152e236e59452b43efadbed396020264ce6;hb=5372897f367498972c96f5494e142e6e11b29eb8;hpb=bc68d45408c963fbf7c024c15198373dc6b1de8f diff --git a/FS/FS/part_export/print_template.pm b/FS/FS/part_export/print_template.pm index 21f0a152e..b299ab493 100644 --- a/FS/FS/part_export/print_template.pm +++ b/FS/FS/part_export/print_template.pm @@ -38,9 +38,9 @@ tie my %options, 'Tie::IxHash', %info = ( #unfortunately, FS::part_svc->svc_tables fails at this point, not sure why - 'svc' => [ map { 'svc_'.$_ } qw( - acct domain cert forward mailinglist www broadband cable dsl - conferencing video dish hardware phone pbx circuit port alarm external) + 'svc' => [ qw( svc_acct svc_domain svc_cert svc_forward svc_mailinglist svc_www + svc_broadband svc_cable svc_dsl svc_conferencing svc_video svc_dish + svc_hardware svc_phone svc_pbx svc_circuit svc_port svc_alarm svc_external ) ], 'desc' => 'Print document during service change, for all services', 'options' => \%options, @@ -142,7 +142,8 @@ sub print_template { my ($self, $phase, $svc_x) = @_; if ($self->option('phase') eq $phase) { my $queue = new FS::queue { - 'job' => 'FS::part_export::print_template::process_print_template', + 'svcnum' => $svc_x->svcnum, + 'job' => 'FS::part_export::print_template::process_print_template', }; my $error = $queue->insert( 'svcnum' => $svc_x->svcnum,