'num_payments' => scalar($cust_main->cust_pay),
'surcharge_percentage' =>
( $payby eq 'CARD'
- ? scalar($conf->config('credit-card-surcharge-percentage'))
+ ? scalar($conf->config('credit-card-surcharge-percentage', $cust_main->agentnum))
: 0
),
&>
<TR ID="apply_box_row">
<TH ALIGN="right"><% mt('Auto-apply to invoices') |h %></TH>
- <TD COLSPAN=2>
+ <TD>
<SELECT NAME="apply" ID="apply_box">
<OPTION VALUE="yes" SELECTED><% mt('yes') |h %></OPTION>
<OPTION VALUE=""><% mt('not now') |h %></OPTION>