X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Fpayment.cgi;h=80cb15d79f1092675e04c40cfb06538bf0c43b76;hp=7bf1713ff1c2d08736808b8723f1345c44b4a217;hb=360f89789c45e1fd7cb84b1442d2f0c8353066d9;hpb=ca2f12276eb88b2e71762c76974ae564f008b8c1 diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi index 7bf1713ff..80cb15d79 100644 --- a/httemplate/misc/payment.cgi +++ b/httemplate/misc/payment.cgi @@ -14,7 +14,7 @@ <& /elements/tr-select-payment_options.html, 'custnum' => $cust_main->custnum, - 'amount' => $amount, + 'amount' => $balance, 'process-pkgpart' => scalar($conf->config('manual_process-pkgpart', $cust_main->agentnum)), 'process-display' => scalar($conf->config('manual_process-display')), @@ -25,6 +25,11 @@ ? scalar($conf->config('credit-card-surcharge-percentage', $cust_main->agentnum)) : 0 ), + 'surcharge_flatfee' => + ( $payby eq 'CARD' + ? scalar($conf->config('credit-card-surcharge-flatfee', $cust_main->agentnum)) + : 0 + ), &> % if ( $conf->exists('part_pkg-term_discounts') ) { @@ -130,178 +135,10 @@ function change_batch_checkbox () { >
<% mt('Card number') |h %> | -
-
|
- |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
<% mt('CVV2') |h %> | -- (<% mt('help') |h %>) - | -|||||||||||
<% mt('Exact name on card') |h %> | -- | |||||||||||
<% mt('Account number') |h %> | -- | <% mt('Type') |h %> | -- | |||||||||
<% mt($routing_label) |h %> | -- - (<% mt('help') |h %>) - | -|||||||||||
<% mt('Branch number') |h %> | -- - | -|||||||||||
<% mt('Bank name') |h %> | -- | |||||||||||
<% mt('Bank state') |h %> | -<& /elements/select-state.html, - 'disable_empty' => 0, - 'empty_label' => emt('(choose)'), - 'state' => $paystate, - 'country' => $cust_main->country, - 'prefix' => 'pay', - &> - | -|||||||||||
- <% mt('Account holder') |h %> - <% mt('Social security or tax ID #') |h %> - |
- - | |||||||||||
- <% mt('Account holder') |h %> - <% mt("Driver's license or state ID #") |h %> - |
- - | <% mt('State') |h %> | -<& /elements/select-state.html, - 'disable_empty' => 0, - 'empty_label' => emt('(choose)'), - 'state' => $stateid_state, - 'country' => $cust_main->country, - 'prefix' => 'stateid_', - &> - | -|||||||||
- - <% mt('Remember this information') |h %> - | -||||||||||||
- NAME="auto" VALUE="1" onClick="if (this.checked) { document.OneTrueForm.save.checked=true; }"> - <% mt("Charge future payments to this [_1] automatically",$type{$payby}) |h %> -% if ( @cust_payby ) { - <% mt('as') |h %> - -% } else { - -% } - | -