X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_bill.cgi;h=c7238e6a891ed5b8563053e58bbf119352032604;hp=6d5277612f190d181b3a4519bf7380ae19dcbade;hb=bc60fbd27b5ca8d41b9dae134ccc7f493c2742db;hpb=139958c5a4254052b525243d25a23d266d2c0c5b diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi index 6d5277612..c7238e6a8 100755 --- a/httemplate/view/cust_bill.cgi +++ b/httemplate/view/cust_bill.cgi @@ -132,12 +132,6 @@ function areyousure(href, message) { <% mt('View typeset invoice PDF') |h %> % $br++; -% } - -% if ( $cust_bill->num_cust_event ) { -<% $br ? '|' : '' %> -<% mt('View invoice events') |h %> -% $br++; % } % my @modes = grep {! $_->disabled} @@ -164,6 +158,25 @@ function change_invoice_mode(obj) { obj.form.submit(); } + +% } + +% if ( $cust_bill->num_cust_event ) { +<% $br ? '|' : '' %> +<% mt('View invoice events') |h %> +% $br++; +% } +% if ( $cust_bill->tax > 0 ) { # inefficient +<% $br ? '|' : '' %> +<& /elements/popup_link.html, + 'action' => 'cust_bill_tax_matrix.html?' . $cust_bill->invnum, + 'label' => mt('View tax details'), + 'actionlabel' => mt('Tax details'), + 'width' => 1050, + 'height' => 500, + 'title' => emt('Tax details'), +&> +% $br++; % }