From 46ef8524cf2e6db7b851967062ce92ffb0773d10 Mon Sep 17 00:00:00 2001 From: levinse Date: Thu, 25 Nov 2010 01:46:34 +0000 Subject: ikano.pm initial commit, svc_dsl UI initial commit, and svc_dsl on-going work, RT7111 --- httemplate/edit/elements/svc_Common.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'httemplate/edit/elements/svc_Common.html') diff --git a/httemplate/edit/elements/svc_Common.html b/httemplate/edit/elements/svc_Common.html index e74f44276..2e27f851d 100644 --- a/httemplate/edit/elements/svc_Common.html +++ b/httemplate/edit/elements/svc_Common.html @@ -29,6 +29,13 @@ die "No part_svc entry!" unless $part_svc; label_fixup($part_svc, $opt); + + if ( my $cb = $opt{'svc_edit_callback'} ) { + my $cust_pkg = $pkgnum + ? qsearchs('cust_pkg', {pkgnum=>$pkgnum}) + : ''; #? + &{ $cb }( $cgi,$svc_x, $part_svc,$cust_pkg, $fields,$opt); + } }, 'new_hashref_callback' => sub { -- cgit v1.2.1