summaryrefslogtreecommitdiff
path: root/FS/FS/part_export
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-07-22 16:47:50 -0500
committerJonathan Prykop <jonathan@freeside.biz>2015-07-22 16:47:50 -0500
commit80d97e2e53aaab8ac67da8e43c6352222b78c1d5 (patch)
tree61235f3da993aff255a5aff0a0cc159684042625 /FS/FS/part_export
parent6a5c6931db91ef135b212cd679f1e296708333fd (diff)
RT#37165: Print document when account is created [added svcnum to job]
Diffstat (limited to 'FS/FS/part_export')
-rw-r--r--FS/FS/part_export/print_template.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/part_export/print_template.pm b/FS/FS/part_export/print_template.pm
index 21f0a15..65e68ac 100644
--- a/FS/FS/part_export/print_template.pm
+++ b/FS/FS/part_export/print_template.pm
@@ -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,