X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fquick-charge.html;h=ec1a58046219e1b270f8701e1a1ea9a8d33fee79;hp=da9ac6e66f9ae4bf7c2285071677390e83626848;hb=2457752a82358108aa078f175a4e866f1786299a;hpb=e2213aaeab76983c26d92c1e1d928fe4e062accf diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index da9ac6e66..ec1a58046 100644 --- a/httemplate/edit/quick-charge.html +++ b/httemplate/edit/quick-charge.html @@ -111,13 +111,23 @@ function bill_now_changed (what) { % # don't allow changing these after the fact % $field = '/elements/tr-fixed.html' if $billed; <& $field, - label => 'Amount', - field => 'amount', - value => sprintf('%.2f',$part_pkg->option('setup_fee')), - size => 8, - prefix => $money_char, + label => mt('Amount to charge'), + field => 'amount', + value => sprintf('%.2f',$part_pkg->option('setup_fee')), + size => 8, + prefix => $money_char, &> +% if ( $curuser->access_right('Edit package definition costs') ) { + <& $field, + label => mt('Cost'), + field => 'setup_cost', + value => sprintf('%.2f',$part_pkg->setup_cost), + size => 8, + prefix => $money_char, + &> +% } + % if ( $conf->exists('invoice-unitprice') ) { <& $field, label => 'Quantity', @@ -158,20 +168,31 @@ function bill_now_changed (what) { } &> % } + % } else { # new one-time charge -