X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_pay.cgi;h=7a1bb00fae8d806196e3ca5ccf0df4dde52bdaae;hb=8f43e32350b7f8a0925959f747f7296b9b42c09e;hp=cc4ec605dee2e596b5360a72a2d63c14b062a85b;hpb=2ab068f449eb97a10e18d20e9dab5ab9faa017e7;p=freeside.git diff --git a/httemplate/edit/cust_pay.cgi b/httemplate/edit/cust_pay.cgi index cc4ec605d..7a1bb00fa 100755 --- a/httemplate/edit/cust_pay.cgi +++ b/httemplate/edit/cust_pay.cgi @@ -1,12 +1,12 @@ % if ( $link eq 'popup' ) { - <% include('/elements/header-popup.html', $title ) %> + <& /elements/header-popup.html, $title &> % } else { - <% include("/elements/header.html", $title, '') %> + <& /elements/header.html, $title, '' &> % } -<% include('/elements/init_calendar.html') %> +<& /elements/init_calendar.html &> -<% include('/elements/error.html') %> +<& /elements/error.html &> % unless ( $link eq 'popup' ) { <% small_custview($custnum, $conf->config('countrydefault')) %> @@ -18,16 +18,16 @@ -

+
-Payment +<% mt('Payment') |h %> <% ntable("#cccccc", 2) %> - Date + <% mt('Date') |h %> - + @@ -41,31 +41,58 @@ Payment - Amount + <% mt('Amount') |h %> <% $money_char %> - by <% FS::payby->payname($payby) %> + <% mt('by') |h %> <% mt(FS::payby->payname($payby)) |h %> + <& /elements/tr-select-discount_term.html, + 'custnum' => $custnum, + 'amount_id' => 'paid', + &> + % if ( $payby eq 'BILL' ) { - Check # + <% 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' ) { - Auto-apply
to invoices + <% mt('Auto-apply to invoices') |h %> +