summaryrefslogtreecommitdiff
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 18:10:11 -0500
commitf66975fb6e9fdf4ccd07a05ed830211d3639d088 (patch)
treee1469ea5a2061003194b07815760a5963f1bf130
parentb15d420a27a17ea71f4d975775dabc79380ced1a (diff)
RT#37165: Print document when account is created [added svcnum to job]
-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,