projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding line 246 "edit global pockage definitions costs" back in
[freeside.git]
/
FS
/
FS
/
part_event
/
Action
/
cust_bill_send.pm
diff --git
a/FS/FS/part_event/Action/cust_bill_send.pm
b/FS/FS/part_event/Action/cust_bill_send.pm
index
587a7c6
..
c6928dc
100644
(file)
--- a/
FS/FS/part_event/Action/cust_bill_send.pm
+++ b/
FS/FS/part_event/Action/cust_bill_send.pm
@@
-9,11
+9,20
@@
sub eventtable_hashref {
{ 'cust_bill' => 1 };
}
{ 'cust_bill' => 1 };
}
+sub option_fields {
+ (
+ 'modenum' => { label => 'Invoice mode',
+ type => 'select-invoice_mode',
+ },
+ );
+}
+
sub default_weight { 50; }
sub do_action {
my( $self, $cust_bill ) = @_;
sub default_weight { 50; }
sub do_action {
my( $self, $cust_bill ) = @_;
+ $cust_bill->set('mode' => $self->option('modenum'));
$cust_bill->send;
}
$cust_bill->send;
}