summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_bill.cgi
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-10-24 11:50:07 -0700
committerMark Wells <mark@freeside.biz>2016-10-24 11:50:07 -0700
commitbc60fbd27b5ca8d41b9dae134ccc7f493c2742db (patch)
treea19ab68502755bd4cb6ee809fb5199910fd57caf /httemplate/view/cust_bill.cgi
parent139958c5a4254052b525243d25a23d266d2c0c5b (diff)
more detailed view of invoice taxes
Diffstat (limited to 'httemplate/view/cust_bill.cgi')
-rwxr-xr-xhttemplate/view/cust_bill.cgi25
1 files changed, 19 insertions, 6 deletions
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) {
<A HREF="<% $p %>view/cust_bill-pdf.cgi?<% $link %>"><% mt('View typeset invoice PDF') |h %></A>
% $br++;
-% }
-
-% if ( $cust_bill->num_cust_event ) {
-<% $br ? '|' : '' %>
-<A HREF="<%$p%>search/cust_event.html?invnum=<% $cust_bill->invnum %>"><% mt('View invoice events') |h %></A>
-% $br++;
% }
% my @modes = grep {! $_->disabled}
@@ -164,6 +158,25 @@ function change_invoice_mode(obj) {
obj.form.submit();
}
</SCRIPT>
+</FORM>
+% }
+
+% if ( $cust_bill->num_cust_event ) {
+<% $br ? '|' : '' %>
+<A HREF="<%$p%>search/cust_event.html?invnum=<% $cust_bill->invnum %>"><% mt('View invoice events') |h %></A>
+% $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++;
% }
<BR><BR>