diff options
author | Mark Wells <mark@freeside.biz> | 2014-12-31 15:42:21 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2014-12-31 15:42:21 -0800 |
commit | 85291fb4046b876aa1f33ae3e1a57823c30a446e (patch) | |
tree | d51b115ad18d2f735c41bbc2b227ad4ed64e8d6f /httemplate/edit/reason.html | |
parent | 96419278c8a1370b34246515591f0b620adb94c2 (diff) |
add unused_credit option on suspend reasons to browse and edit UI, #31702
Diffstat (limited to 'httemplate/edit/reason.html')
-rw-r--r-- | httemplate/edit/reason.html | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/httemplate/edit/reason.html b/httemplate/edit/reason.html index 78d044755..3e6645ec8 100644 --- a/httemplate/edit/reason.html +++ b/httemplate/edit/reason.html @@ -15,6 +15,7 @@ 'class' => '', 'unsuspend_pkgpart' => 'Unsuspension fee', 'unsuspend_hold' => 'Delay until next bill', + 'unused_credit' => 'Credit unused portion of service', }, 'fields' => \@fields, &> @@ -61,18 +62,22 @@ my @fields = ( }, ); -push @fields, - { 'field' => 'unsuspend_pkgpart', - 'type' => 'select-part_pkg', - 'hashref' => { 'disabled' => '', - 'freq' => 0 }, # one-time charges only - }, - { 'field' => 'unsuspend_hold', - 'type' => 'checkbox', - 'value' => 'Y', - }, - if ( $class eq 'S' ); - - +if ( $class eq 'S' ) { + push @fields, + { 'field' => 'unsuspend_pkgpart', + 'type' => 'select-part_pkg', + 'hashref' => { 'disabled' => '', + 'freq' => 0 }, # one-time charges only + }, + { 'field' => 'unsuspend_hold', + 'type' => 'checkbox', + 'value' => 'Y', + }, + { 'field' => 'unused_credit', + 'type' => 'checkbox', + 'value' => 'Y', + }, + ; +} </%init> |