[freeside-commits] freeside/httemplate/edit/elements svc_Common.html, 1.17, 1.18

Ivan,,, ivan at wavetail.420.am
Sun Mar 27 19:00:55 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/edit/elements
In directory wavetail.420.am:/tmp/cvs-serv12828/httemplate/edit/elements

Modified Files:
	svc_Common.html 
Log Message:
finish existing customer dsl order, RT#7111

Index: svc_Common.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/elements/svc_Common.html,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -w -d -r1.17 -r1.18
--- svc_Common.html	25 Nov 2010 01:46:34 -0000	1.17
+++ svc_Common.html	28 Mar 2011 02:00:53 -0000	1.18
@@ -14,6 +14,13 @@
                    label_fixup($part_svc, $opt);
 
                    $svc_x->setfield('svcpart', $svcpart);
+
+                   if ( my $cb = $opt{'svc_error_callback'} ) {
+                     my $cust_pkg = $pkgnum
+                                      ? qsearchs('cust_pkg', {pkgnum=>$pkgnum})
+                                      : ''; #?
+                     &{ $cb }( $cgi,$svc_x, $part_svc,$cust_pkg, $fields,$opt);
+                   }
                  },
 
                  'edit_callback' => sub {



More information about the freeside-commits mailing list