my( $cust_pay, %opt ) = @_;
+my $conf = new FS::Conf;
my $curuser = $FS::CurrentUser::CurrentUser;
my $payby = $cust_pay->payby;
$desc .= ' for '. $cust_pkg->pkg_label_long;
}
+my %cust_bill_pay_width = ('width' => 392);
+my %cust_bill_pay_height = ();
+if ($conf->exists('cust_bill_pay_pkg-manual')) {
+ %cust_bill_pay_width = ('width' => 592);
+ %cust_bill_pay_height = ('height' => 436);
+}
+
my( $pre, $post, $apply, $ext ) = ( '', '', '', '' );
if ( scalar(@cust_bill_pay) == 0
&& scalar(@cust_pay_refund) == 0 ) {
'action' => "${p}edit/cust_bill_pay.cgi?".
$cust_pay->paynum,
'actionlabel' => 'Apply payment',
- 'width' => 392,
- #default# 'height' => 336,
+ %cust_bill_pay_width,
+ %cust_bill_pay_height,
).
')';
}
'action' => "${p}edit/cust_bill_pay.cgi?".
$cust_pay->paynum,
'actionlabel' => 'Apply payment',
- 'width' => 392,
- #default# 'height' => 336,
+ %cust_bill_pay_width,
+ %cust_bill_pay_height,
).
')';
}