X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_pay.cgi;h=d4414e44e754f98d33275a3f2c5f433bea26cc2a;hb=63973c641c4be00765fa27e55c57cc5b9aa4da19;hp=0bb86e352e4bab0622273a68536f83ba70897fd4;hpb=d0c5ddbd31af8b1747d447f31623e1af05961eb4;p=freeside.git diff --git a/httemplate/edit/cust_pay.cgi b/httemplate/edit/cust_pay.cgi index 0bb86e352..d4414e44e 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' ) {