freeside/httemplate/edit/process part_pkg.cgi,1.12,1.13
ivan
ivan at pouncequick.420.am
Thu Dec 23 01:15:18 PST 2004
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory pouncequick:/tmp/cvs-serv25586/process
Modified Files:
part_pkg.cgi
Log Message:
fix bug with custom pricing packages when no primary service is selected
Index: part_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/part_pkg.cgi,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- part_pkg.cgi 26 Nov 2004 08:51:52 -0000 1.12
+++ part_pkg.cgi 23 Dec 2004 09:15:16 -0000 1.13
@@ -30,14 +30,15 @@
my $error;
my $custnum = '';
if ( $pkgpart ) {
- $error = $new->replace( $old, 'pkg_svc' => \%pkg_svc,
- 'primary_svc' => $cgi->param('pkg_svc_primary'),
+ $error = $new->replace( $old,
+ pkg_svc => \%pkg_svc,
+ primary_svc => scalar($cgi->param('pkg_svc_primary')),
);
} else {
- $error = $new->insert( 'pkg_svc' => \%pkg_svc,
- 'primary_svc' => $cgi->param('pkg_svc_primary'),
- 'cust_pkg' => $cgi->param('pkgnum'),
- 'custnum_ref' => \$custnum,
+ $error = $new->insert( pkg_svc => \%pkg_svc,
+ primary_svc => scalar($cgi->param('pkg_svc_primary')),
+ cust_pkg => $cgi->param('pkgnum'),
+ custnum_ref => \$custnum,
);
$pkgpart = $new->pkgpart;
}
More information about the freeside-commits
mailing list