X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main.cgi;h=0610bc324004b67d58f33a749d99bdd5e342e053;hb=c1e33a61324f4e06157c522af7882a97a021830f;hp=f0d342633e63578803b2183c8502dc766c6a6791;hpb=d515768232afa35557496bb867f5708f279465e3;p=freeside.git
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi
index f0d342633..0610bc324 100755
--- a/httemplate/view/cust_main.cgi
+++ b/httemplate/view/cust_main.cgi
@@ -241,9 +241,10 @@ print '';
if ( defined $cust_main->dbdef_table->column('comments')
&& $cust_main->comments )
{
- print "
Comments", &ntable("#cccccc"), "
', $cust_main->comments, + print "
Comments". &ntable("#cccccc"). "". + &ntable("#cccccc",2). + ' '; } @@ -295,7 +296,11 @@ print qq! '. + encode_entities($cust_main->comments). '
!; print <function cust_pkg_areyousure(href) { - if (confirm("Permanantly delete included services and cancel this package?") == true) + if (confirm("Permanently delete included services and cancel this package?") == true) + window.location.href = href; +} +function svc_areyousure(href) { + if (confirm("Permanently unprovision and delete this service?") == true) window.location.href = href; } @@ -400,6 +405,7 @@ foreach my $package (@packages) { #foreach my $cust_svc ( @cust_svc ) { foreach my $svcpart ( sort { $a<=>$b } keys %pkg_svc ) { my $svc = qsearchs('part_svc',{'svcpart'=>$svcpart})->getfield('svc'); + $svc =~ s/ / /g; my(@cust_svc)=qsearch('cust_svc',{'pkgnum'=>$pkgnum, 'svcpart'=>$svcpart, }); @@ -410,13 +416,13 @@ foreach my $package (@packages) { my($svcnum) = $cust_svc->svcnum; my($sview) = popurl(2). "view"; print $n2,qq! $label !, - qq!$value !; + qq!$value !; } else { print $n2, qq!
( Unprovision )!. - qq!Provision $svc!; + qq!Provision $svc!; print qq! ';
!. - qq!Link to legacy $svc! + qq!Link to legacy $svc! if $conf->exists('legacy_link'); print '