From 67ecd0e886a2d08ff77bac7fb82c0b9be202710f Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 3 Apr 2017 17:29:29 -0700 Subject: [PATCH] discounts on one-time charges< RT#75448 --- httemplate/edit/quick-charge.html | 44 +++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index 0045b1fb7..07501a4cf 100644 --- a/httemplate/edit/quick-charge.html +++ b/httemplate/edit/quick-charge.html @@ -224,9 +224,6 @@ function bill_now_changed (what) { -% if ( $curuser->access_right('Edit package definition costs') ) { -% } - % if ( $conf->exists('invoice-unitprice') ) { <% mt('Quantity') |h %> @@ -262,7 +259,7 @@ function bill_now_changed (what) { % unless ($quotationnum) { - <% mt('Optional additional description (also printed on invoice):') |h %> + <% mt('Optional additional description (also printed on invoice):') |h %> % foreach (@description) { @@ -349,30 +346,30 @@ function bill_now_changed (what) { -% if ( $curuser->access_right('Edit package definition costs') ) { + - + Taxation + - Taxation -
+ + + + - - - - + <& /elements/tr-select-taxclass.html, 'curr_value' => scalar($cgi->param('taxclass')) &> - <& /elements/tr-select-taxclass.html, 'curr_value' => scalar($cgi->param('taxclass')) &> + <& /elements/tr-select-taxproduct.html, + 'label' => emt('Tax product'), + 'curr_value' => scalar($cgi->param('taxproductnum')), + &> - <& /elements/tr-select-taxproduct.html, - 'label' => emt('Tax product'), - 'curr_value' => scalar($cgi->param('taxproductnum')), - &> + <& /elements/tr-select-taxoverride.html, + 'curr_value' => scalar($cgi->param('tax_override')), + &> - <& /elements/tr-select-taxoverride.html, - 'curr_value' => scalar($cgi->param('tax_override')), - &> +
<% mt('Tax exempt') |h %> param('setuptax') ? 'CHECKED' : '' %>>
<% mt('Tax exempt') |h %> param('setuptax') ? 'CHECKED' : '' %>>
- +% if ( $curuser->access_right('Edit package definition costs') ) {
<% mt('Cost Accounting') |h %> @@ -388,10 +385,11 @@ function bill_now_changed (what) { - - % } + + + -- 2.11.0