projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git]
/
FS
/
FS
/
part_export
/
send_email.pm
diff --git
a/FS/FS/part_export/send_email.pm
b/FS/FS/part_export/send_email.pm
index
1fcb828
..
9afc254
100644
(file)
--- a/
FS/FS/part_export/send_email.pm
+++ b/
FS/FS/part_export/send_email.pm
@@
-6,7
+6,6
@@
use FS::part_export;
use FS::Record qw(qsearch qsearchs);
use FS::Conf;
use FS::msg_template;
use FS::Record qw(qsearch qsearchs);
use FS::Conf;
use FS::msg_template;
-use FS::Misc qw(send_email);
@ISA = qw(FS::part_export);
@ISA = qw(FS::part_export);
@@
-18,12
+17,13
@@
my %template_select = (
$templates{$_[0]};
},
option_values => sub {
$templates{$_[0]};
},
option_values => sub {
- %templates = (0 => '',
+ %templates = (
+ 0 => '',
map { $_->msgnum, $_->msgname }
map { $_->msgnum, $_->msgname }
-
qsearch({ table
=> 'msg_template',
-
hashref => { disabled => 1
},
- order_by => 'ORDER BY msgnum ASC'
- })
+
qsearch({ table
=> 'msg_template',
+
hashref => { disabled => '',
},
+
order_by => 'ORDER BY msgnum ASC'
+
})
);
sort keys (%templates);
},
);
sort keys (%templates);
},
@@
-80,7
+80,7
@@
tie my %options, 'Tie::IxHash', (
);
%info = (
);
%info = (
- 'svc' => [qw( svc_acct svc_broadband svc_phone svc_domain )],
+ 'svc' => [qw( svc_acct svc_
hardware svc_
broadband svc_phone svc_domain )],
'desc' =>
'Send an email message',
'options' => \%options,
'desc' =>
'Send an email message',
'options' => \%options,