projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d20de9
)
agent-virt batches and batchconfig-eftcanada config (argh!), RT#14859
author
ivan
<ivan>
Fri, 21 Oct 2011 23:21:53 +0000
(23:21 +0000)
committer
ivan
<ivan>
Fri, 21 Oct 2011 23:21:53 +0000
(23:21 +0000)
FS/FS/pay_batch.pm
patch
|
blob
|
history
diff --git
a/FS/FS/pay_batch.pm
b/FS/FS/pay_batch.pm
index
bde8fdb
..
bb92bdf
100644
(file)
--- a/
FS/FS/pay_batch.pm
+++ b/
FS/FS/pay_batch.pm
@@
-122,6
+122,16
@@
sub check {
$self->SUPER::check;
}
+=item agent
+
+Returns the L<FS::agent> object for this template.
+
+=cut
+
+sub agent {
+ qsearchs('agent', { 'agentnum' => $_[0]->agentnum });
+}
+
=item rebalance
=cut