X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_bill.cgi;h=c7238e6a891ed5b8563053e58bbf119352032604;hb=36246368fb9b34b03c05572d212e2f48abbb63f2;hp=d9525750cdc6923dbae7e5898dcffbf04e805dba;hpb=4b05b20576ddb14577d59c87c8257c6804449410;p=freeside.git diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi index d9525750c..c7238e6a8 100755 --- a/httemplate/view/cust_bill.cgi +++ b/httemplate/view/cust_bill.cgi @@ -83,7 +83,7 @@ function areyousure(href, message) { % $onclick = ''; % if ( $cust_bill->promised_date ) { % my $date_format = $conf->config('date_format') || '%b %o, %Y'; - <% mt('Payment promised by [_1]', + <% emt('Payment promised by [_1]', time2str($date_format, $cust_bill->promised_date) ) %> ( <% $onclick %><% mt('change') |h %> )

@@ -132,19 +132,13 @@ 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} % $cust_bill->cust_main->agent->invoice_modes; % if ( @modes || $include_statement_template ) { <% $br ? '|' : '' %> -<% mt('View as:') %> +<% emt('View as:') %>
<& /elements/select-table.html, @@ -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++; % }