projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1bbbe42
)
start billing link for one-time charge packages ordered on hold, RT#75813
author
Ivan Kohler
<ivan@freeside.biz>
Mon, 15 May 2017 22:36:40 +0000
(15:36 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Mon, 15 May 2017 22:36:40 +0000
(15:36 -0700)
httemplate/view/cust_main/packages/package.html
patch
|
blob
|
history
diff --git
a/httemplate/view/cust_main/packages/package.html
b/httemplate/view/cust_main/packages/package.html
index
860cd47
..
3b39c86
100644
(file)
--- a/
httemplate/view/cust_main/packages/package.html
+++ b/
httemplate/view/cust_main/packages/package.html
@@
-262,8
+262,7
@@
},
{ label => 'Discount package',
},
{ label => 'Discount package',
- condition => sub { $part_pkg->freq ne '0'
- && ! $change_from
+ condition => sub { ! $change_from
&& ! $supplemental
&& ! $cust_pkg->get('cancel')
&& $can_discount_pkg
&& ! $supplemental
&& ! $cust_pkg->get('cancel')
&& $can_discount_pkg
@@
-471,12
+470,11
@@
{ label => 'Start billing',
acl => 'Unsuspend customer package',
{ label => 'Start billing',
acl => 'Unsuspend customer package',
- condition => sub { $part_pkg->freq ne '0'
- && ! $change_from
- && ! $supplemental
- && ! $cust_pkg->get('cancel')
- && $cust_pkg->get('susp')
- && $cust_pkg->order_date == $cust_pkg->get('susp')
+ condition => sub { ! $change_from
+ && ! $supplemental
+ && ! $cust_pkg->get('cancel')
+ && $cust_pkg->get('susp')
+ && $cust_pkg->order_date == $cust_pkg->get('susp')
},
popup => "misc/unhold_pkg.html?$plink",
actionlabel => emt('Start billing'),
},
popup => "misc/unhold_pkg.html?$plink",
actionlabel => emt('Start billing'),