summaryrefslogtreecommitdiff
path: root/FS
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 17:51:36 -0500
commit10eaf1565de740f5036b8cf715362127491082b1 (patch)
treebf31d84ab25fdfe57f643979132178c66dada36f /FS
parente271af2aed5a0c0b7814947cb8690405318067e4 (diff)
RT#37165: Print document when account is created [added svcnum to job]
Diffstat (limited to 'FS')
-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 21f0a152e..65e68ac56 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,