diff options
| author | ivan <ivan> | 2011-07-27 23:27:15 +0000 | 
|---|---|---|
| committer | ivan <ivan> | 2011-07-27 23:27:15 +0000 | 
| commit | c4b71bc4459cb7d403cbebede470aeb2c6292a6e (patch) | |
| tree | 4de250dcaeb9d87aeb83476b59b1d20a83c52dff /httemplate/view | |
| parent | 0317d666dca468a5495541cf394ab001dcd4a77c (diff) | |
add per-customer "Invoice reports" link, RT#13802
Diffstat (limited to 'httemplate/view')
| -rw-r--r-- | httemplate/view/cust_main/payment_history.html | 24 | 
1 files changed, 24 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html index f29ae164b..fa9c16697 100644 --- a/httemplate/view/cust_main/payment_history.html +++ b/httemplate/view/cust_main/payment_history.html @@ -1,3 +1,7 @@ +<TABLE> +  <TR> +    <TD ALIGN="left"> +  %# payment links  % my $s = 0; @@ -28,6 +32,9 @@    <A HREF="<% $p %>edit/cust_pay.cgi?payby=WEST;custnum=<% $custnum %>"><% mt('Enter Western Union payment') |h %></A>  % }  +<BR> +% $s=0; +  % if ( ( $payby{'CARD'} || $payby{'DCRD'} )  %        && $curuser->access_right(['Process payment', 'Process credit card payment'])  %        && ! $cust_main->is_encrypted($cust_main->payinfo) @@ -113,8 +120,17 @@    <A HREF="<% $p %>edit/cust_refund.cgi?payby=MCRD;custnum=<% $custnum %>"><% mt('Post manual (offline/POS) credit card refund') |h %></A>  % }  +    </TD> +    <TD ALIGN="right" VALIGN="top"> + +%# invoice reports +% if ( $curuser->access_right('List invoices') ) {  +  <A HREF="<% $p %>search/report_cust_bill.html?custnum=<% $custnum %>"><% mt('Invoice reports') |h %></A> +% }   <BR> +%# XXX payments, credits, refund reports +  %# tax exemption link  % my $view_exemptions = $curuser->access_right('View customer tax exemptions'); @@ -166,6 +182,11 @@      <A HREF="<% $p %>search/cust_pay_pending.html?magic=_date;statusNOT=done;custnum=<% $custnum %>"><% mt('View pending payments') |h %></A><BR>  % } +    </TD> +  </TR> +  <TR> +    <TD COLSPAN=2> +  %# and now the table  <& /elements/table-grid.html &> @@ -319,6 +340,9 @@  %}  </TABLE> +    </TD> +  </TR> +</TABLE>  <SCRIPT TYPE="text/javascript">  | 
