projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 83450 - fixed rateplan export
[freeside.git]
/
FS
/
FS
/
part_export
/
print_template.pm
diff --git
a/FS/FS/part_export/print_template.pm
b/FS/FS/part_export/print_template.pm
index
21f0a15
..
b299ab4
100644
(file)
--- 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
%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,
],
'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 {
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,
};
my $error = $queue->insert(
'svcnum' => $svc_x->svcnum,