diff options
author | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
commit | c82d349f864e6bd9f96fd1156903bc1f7193a203 (patch) | |
tree | e117a87533656110b6acd56fc0ca64289892a9f5 /eg/part_event-Action-template.pm | |
parent | 74e058c8a010ef6feb539248a550d0bb169c1e94 (diff) |
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'eg/part_event-Action-template.pm')
-rw-r--r-- | eg/part_event-Action-template.pm | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/eg/part_event-Action-template.pm b/eg/part_event-Action-template.pm deleted file mode 100644 index c2f5ba58f..000000000 --- a/eg/part_event-Action-template.pm +++ /dev/null @@ -1,55 +0,0 @@ -package FS::part_event::Action::myaction; - -use strict; - -use base qw( FS::part_event::Action ); - -# see the FS::part_event::Action manpage for full documentation on each -# of the required and optional methods. - -sub description { - 'New action (the author forgot to change this description)'; -} - -#sub eventtable_hashref { -# { 'cust_main' => 1, -# 'cust_bill' => 1, -# 'cust_pkg' => 1, -# }; -#} - -#sub option_fields { -# ( -# 'field' => 'description', -# -# 'another_field' => { 'label'=>'Amount', 'type'=>'money', }, -# -# 'third_field' => { 'label' => 'Types', -# 'type' => 'select', -# 'options' => [ 'h', 's' ], -# 'option_labels' => { 'h' => 'Happy', -# 's' => 'Sad', -# }, -# ); -#} - -#sub default_weight { -# 100; -#} - - -sub do_action { - my( $self, $object ) = @_; - - my $cust_main = $self->cust_main($object); - - my $value_of_field = $self->option('field'); - - #do your action - - #die "Error: $error"; - return 'Null example action completed sucessfully.'; - -} - -1; |