[freeside-commits] branch master updated. 80d97e2e53aaab8ac67da8e43c6352222b78c1d5

Jonathan Prykop jonathan at 420.am
Wed Jul 22 14:48:17 PDT 2015


The branch, master has been updated
       via  80d97e2e53aaab8ac67da8e43c6352222b78c1d5 (commit)
      from  6a5c6931db91ef135b212cd679f1e296708333fd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 80d97e2e53aaab8ac67da8e43c6352222b78c1d5
Author: Jonathan Prykop <jonathan at freeside.biz>
Date:   Wed Jul 22 16:47:50 2015 -0500

    RT#37165: Print document when account is created [added svcnum to job]

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,

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/part_export/print_template.pm |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list