<& /elements/tr-select-reason.html,
'field' => 'reasonnum',
'reason_class' => 'F',
- 'control_button' => "document.getElementById('confirm_refund_button')",
+ 'control_button' => "confirm_refund_button",
'cgi' => $cgi,
&>
my $link = $cgi->param('popup') ? 'popup' : '';
my @rights = ();
-push @rights, 'Post refund' if $payby =~ /^(BILL|CASH|MCRD)$/;
+push @rights, 'Post refund' if $payby =~ /^(BILL|CASH|MCRD|MCHK)$/;
push @rights, 'Post check refund' if $payby eq 'BILL';
push @rights, 'Post cash refund ' if $payby eq 'CASH';
push @rights, 'Refund payment' if $payby =~ /^(CARD|CHEK)$/;