projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 21110, Updated files to use jquery-validate jquery plugin. This allows for field...
[freeside.git]
/
httemplate
/
edit
/
part_pkg.cgi
diff --git
a/httemplate/edit/part_pkg.cgi
b/httemplate/edit/part_pkg.cgi
index
84e74f6
..
7c4a5e6
100755
(executable)
--- a/
httemplate/edit/part_pkg.cgi
+++ b/
httemplate/edit/part_pkg.cgi
@@
-559,7
+559,7
@@
my $clone_callback = sub {
if ( $cgi->param('pkgnum') ) {
if ( $cgi->param('pkgnum') ) {
- my $cust_pkg = qsearchs('cust_pkg', { 'pkgnum' =>
$cgi->param('pkgnum'
) } );
+ my $cust_pkg = qsearchs('cust_pkg', { 'pkgnum' =>
scalar($cgi->param('pkgnum')
) } );
$object->agentnum( $cust_pkg->cust_main->agentnum );
$opt->{action} = 'Custom';
$object->agentnum( $cust_pkg->cust_main->agentnum );
$opt->{action} = 'Custom';
@@
-586,6
+586,11
@@
my $clone_callback = sub {
$recur_disabled = $object->freq ? 0 : 1;
$recur_disabled = $object->freq ? 0 : 1;
+ $recur_show_zero_disabled =
+ $object->freq
+ ? $object->option('recur_fee') > 0 ? 1 : 0
+ : 1;
+
};
my $discount_error_callback = sub {
};
my $discount_error_callback = sub {