projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
37e3aa8
)
ACH fixes from s5
author
ivan
<ivan>
Tue, 22 Oct 2002 08:13:06 +0000
(08:13 +0000)
committer
ivan
<ivan>
Tue, 22 Oct 2002 08:13:06 +0000
(08:13 +0000)
FS/FS/part_bill_event.pm
patch
|
blob
|
history
httemplate/edit/part_bill_event.cgi
patch
|
blob
|
history
diff --git
a/FS/FS/part_bill_event.pm
b/FS/FS/part_bill_event.pm
index
991616b
..
e86b5c1
100644
(file)
--- a/
FS/FS/part_bill_event.pm
+++ b/
FS/FS/part_bill_event.pm
@@
-37,7
+37,7
@@
FS::Record. The following fields are currently supported:
=item eventpart - primary key
=item eventpart - primary key
-=item payby - CARD, BILL, or COMP
+=item payby - CARD,
CHEK,
BILL, or COMP
=item event - event name
=item event - event name
@@
-140,7
+140,7
@@
sub check {
}
my $error = $self->ut_numbern('eventpart')
}
my $error = $self->ut_numbern('eventpart')
- || $self->ut_enum('payby', [qw( CARD BILL COMP )] )
+ || $self->ut_enum('payby', [qw( CARD
CHEK
BILL COMP )] )
|| $self->ut_text('event')
|| $self->ut_anything('eventcode')
|| $self->ut_number('seconds')
|| $self->ut_text('event')
|| $self->ut_anything('eventcode')
|| $self->ut_number('seconds')
diff --git
a/httemplate/edit/part_bill_event.cgi
b/httemplate/edit/part_bill_event.cgi
index
5486b18
..
70aca99
100755
(executable)
--- a/
httemplate/edit/part_bill_event.cgi
+++ b/
httemplate/edit/part_bill_event.cgi
@@
-108,6
+108,12
@@
tie my %events, 'Tie::IxHash',
'weight' => 30,
},
'weight' => 30,
},
+ 'realtime-check' => {
+ 'name' => 'Run check with a <a href="http://search.cpan.org/search?mode=module&query=Business%3A%3AOnlinePayment">Business::OnlinePayment</a> realtime gateway',
+ 'code' => '$cust_bill->realtime_ach();',
+ 'weight' => 30,
+ },
+
'batch-card' => {
'name' => 'Add card to the pending credit card batch',
'code' => '$cust_bill->batch_card();',
'batch-card' => {
'name' => 'Add card to the pending credit card batch',
'code' => '$cust_bill->batch_card();',