X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fedit%2Fcust_pay.cgi;h=f0826f65215c963bc8fa8028ca42f719924867e0;hb=bc46f7537fffb7019185d12ee4302d1f5b6da901;hp=0bb86e352e4bab0622273a68536f83ba70897fd4;hpb=d0c5ddbd31af8b1747d447f31623e1af05961eb4;p=freeside.git diff --git a/httemplate/edit/cust_pay.cgi b/httemplate/edit/cust_pay.cgi index 0bb86e352..f0826f652 100755 --- a/httemplate/edit/cust_pay.cgi +++ b/httemplate/edit/cust_pay.cgi @@ -18,11 +18,12 @@ -

+
<% mt('Payment') |h %> <% ntable("#cccccc", 2) %> +% if ( $FS::CurrentUser::CurrentUser->access_right(['Backdate payment']) ) { <% mt('Date') |h %> @@ -39,16 +40,25 @@ align: "BR" }); +% } +% else { + + <% mt('Date') |h %> + + <% time2str($date_format.' %r',$_date) %> + + +% } <% mt('Amount') |h %> <% $money_char %> - <% mt('by') |h %> <% mt(FS::payby->payname($payby)) |h %> + <% mt('by') |h %> <% mt(FS::payby->payname($payby)) |h %> <& /elements/tr-select-discount_term.html, 'custnum' => $custnum, - 'cgi' => $cgi + 'amount_id' => 'paid', &> % if ( $payby eq 'BILL' ) { @@ -56,7 +66,29 @@ <% mt('Check #') |h %> -% } +% } +% elsif ( $payby eq 'CASH' and $conf->exists('require_cash_deposit_info') ) { + + <% mt('Bank') |h %> + + + + <% mt('Check #') |h %> + + + + <% mt('Teller #') |h %> + + + + <% mt('Depositor') |h %> + + + + <% mt('Account #') |h %> + + +% } % if ( $link eq 'custnum' || $link eq 'popup' ) {